Cut and paste

You can select text and formulas by maintaining the left mouse button. In order to delete the selected region, use EditCut. In order to copy the selected region, first click on EditCopy. Next, paste it as many times as you want to the location of your cursor, using EditPaste. 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 the left mouse button and click on TextColorRed. Similarly, if you select a formula and you click on InsertMathematicsFraction, then the formula becomes the numerator of some fraction.

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 EditImport resp. EditExport. By default, copying and pasting uses the primary text buffer. Using EditCopy to and EditPaste from, you may specify as many other buffers as you like.

There are two ways to make selections using the keyboard. When using the cursor keys left, right, etc. while holding down the shift button, you may select text while moving around the cursor. Alternatively, you may press C-space once to fix a starting position. When moving around using the cursor keys, the text between the starting position and the current position keeps being selected. The selection gets cleared when pressing C-g.

Notice that the C-space shortcut also allows you to make structured selections. You may select the current word you are in by pressing C-space twice. Each additional time you press C-space results in the selection of the smallest structure which englobes the current selection. Ultimately, when the entire document gets selected, pressing C-space once more clears the selection.

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".