From: Graham Percival Date: Tue, 5 Jun 2007 07:25:28 +0000 (-0700) Subject: LSR: add new files. X-Git-Tag: release/2.11.26-1~6^2~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=29d0ede8fd89e87e7b82849e8456a3626a452db7;p=lilypond.git LSR: add new files. --- diff --git a/input/lsr/other/making-an-object-invisibile-with-the-transparent-property.ly b/input/lsr/other/making-an-object-invisibile-with-the-transparent-property.ly new file mode 100644 index 0000000000..e38331e2c3 --- /dev/null +++ b/input/lsr/other/making-an-object-invisibile-with-the-transparent-property.ly @@ -0,0 +1,24 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Setting the @code{transparent} property will cause an object to be +printed in `invisible ink': the object is not printed, but all its +other behavior is retained. The object still takes up space, it takes +part in collisions, and slurs, and ties and beams can be attached to it. + + +The snippet demonstrates how to connect different voices using ties. +Normally, ties only connect two notes in the same voice. By +introducing a tie in a different voice, and blanking the first up-stem +in that voice, the tie appears to cross voices. +" } + +\relative c'' { +<< { + \once \override Stem #'transparent = ##t + b8~ b8\noBeam +} \\ { + b[ g8] +} >> +} diff --git a/input/lsr/other/outputting-the-version-number.ly b/input/lsr/other/outputting-the-version-number.ly new file mode 100644 index 0000000000..4d4ec62ddc --- /dev/null +++ b/input/lsr/other/outputting-the-version-number.ly @@ -0,0 +1,20 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +By putting the output of + @code{lilypond-version} into a lyric, it is possible to print the + version number of LilyPond in a score, or in a document generated + with @code{lilypond-book}. Another possibility is to append the + version number to the doc-string, in this manner: +" } + +\score { \context Lyrics { + \override Score.RehearsalMark #'self-alignment-X = #LEFT + \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version))) + s2 + } +} + + + diff --git a/input/lsr/spacing/changing-vertical-extents.ly b/input/lsr/spacing/changing-vertical-extents.ly new file mode 100644 index 0000000000..0be0ee8a1a --- /dev/null +++ b/input/lsr/spacing/changing-vertical-extents.ly @@ -0,0 +1,28 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Vertical extents may increased by setting @code{minimumVerticalExtent}, + @code{extraVerticalExtent}, and @code{verticalExtent}. In this +example, @code{verticalExtent} is increased. + + +" } + +\score { + << + \new Staff { + \set Staff.verticalExtent = #'(-15.0 . 0.0) + \clef alto + c1 + } + \new Staff { + \set Staff.verticalExtent = #'(-0.0 . 15.0) + \clef alto + g1 + } + >> + +} + + diff --git a/input/lsr/spacing/setting-the-extent-of-objects.ly b/input/lsr/spacing/setting-the-extent-of-objects.ly new file mode 100644 index 0000000000..7c5d3bc9df --- /dev/null +++ b/input/lsr/spacing/setting-the-extent-of-objects.ly @@ -0,0 +1,24 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +The object may be extended to larger sized by overriding their +properties. The lyrics in this example have an extent of +@code{(-10,10)}, which is why they are spaced so widely. + + + +" } + +\score { + \context Lyrics \lyricmode { + foo -- + + \override LyricText #'X-extent = #'(-10.0 . 10.0) + bar baz + } + \layout { raggedright = ##t} +} + + + diff --git a/input/regression/page-label.ly b/input/regression/page-label.ly index 9f40328cf4..e69de29bb2 100644 --- a/input/regression/page-label.ly +++ b/input/regression/page-label.ly @@ -1,42 +0,0 @@ -\version "2.11.25" - -\header { - texidoc = "Page labels may be placed inside music or at top-level, -and refered to in markups." -} - -#(set-default-paper-size "a6") - -#(define-markup-command (toc-line layout props label text) (symbol? markup?) - (interpret-markup layout props - (markup #:fill-line (text #:page-ref label "8" "?")))) - -\markup \huge \fill-line { \null "Title Page" \null } - -\pageBreak - -\markup \column { - \large \fill-line { \null "Table of contents" \null } - \toc-line #'toc "Table of contents" - \toc-line #'firstScore "First Score" - \toc-line #'markA "Mark A" - \toc-line #'markB "Mark B" - \toc-line #'markC "Mark C" - \toc-line #'unknown "Unknown label" -} \label #'toc - -\pageBreak - -\score { - { c'2 c' - \mark \markup { A (page \concat { \page-ref #'markA "0" "?" ) }} \label #'markA - c' c' - \pageBreak - \mark "B" \label #'markB - d' d' - d' d' - \once \override Score . RehearsalMark #'break-visibility = #begin-of-line-invisible - \mark "C" \label #'markC - } - \header { piece = "First score" } -} \label #'firstScore \ No newline at end of file diff --git a/input/test/partial-blank.ly b/input/test/partial-blank.ly deleted file mode 100644 index fcf05bb60c..0000000000 --- a/input/test/partial-blank.ly +++ /dev/null @@ -1,33 +0,0 @@ - -\version "2.10.0" -% check with invisible-notes or blank-notes. possible rename. -gp -\header{ texidoc = "@cindex Partial Blank -When entering partially typeset music (i.e. for students to be -completed by hand), you may need the spacing that correspond to the -timing of notes: all measures have same length, etc. It can be -implemented by adding an invisible staff with a lot of fast notes. " -} - -quickmeasure = { - \repeat unfold 16 c''16 -} - -mel = \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2} - -\score { -\context PianoStaff << - \new Staff << - \clef G - \new Voice {\mel} - \new Voice { - \override NoteHead #'transparent = ##t - \override Stem #'transparent = ##t - \override Beam #'transparent = ##t - \repeat unfold 4 \quickmeasure - } - >> - \new Staff {\clef F s1*4} ->> -\layout {} -} - diff --git a/input/test/preset-extent.ly b/input/test/preset-extent.ly deleted file mode 100644 index 797e7f64b9..0000000000 --- a/input/test/preset-extent.ly +++ /dev/null @@ -1,24 +0,0 @@ -\version "2.10.0" -\header { texidoc = " - -@cindex Preset Extent - -The object may be extended to larger sized by overriding their properties. -The lyrics in this example have an extent of @code{(-10,10)}, which is why -they are spaced so widely. - -" - -} - -\score { - \context Lyrics \lyricmode { - foo -- - - \override LyricText #'X-extent = #'(-10.0 . 10.0) - bar baz - } - \layout { ragged-right = ##t} -} - - diff --git a/input/test/version-output.ly b/input/test/version-output.ly deleted file mode 100644 index 012ff14c07..0000000000 --- a/input/test/version-output.ly +++ /dev/null @@ -1,24 +0,0 @@ -\version "2.10.0" - -\header { - - - texidoc = #(string-append "By putting the output of - @code{lilypond-version} into a lyric, it is possible to print the - version number of LilyPond in a score, or in a document generated - with @code{lilypond-book}. Another possibility is to append the - version number to the doc-string, in this manner: " - - (lilypond-version) - ) - -} - -\score { \context Lyrics { - \override Score.RehearsalMark #'self-alignment-X = #LEFT - \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version))) - s2 - } -} - - diff --git a/input/test/vertical-extent.ly b/input/test/vertical-extent.ly deleted file mode 100644 index b46f3ac123..0000000000 --- a/input/test/vertical-extent.ly +++ /dev/null @@ -1,37 +0,0 @@ -\version "2.10.0" -% TODO: huh? what's this file about? -gp -% This file shows that Staff grobs can get very deep or high; there is a lot -% of room between the staves. - -\header { texidoc = " -Vertical extents may increased by setting @code{\override VerticalAxisGroup #'minimum-Y-extent}, -@code{extra-Y-extent}, and @code{Y-extent}. In this example, -@code{Y-extent} is increased. -" } - -\score { - << - \new Staff { - \override Staff.VerticalAxisGroup #'Y-extent = #'(-15.0 . 0.0) - \clef alto - a1^"15-deep staff" - } - \new Staff { - \clef alto - b1 - } - \new Staff { - \clef alto - c1 - } - \new Staff { - \clef alto - \override Staff.VerticalAxisGroup #'Y-extent = #'(-0.0 . 10.0) - d1^"10-high staff" - } - >> - \layout{ - ragged-right = ##t - } -} -