| [ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
| [ < Text markup commands ] | [ Up : Text markup commands ] | [ Align > ] | ||
A.9.1 Font
-
\abs-fontsizesize (number) arg (markup) -
Use size as the absolute font size to display arg. Adjusts
baseline-skipandword-spaceaccordingly.\markup { default text font size \hspace #2 \abs-fontsize #16 { text font size 16 } \hspace #2 \abs-fontsize #12 { text font size 12 } } -
\boldarg (markup) -
Switch to bold font-series.
\markup { default \hspace #2 \bold bold } -
\boxarg (markup) -
Draw a box round arg. Looks at
thickness,box-paddingandfont-sizeproperties to determine line thickness and padding around the markup.\markup { \override #'(box-padding . 0.5) \box \line { V. S. } }Used properties:
-
box-padding(0.2) -
font-size(0) -
thickness(1)
-
-
\capsarg (markup) -
Copy of the
\smallCapscommand.\markup { default \hspace #2 \caps { Text in small caps } } -
\dynamicarg (markup) -
Use the dynamic font. This font only contains s, f, m, z, p, and r. When producing phrases, like ‘più f’, the normal words (like ‘più’) should be done in a different font. The recommended font for this is bold and italic.
\markup { \dynamic { sfzp } } -
\fingerarg (markup) -
Set arg as small numbers.
\markup { \finger { 1 2 3 4 5 } } -
\fontCapsarg (markup) -
Set
font-shapetocapsNote:
\fontCapsrequires the installation and selection of fonts which support thecapsfont shape. -
\fontsizeincrement (number) arg (markup) -
Add increment to the font-size. Adjusts
baseline-skipaccordingly.\markup { default \hspace #2 \fontsize #-1.5 smaller }Used properties:
-
baseline-skip(2) -
word-space(1) -
font-size(0)
-
-
\hugearg (markup) -
Set font size to +2.
\markup { default \hspace #2 \huge huge } -
\italicarg (markup) -
Use italic
font-shapefor arg.\markup { default \hspace #2 \italic italic } -
\largearg (markup) -
Set font size to +1.
\markup { default \hspace #2 \large large } -
\largerarg (markup) -
Increase the font size relative to the current setting.
\markup { default \hspace #2 \larger larger } -
\magnifysz (number) arg (markup) -
Set the font magnification for its argument. In the following example, the middle A is 10% larger:
A \magnify #1.1 { A } ANote: Magnification only works if a font name is explicitly selected. Use
\fontsizeotherwise.\markup { default \hspace #2 \magnify #1.5 { 50% larger } } -
\mediumarg (markup) -
Switch to medium font-series (in contrast to bold).
\markup { \bold { some bold text \hspace #2 \medium { medium font series } \hspace #2 bold again } } -
\normal-size-subarg (markup) -
Set arg in subscript with a normal font size.
\markup { default \normal-size-sub { subscript in standard size } }Used properties:
-
baseline-skip
-
-
\normal-size-superarg (markup) -
Set arg in superscript with a normal font size.
\markup { default \normal-size-super { superscript in standard size } }Used properties:
-
baseline-skip
-
-
\normal-textarg (markup) -
Set all font related properties (except the size) to get the default normal text font, no matter what font was used earlier.
\markup { \huge \bold \sans \caps { Some text with font overrides \hspace #2 \normal-text { Default text, same font-size } \hspace #2 More text as before } } -
\normalsizearg (markup) -
Set font size to default.
\markup { \teeny { this is very small \hspace #2 \normalsize { normal size } \hspace #2 teeny again } } -
\numberarg (markup) -
Set font family to
number, which yields the font used for time signatures and fingerings. This font contains numbers and some punctuation; it has no letters.\markup { \number { 0 1 2 3 4 5 6 7 8 9 . , } } -
\romanarg (markup) -
Set font family to
roman.\markup { \sans \bold { sans serif, bold \hspace #2 \roman { text in roman font family } \hspace #2 return to sans } } -
\sansarg (markup) -
Switch to the sans serif font family.
\markup { default \hspace #2 \sans { sans serif } } -
\simplestr (string) -
A simple text string;
\markup { foo }is equivalent with\markup { \simple #"foo" }.Note: for creating standard text markup or defining new markup commands, the use of
\simpleis unnecessary.\markup { \simple #"simple" \simple #"text" \simple #"strings" } -
\smallarg (markup) -
Set font size to -1.
\markup { default \hspace #2 \small small } -
\smallCapsarg (markup) -
Emit arg as small caps.
Note:
\smallCapsdoes not support accented characters.\markup { default \hspace #2 \smallCaps { Text in small caps } } -
\smallerarg (markup) -
Decrease the font size relative to the current setting.
\markup { \fontsize #3.5 { some large text \hspace #2 \smaller { a bit smaller } \hspace #2 more large text } } -
\subarg (markup) -
Set arg in subscript.
\markup { \concat { H \sub { 2 } O } }Used properties:
-
baseline-skip -
font-size(0)
-
-
\superarg (markup) -
Set arg in superscript.
\markup { E = \concat { mc \super 2 } }Used properties:
-
baseline-skip -
font-size(0)
-
-
\teenyarg (markup) -
Set font size to -3.
\markup { default \hspace #2 \teeny teeny } -
\textarg (markup) -
Use a text font instead of music symbol or music alphabet font.
\markup { \number { 1, 2, \text { three, four, } 5 } } -
\tinyarg (markup) -
Set font size to -2.
\markup { default \hspace #2 \tiny tiny } -
\typewriterarg (markup) -
Use
font-familytypewriter for arg.\markup { default \hspace #2 \typewriter typewriter } -
\underlinearg (markup) -
Underline arg. Looks at
thicknessto determine line thickness, andoffsetto determine line y-offset.\markup \fill-line { \underline "underlined" \override #'(offset . 5) \override #'(thickness . 1) \underline "underlined" \override #'(offset . 1) \override #'(thickness . 5) \underline "underlined" }Used properties:
-
offset(2) -
thickness(1)
-
-
\uprightarg (markup) -
Set
font-shapetoupright. This is the opposite ofitalic.\markup { \italic { italic text \hspace #2 \upright { upright text } \hspace #2 italic again } }
| [ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
| [ < Text markup commands ] | [ Up : Text markup commands ] | [ Align > ] | ||