Variables. Variables can be used for values that are used in multiple style definitions. This example declares a number of typefaces to allow easily replacing the fonts in a style sheet: mono_typeface=TeX Gyre Cursor serif_typeface=TeX Gyre ▇▇▇▇▇▇▇ sans_typeface=Tex Gyre Heros thin_black_stroke=0.5pt,#000 blue=#20435c It also defines the thin_black_stroke line style for use in table and frame styles, and a specific color labelled blue. These variables can be referenced in style definitions as follows: [code block] typeface=$(mono_typeface) font_size=9pt text_align=LEFT indent_first=0 space_above=6pt space_below=4pt border=$(thin_black_stroke) padding_left=5pt padding_top=1pt padding_bottom=3pt Another stylesheet can inherit (see below) from this one and easily replace fonts in the docu- ment by overriding the variables.
Appears in 2 contracts
Sources: User Manual, User Manual
Variables. Variables can be used for values that are used in multiple style definitionsdefinitions. This example declares a number of typefaces to allow easily replacing the fonts in a style sheet: mono_typeface=TeX Gyre Cursor serif_typeface=TeX Gyre ▇▇▇▇▇▇▇ sans_typeface=Tex Gyre Heros thin_black_stroke=0.5pt,#000 blue=#20435c It also defines defines the thin_black_stroke line style for use in table and frame styles, and a specific specific color labelled blue. These variables can be referenced in style definitions definitions as follows: [code block] typeface=$(mono_typeface) font_size=9pt text_align=LEFT indent_first=0 space_above=6pt space_below=4pt border=$(thin_black_stroke) padding_left=5pt padding_top=1pt padding_bottom=3pt Another stylesheet can inherit (see below) from this one and easily replace fonts in the docu- ment by overriding the variables.
Appears in 1 contract
Sources: User Manual