]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add noragged-right fragment option.
authorNeil Puttock <n.puttock@gmail.com>
Mon, 23 Jun 2008 17:20:24 +0000 (18:20 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Mon, 23 Jun 2008 17:20:24 +0000 (18:20 +0100)
Documentation/user/lilypond-book.itely
scripts/lilypond-book.py

index 46fbee383958d8a3025b31629e2efb408491662a..8abed05d52980a6eaf60dc012c514000a855ae6c 100644 (file)
@@ -556,6 +556,11 @@ option is present.  It is also the default for the @code{lilypond}
 environment if the @code{fragment} option is set, and no line width is
 explicitly specified.
 
+@item noragged-right
+For single-line snippets, allow the staff length to be stretched to
+equal that of the line width, i.e., @code{ragged-right = ##f} is
+added to the LilyPond snippet.
+
 @c does this option still exist in lilypond? -jm
 @item packed
 Produce lines with packed spacing, i.e., @code{packed = ##t} is added
index 63f075a1492db94649491416c7884e019eae86f2..8e14256ccb8a96712a83b05ab235f1d389a7c26d 100644 (file)
@@ -235,6 +235,7 @@ LILYQUOTE = 'lilyquote'
 NOFRAGMENT = 'nofragment'
 NOINDENT = 'noindent'
 NOQUOTE = 'noquote'
+NORAGGED_RIGHT = 'noragged-right'
 NOTES = 'body'
 NOTIME = 'notime'
 OUTPUT = 'output'
@@ -562,6 +563,8 @@ ly_options = {
 
         RAGGED_RIGHT: r'''ragged-right = ##t''',
 
+        NORAGGED_RIGHT: r'''ragged-right = ##f''',
+
         PACKED: r'''packed = ##t''',
     },