Next: Overview of text markup list commands, Previous: Page wrapping text, Up: Text
The following commands can all be used inside \markup { }.
\arrow-head axis (integer) direction (direction) filled (boolean)\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)\caps arg (markup)\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)\concat args (list of markups)\concat { "f" \simple #"i" } is
equivalent to "fi".
\dir-column args (list of markups)#'direction layout property.
\doubleflat\doublesharp\draw-circle radius (number) thickness (number) fill (boolean)\draw-line dest (pair of numbers)thickness property.
\dynamic arg (markup)\epsfile axis (number) size (number) file-name (string)\fill-line markups (list of markups)\filled-box xext (pair of numbers) yext (pair of numbers) blot (number)
\filled-box #'(-.3 . 1.8) #'(-.3 . 1.8) #0
creates a box extending horizontally from -0.3 to 1.8 and
vertically from -0.3 up to 1.8, with corners formed from a
circle of diameter 0 (i.e. sharp corners).
\finger arg (markup)\flat\fontCaps arg (markup)font-shape to caps.
\fontsize increment (number) arg (markup)\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:
s:number – Set the fret spacing of the diagram (in staff
spaces).
Default: 1.
t:number – Set the line thickness (in staff spaces).
Default: 0.05.
h:number – Set the height of the diagram in frets.
Default: 4.
w:number – Set the width of the diagram in strings.
Default: 6.
f:number – Set fingering label type
(0 = none, 1 = in circle on string, 2 = below string).
Default: 0.
d:number – Set radius of dot, in terms of fret spacing.
Default: 0.25.
p:number – Set the position of the dot in the fret space.
0.5 is centered; 1 is on lower fret bar, 0 is on upper fret bar.
Default: 0.6.
c:string1-string2-fret – Include a
barre mark from string1 to string2 on fret.
-fret – Place a dot on string at fret.
If fret is `o', string is identified as open.
If fret is `x', string is identified as muted.
-fret-fingering – Place a dot on
string at fret, and label with fingering as defined
by the f: code.
\fret-diagram-terse definition-string (string)Here an example
\markup \fret-diagram-terse #"x;x;o;2;3;2;"
for a D chord diagram.
Syntax rules for definition-string:
-,
followed by the finger indicator, e.g. `3-2' for playing the third
fret with the second finger.
-( to start a barre and -) to end the barre.
\fret-diagram-verbose marking-list (list)For example,
\markup \fret-diagram-verbose
#'((mute 6) (mute 5) (open 4)
(place-fret 3 2) (place-fret 2 3) (place-fret 1 2))
produces a standard D chord diagram without fingering indications.
Possible elements in marking-list:
(mute string-number)(open string-number)(barre start-string end-string fret-number)(place-fret string-number fret-number finger-value)place-fret element is present,
finger-value will be displayed according to the setting of the
variable finger-code. There is no limit to the number of fret
indications per string.
\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 inbetween interpolate
alignment accordingly.
\hbracket arg (markup)\hcenter-in length (number) arg (markup)\hcenter arg (markup)arg to its X center.
\hspace amount (number) \markup { A \hspace #2.0 B }
puts 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.
\justify-field symbol (symbol)\justify args (list of markups)\override #'(line-width . X) to set the line width;
X is the number of staff spaces.
\justify-string arg (string)\large arg (markup)\larger 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)\raise.
\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)\medium arg (markup)\musicglyph glyph-name (string)\musicglyph #"accidentals.natural" selects 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"
\pad-around amount (number) arg (markup)\pad-markup padding (number) arg (markup)\pad-to-box x-ext (pair of numbers) y-ext (pair of numbers) arg (markup)\pad-x amount (number) arg (markup)\page-ref label (symbol) gauge (markup) default (markup)\label command), gauge a markup used to estimate
the maximum width of the page number, and default the value to display
when label is not found.
\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
\put-adjacent arg1 (markup) axis (integer) dir (direction) arg2 (markup)\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.
\rotate ang (number) arg (markup)\sans arg (markup)\score score (unknown)\semiflat\semisharp\sesquiflat\sesquisharp\sharp\simple str (string)\markup { foo } is equivalent with
\markup { \simple #"foo" }.
\slashed-digit num (integer)\small arg (markup)\smallCaps text (markup)text, which should be a string, to small caps.
\markup \smallCaps "Text between double quotes"
\smaller arg (markup)\stencil stil (unknown)\strut\sub arg (markup)\super arg (markup)\super and
\sub:
c1^\markup { E "=" \concat { "mc" \super "2" } }
\teeny arg (markup)\text arg (markup)\tied-lyric str (string)\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.
\translate-scaled offset (pair of numbers) arg (markup)font-size.
\transparent arg (markup)\triangle filled (boolean)\typewriter arg (markup)font-family typewriter for arg.
\upright arg (markup)upright. This is the opposite of italic.
\vcenter arg (markup)arg to its Y center.
\verbatim-file name (string)\whiteout arg (markup)\with-color color (list) arg (markup)\with-dimensions x (pair of numbers) y (pair of numbers) arg (markup)\with-url url (string) arg (markup)\wordwrap-field symbol (symbol)\wordwrap args (list of markups)\override #'(line-width . X) to set
the line width, where X is the number of staff spaces.
\wordwrap-string arg (string)Next: Overview of text markup list commands, Previous: Page wrapping text, Up: Text
Diese Seite ist für LilyPond-2.11.28 (Entwicklungszweig).
Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.
Your suggestions for the documentation are welcome.