The following commands can all be used inside \markup { }.
\beam width (number) slope (number) thickness (number)\bigger arg (markup)\bold arg (markup)\box arg (markup)thickness,
box-padding and font-size properties to determine line
thickness and padding around the markup.
\bracket arg (markup)\bracketed-y-column indices (list) args (list of markups)\caps arg (markup)font-shape to caps.
\center-align args (list of markups)args in a centered column.
\char num (integer)\char #65 produces the
letter 'A'.
\circle arg (markup)thickness,
circle-padding and font-size properties to determine line
thickness and padding around the markup.
\column args (list of markups)baseline-skip determines the space between each markup in args.
\combine m1 (markup) m2 (markup)\dir-column args (list of markups)#'direction layout property.
\doubleflat\doublesharp\draw-circle radius (number) thickness (number) fill (boolean)\dynamic arg (markup)\encoded-simple sym (symbol) str (string)\epsfile file-name (string)\fill-line markups (list of markups)\filled-box xext (pair of numbers) yext (pair of numbers) blot (number)\finger arg (markup)\flat\fontsize increment (number) arg (markup)\fontsize mag (number) arg (markup) A \fontsize #2 { B C } D
This will enlarge the B and the C by two steps.
\fraction arg1 (markup) arg2 (markup)\fret-diagram definition-string (string)\markup \fret-diagram #"s:0.75;6-x;5-x;4-o;3-2;2-3;1-2;"
for fret spacing 3/4 of staff space, D chord diagram
Syntax rules for definition-string:
\fret-diagram-terse definition-string (string)Example
\markup \fret-diagram-terse #"x;x;o;2;3;2;"
for a D chord diagram.
Syntax rules for definition-string:
\fret-diagram-verbose marking-list (list)For example,
\markup \fret-diagram #'((mute 6) (mute 5) (open 4)
(place-fret 3 2) (place-fret 2 3) (place-fret 1 2))
will produce a standard D chord diagram without fingering indications.
Possible elements in marking-list:
\fromproperty symbol (symbol)\general-align axis (integer) dir (number) arg (markup)\halign dir (number) arg (markup)-1, then it is
left-aligned, while +1 is right. Values in between interpolate
alignment accordingly.
\hbracket arg (markup)\hcenter arg (markup)arg to its X center.
\hspace amount (number) \markup { A \hspace #2.0 B }
will put extra space between A and B, on top of the space that is
normally inserted before elements on a line.
\huge arg (markup)\italic arg (markup)font-shape for arg.
\large arg (markup)\left-align arg (markup)\line args (list of markups)word-space
determines the space between each markup in args.
\lookup glyph-name (string)\lower amount (number) arg (markup)
aise.
\magnify sz (number) arg (markup) A \magnify #1.1 { A } A
Note: magnification only works if a font-name is explicitly selected.
Use \fontsize otherwise.
\markalphabet num (integer)\markletter num (integer)\musicglyph glyph-name (string)\musicglyph
#"accidentals.0" will select the natural sign from the music font.
See The Feta font for a complete listing of the possible glyphs.
\natural\normal-size-sub arg (markup)\normal-size-super arg (markup)\normal-text arg (markup)\normalsize arg (markup)\note-by-number log (number) dot-count (number) dir (number)\note duration (string) dir (number)\note #"4." #-0.75 creates a dotted quarter note, with
a shortened down stem.
\null\number arg (markup)number, which yields the font used for
time signatures and fingerings. This font only contains numbers and
some punctuation. It doesn't have any letters.
\on-the-fly procedure (symbol) arg (markup)\override new-prop (pair) arg (markup)
\override #'(font-family . married) "bla"
\postscript str (string)-f.
For the TeX backend, the following string prints a rotated text
0 0 moveto /ecrm10 findfont
1.75 scalefont setfont 90 rotate (hello) show
The magical constant 1.75 scales from LilyPond units (staff spaces) to TeX dimensions.
For the postscript backend, use the following
gsave /ecrm10 findfont
10.0 output-scale div
scalefont setfont 90 rotate (hello) show grestore
\raise amount (number) arg (markup)\lower.
c1^\markup { C \small \raise #1.0 \bold { "9/7+" }}
The argument to \raise is the vertical displacement amount,
measured in (global) staff spaces. \raise and \super
raise objects in relation to their surrounding markups.
If the text object itself is positioned above or below the staff, then
\raise cannot be used to move it, since the mechanism that
positions it next to the staff cancels any shift made with
\raise. For vertical positioning, use the padding
and/or extra-offset properties.
\right-align arg (markup)\roman arg (markup)roman.
\sans arg (markup)\score score (unknown)\semiflat\semisharp\sesquiflat\sesquisharp\sharp\simple str (string)\markup { foo } is equivalent with
\markup { \simple #"foo" }.
\small arg (markup)\smaller arg (markup)\stencil stil (unknown)\strut\sub arg (markup)\super arg (markup)Raising and lowering texts can be done with \super and
\sub:
c1^\markup { E "=" mc \super "2" }
\teeny arg (markup)\tiny arg (markup)\translate offset (pair of numbers) arg (markup) A \translate #(cons 2 -3) { B C } D
This moves `B C' 2 spaces to the right, and 3 down, relative to its
surroundings. This command cannot be used to move isolated scripts
vertically, for the same reason that \raise cannot be used for
that.
\triangle filled (boolean)\typewriter arg (markup)font-family typewriter for arg.
\upright arg (markup)upright.
\vcenter arg (markup)arg to its Y center.
\whiteout arg (markup)\with-color color (list) arg (markup)\with-url url (string) arg (markup)
This page is for LilyPond-2.6.6 (stable-branch).