that the command only apply to the first following word; enclose a set
of texts with braces to apply a command to more words.
@example
- \markup { \bold { hi there } }
+ \markup @{ \bold @{ hi there @} @}
@end example
For clarity, you can also do this for single arguments, e.g.
@example
- \markup { is \italic { anyone } home }
+ \markup @{ is \italic @{ anyone @} home @}
@end example
@cindex font size, texts
@item \small
@item \large
@item \huge
-@end \itemize
+@end table
+
You can also make letter larger or smaller relative to their neighbors,
with the commands @code{\larger} and @code{\smaller}.
@cindex smaller
@cindex \hspace
This produces a invisible object taking horizontal space.
@example
-\markup { A \hspace #2.0 B }
+\markup @{ A \hspace #2.0 B @}
@end example
will put extra space between A and B. Note that lilypond
inserts space before and after @code{\hspace}.
@cindex \fontsize
This sets the relative font size, eg.
@example
-A \fontsize #2 { B C } D
+A \fontsize #2 @{ B C @} D
@end example
This will enlarge the B and the C by two steps.
@cindex \translate
This translates an object. It's first argument is a cons of numbers
@example
-A \translate #(cons 2 -3) { B C } D
+A \translate #(cons 2 -3) @{ B C @} D
@end example
This moves `B C' 2 spaces to the right, and 3 down.
This sets the font magnification for the its argument. In the following
example, the middle A will be 10% larger.
@example
-A \magnify #1.1 { A } A
+A \magnify #1.1 @{ A @} A
@end example
@end example
@end table
-
In markup mode you can compose expressions, similar to mathematical
expressions, XML documents and music expressions. The braces group
notes into horizontal lines. Other types of lists also exist: you can
stack expressions grouped with @code{<<}, and @code{>>} vertically with
the command @code{\column}.
-
@lilypond[verbatim,fragment,relative=1]
c1^\markup { \column << a b c >> }
c1^\markup { \line << a b c >> }
a1^\markup { \magnify #0.9 \eighthNote " = 64" }
}
}
+@end lilypond
+
@refbugs
@cindex kerning
-LilyPond account for kerning in its text formatting engine, so it spaces
-texts slightly too wide.
+LilyPond does not account for kerning in its text formatting, so it
+spaces texts slightly too wide.
Syntax errors for markup mode are confusing.