From 063a0a28c373505b65d5b440f32b5822cc3c1d47 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sat, 14 Jul 2007 09:51:13 -0700 Subject: [PATCH] LSR: automagic update. --- input/lsr/staff/changing-the-staff-size.ly | 11 +++++----- input/lsr/text/embedding-postscript.ly | 24 ---------------------- input/lsr/text/the--fill-line-command.ly | 12 +++++++++++ 3 files changed, 18 insertions(+), 29 deletions(-) delete mode 100644 input/lsr/text/embedding-postscript.ly diff --git a/input/lsr/staff/changing-the-staff-size.ly b/input/lsr/staff/changing-the-staff-size.ly index 4b4c32cb21..a59ffaf134 100644 --- a/input/lsr/staff/changing-the-staff-size.ly +++ b/input/lsr/staff/changing-the-staff-size.ly @@ -6,8 +6,11 @@ In order to change staff sizes, both @code{staff-space} and @code{fontSize} must be scaled. " } -\relative c' << -% \new Staff \relative c'' { \dynamicDown c4 \ff c c c } +{ + \new Staff \relative c'' { \dynamicDown c8 \ff c c c c c c c } +} + +{ \new Staff \with { fontSize = #-3 \override StaffSymbol #'staff-space = #(magstep -3) @@ -15,7 +18,5 @@ In order to change staff sizes, both @code{staff-space} and \clef bass c8 c c c c c c c } ->> - - +} diff --git a/input/lsr/text/embedding-postscript.ly b/input/lsr/text/embedding-postscript.ly deleted file mode 100644 index 9476483b19..0000000000 --- a/input/lsr/text/embedding-postscript.ly +++ /dev/null @@ -1,24 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -By inserting the markup command @code{\postscript}, you can insert -PostScript directly into the output. - - - -" } - -\score { - \relative c'' { - a-\markup { \postscript #"3 4 moveto 5 3 rlineto stroke" } - -\markup { \postscript #"[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " } - - b-\markup { \postscript #"3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" } - s2 - a'1 - } - \layout { linewidth = 70 * 5 \pt } -} - - diff --git a/input/lsr/text/the--fill-line-command.ly b/input/lsr/text/the--fill-line-command.ly index e1a61f8824..211ce22818 100644 --- a/input/lsr/text/the--fill-line-command.ly +++ b/input/lsr/text/the--fill-line-command.ly @@ -4,6 +4,18 @@ \header { texidoc = " The \fill-line command aligns and justifies markup text by setting as many columns as required, in a given space. + +In this snippet we use numbers to (beautifully) show how the command +works; but when using text beware to use quotes if you want your words +to stay together: + +\fill-line @{The quick brown fox@} results in something like: + +The              quick                      brown                   fox + +\fill-line @{\"The quick brown fox\"@} results in something like: + +                        The quick brown fox " } \paper { -- 2.39.5