GNU TeXmacsUser manualReferenceAboutEnglish·中文
Specification of style properties

Each of the fundamental types of graphical objects also admits a certain number of style properties which affect the rendering. The following style properties exist:

Color
This property applies to any of the graphical object types and specifies the color.
Fill color
This property applies to all graphical object types except text and mathematics. It specifies a fill color for the object.

Figure 1. Examples of a few closed splines with different colors and fill colors.

Opacity
This property also applies to any of the graphical object types and specifies an opacity between 0% and 100%. The default is 100% and lower opacities will make the object more transparent.

Figure 2. Examples of the same object with increasing opacities on top of another object.

Point style
A few different point styles are supported for displaying points: solid disks, round circles and squares.

Figure 3. The different point styles for black color and red fill color.

Line width
The line width property applies to all curves (that is, to broken lines, polygons, splines, closed splines, arcs and circles). By default it is 1ln, the width of the fraction bar in mathematical formulas, but any TeXmacs length unit can be used instead.

Figure 4. The same curve using different line widths.

Line dashes
Various dash styles are available for curves in Focus\(\rightarrow\)Line dashes.

Figure 5. The same curve using different dashing styles.

Line arrows
Various arrows at the ends of curves are supported in Focus\(\rightarrow\)Line arrows.

Figure 6. The same segment using different types of arrows at the extremities.

Text alignment
For textual and mathematical boxes, its is possible to specify the horizontal and vertical alignment properties, as indicated in the figure below:

Figure 7. Illustration of horizontal and vertical alignment of text boxes.

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