From 72c7dd48291eb05eb508b89bdb42ff6499b2d67c Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sun, 13 May 2007 22:53:32 -0700 Subject: [PATCH] LSR: automatic update. --- .../combining-dynamics-with-markup-texts.ly | 20 ++++++++ ...yles-depending-on-the-step-of-the-scale.ly | 3 ++ ...-with-conditionals-if-then-using-scheme.ly | 20 ++++++++ input/lsr/staff/staff-brackets.ly | 48 +++++++++++++++++++ ...ing-native-postscript-in-a--markup-bloc.ly | 23 +++++++++ 5 files changed, 114 insertions(+) create mode 100644 input/lsr/expressive/combining-dynamics-with-markup-texts.ly create mode 100644 input/lsr/scheme/displaying-the-version-number-with-conditionals-if-then-using-scheme.ly create mode 100644 input/lsr/staff/staff-brackets.ly create mode 100644 input/lsr/text/embedding-native-postscript-in-a--markup-bloc.ly diff --git a/input/lsr/expressive/combining-dynamics-with-markup-texts.ly b/input/lsr/expressive/combining-dynamics-with-markup-texts.ly new file mode 100644 index 0000000000..384f703bd5 --- /dev/null +++ b/input/lsr/expressive/combining-dynamics-with-markup-texts.ly @@ -0,0 +1,20 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Some dynamics may involve text indications (such as \"più forte\", +\"piano subito\", etc.). They can be produced using a \markup bloc. +" } + +\layout{ragged-right = ##t} + +piuf = \markup { \italic "molto" \dynamic "f" } + +\relative c''{ + c-\piuf + c + c2\< c2\! + + c2\< c2\! +} + diff --git a/input/lsr/other/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly b/input/lsr/other/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly index bcb0551aa8..8ce0c479e6 100644 --- a/input/lsr/other/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly +++ b/input/lsr/other/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly @@ -30,6 +30,8 @@ fragment = { \set shapeNoteStyles = ##(do re mi fa #f la ti) \fragment } + +% temporary change help LSR integration -gp %{ \transpose c d \relative { @@ -42,3 +44,4 @@ fragment = { \fragment } %} + diff --git a/input/lsr/scheme/displaying-the-version-number-with-conditionals-if-then-using-scheme.ly b/input/lsr/scheme/displaying-the-version-number-with-conditionals-if-then-using-scheme.ly new file mode 100644 index 0000000000..ecacbf48b3 --- /dev/null +++ b/input/lsr/scheme/displaying-the-version-number-with-conditionals-if-then-using-scheme.ly @@ -0,0 +1,20 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Thanks to its implementation of GUILE, LilyPond makes high level +functionalities relatively easy to accomplish. + +In this example, the title will mention the current version (i.e. the +version the snippet was compiled with, regardless which \version was +originally used). +" } + +#(if (not (defined? 'pieceTagLine)) + (define pieceTagLine (string-append "You are running version " (lilypond-version)))) + +\header{ + title = \pieceTagLine +} + +{ c'4 } diff --git a/input/lsr/staff/staff-brackets.ly b/input/lsr/staff/staff-brackets.ly new file mode 100644 index 0000000000..6751f5ef4f --- /dev/null +++ b/input/lsr/staff/staff-brackets.ly @@ -0,0 +1,48 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Staffs can be nested in various combinations. Here, @code{StaffGroup} +and @code{ChoirStaff} produce similar straight brackets, whereas +@code{GrandStaff} produces curly brackets. In @code{InnerStaffGroup} +and @code{InnerChoirStaff}, the brackets are shifted leftwards. + + + +" } + +\score { +<< + \new StaffGroup << + \new Staff {c' d' e' f'} + \new InnerStaffGroup << + \new Staff {c' d' e' f'} + \new GrandStaff << + \new Staff {c' d' e' f'} + \new Staff {c' d' e' f'} + >> + \new Staff {c' d' e' f'} + >> + \new ChoirStaff << + \new Staff {c' d' e' f'} + \new InnerStaffGroup << + \new Staff {c' d' e' f'} + >> + \new Staff {c' d' e' f'} + >> + >> + \new ChoirStaff << + \new Staff {c' d' e' f'} + \new InnerChoirStaff << + \new Staff {c' d' e' f'} + \new Staff {c' d' e' f'} + >> + \new Staff {c' d' e' f'} + >> + +>> + + \layout { raggedright = ##t} +} + + diff --git a/input/lsr/text/embedding-native-postscript-in-a--markup-bloc.ly b/input/lsr/text/embedding-native-postscript-in-a--markup-bloc.ly new file mode 100644 index 0000000000..43e5ce2f17 --- /dev/null +++ b/input/lsr/text/embedding-native-postscript-in-a--markup-bloc.ly @@ -0,0 +1,23 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +he command \postscript allows you to insert PostScript code directly +inside a \markup bloc. + +(Beware: PostScript is a registred trademark by Adobe Systems Inc. +LilyPond actually uses GNU/GhostScript to handle it.) +" } + +\layout { + line-width = 70 * 5 \pt +} + +\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 +} -- 2.39.5