]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add example of stand-alone markup.
authorGraham Percival <graham@percival-music.ca>
Tue, 15 Apr 2008 08:42:39 +0000 (01:42 -0700)
committerGraham Percival <graham@percival-music.ca>
Tue, 15 Apr 2008 08:42:39 +0000 (01:42 -0700)
(Copy and paste from an email a week ago because Valentin is unable
to do so.)

Documentation/user/text.itely

index 8796e0a1885e1cd1fb89581761a0a4b322e98f10..48e2dc6fc1448d8df1a79d29b1ff42fe463878e5 100644 (file)
@@ -248,13 +248,9 @@ A @code{\markup} block can exist by itself, outside of any
 any @code{\score} block.  This syntax is called a @q{top-level
 expression}, and is described in @code{File structure}.
 
-@c TODO: turn this into a @lilypond example
-
-@example
-\markup @{
-  @var{..}
-@}
-@end example
+@lilypond[quote,ragged-right,verbatim]
+\markup{ hello }
+@end lilypond
 
 @noindent
 This allows to print text separately