2017-07-06 21:53:54 +08:00
|
|
|
<TeXmacs|1.99.5>
|
2011-08-28 15:59:50 +08:00
|
|
|
|
2017-07-06 21:53:54 +08:00
|
|
|
<style|<tuple|tmdoc|english>>
|
2011-08-28 15:59:50 +08:00
|
|
|
|
|
|
|
<\body>
|
|
|
|
<tmdoc-title|Cut and paste>
|
|
|
|
|
|
|
|
You can select text and formulas by maintaining the left mouse button. In
|
|
|
|
order to delete the selected region, use <menu|Edit|Cut>. In order to copy
|
|
|
|
the selected region, first click on <menu|Edit|Copy>. Next, paste it as
|
|
|
|
many times as you want to the location of your cursor, using
|
|
|
|
<menu|Edit|Paste>. Alternatively, you may copy a selected region using the
|
|
|
|
middle mouse button.
|
|
|
|
|
|
|
|
It is also possible to the change text properties of a selected region. For
|
|
|
|
instance, in order to transform some black text in red, you select it using
|
2017-07-06 21:53:54 +08:00
|
|
|
the left mouse button and click on <menu|Format|Color|Red>. Similarly, if
|
|
|
|
you select a formula and you click on <menu|Insert|Fraction>, then the
|
|
|
|
formula becomes the numerator of some fraction.
|
2011-08-28 15:59:50 +08:00
|
|
|
|
|
|
|
When using the copy and paste mechanism to communicate with other
|
|
|
|
applications, text is copied and pasted using the <TeXmacs> data format.
|
|
|
|
You may specify other import and export formats using <menu|Edit|Import>
|
|
|
|
resp. <menu|Edit|Export>. By default, copying and pasting uses the primary
|
|
|
|
text buffer. Using <menu|Edit|Copy to> and <menu|Edit|Paste from>, you may
|
|
|
|
specify as many other buffers as you like.
|
|
|
|
|
|
|
|
There are two ways to make selections using the keyboard. When using the
|
2017-07-06 21:53:54 +08:00
|
|
|
cursor keys <key|left>, <key|right>, <abbr|etc.> while holding down the
|
|
|
|
<prefix|S-> button, you may select text while moving around the cursor.
|
|
|
|
Alternatively, you may press <shortcut|(kbd-select-enlarge)> once to fix a
|
2011-08-28 15:59:50 +08:00
|
|
|
starting position. When moving around using the cursor keys, the text
|
|
|
|
between the starting position and the current position keeps being
|
2017-07-06 21:53:54 +08:00
|
|
|
selected. The selection gets cleared when pressing
|
|
|
|
<shortcut|(selection-cancel)>.
|
2011-08-28 15:59:50 +08:00
|
|
|
|
2017-07-06 21:53:54 +08:00
|
|
|
Notice that the <shortcut|(kbd-select-enlarge)> shortcut also allows you to
|
|
|
|
make <em|structured selections>. You may select the current word you are in
|
|
|
|
by pressing<nbsp><shortcut|(kbd-select-enlarge)> twice. Each additional
|
|
|
|
time you press <shortcut|(kbd-select-enlarge)> results in the selection of
|
|
|
|
the smallest structure that englobes the current selection. Ultimately,
|
|
|
|
when the entire document gets selected, pressing
|
|
|
|
<shortcut|(kbd-select-enlarge)> once more clears the selection.
|
2011-08-28 15:59:50 +08:00
|
|
|
|
|
|
|
<tmdoc-copyright|1998--2002|Joris van der Hoeven>
|
|
|
|
|
|
|
|
<tmdoc-license|Permission is granted to copy, distribute and/or modify this
|
|
|
|
document under the terms of the GNU Free Documentation License, Version 1.1
|
|
|
|
or any later version published by the Free Software Foundation; with no
|
|
|
|
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
|
|
|
Texts. A copy of the license is included in the section entitled "GNU Free
|
|
|
|
Documentation License".>
|
|
|
|
</body>
|
|
|
|
|
2017-07-06 21:53:54 +08:00
|
|
|
<initial|<\collection>
|
|
|
|
</collection>>
|