GNU TeXmacsUser manualReferenceAboutEnglish·中文
Starting a new picture

You may start drawing a new picture using Insert\(\rightarrow\)Image\(\rightarrow\)Draw image. In some cases, you may also want to draw something on top of an existing image (or other kinds of content). This can be done by selecting the image or content on top of which you want to draw, and then click on Insert\(\rightarrow\)Image\(\rightarrow\)Draw over selection.

By default, the inserted image spans over the whole paragraph. You may adjust its size using the keyboard shortcuts ⌥←, ⌥→, ⌥↑, ⌥↓ (to adjust the size a bit faster, you may use ⌥⇧←, ⌥⇧→, ⌥⇧↑, ⌥⇧↓). You may also specify an explicit size using Insert\(\rightarrow\)Geometry\(\rightarrow\)Size. After completion of your drawing, you may automatically crop the size of your picture to its actual size (plus some additional padding), using Insert\(\rightarrow\)Geometry\(\rightarrow\)Crop.

For technical pictures, it is often useful to display a grid while you are drawing. This can be done using Insert\(\rightarrow\)Grid\(\rightarrow\)Type\(\rightarrow\)Cartesian. In the menu Insert\(\rightarrow\)Grid it is also possible to adjust the colors of the axes and the grid-lines, as well as the number of subunit grid-lines per unit grid-line. By default, grids will also be printed; you need to remove them after completing your drawing if you do not want this.

By default, TeXmacs places the origin of the grid at the center of the screen and uses a 1cm unit. You may scroll the picture using the arrow keys ←, →, ↑, ↓ (or ⇧←, ⇧→, ⇧↑, ⇧↓ if you want to move fast). You may specify a different unit using the Insert\(\rightarrow\)Geometry\(\rightarrow\)Unit menu. You may also zoom in and out using + and -, or from the Insert\(\rightarrow\)Geometry\(\rightarrow\)Zoom menu.

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