]> git.donarmstrong.com Git - lilypond.git/commitdiff
LSR: add new files.
authorGraham Percival <graham@percival-music.ca>
Tue, 5 Jun 2007 07:25:28 +0000 (00:25 -0700)
committerGraham Percival <graham@percival-music.ca>
Tue, 5 Jun 2007 07:25:28 +0000 (00:25 -0700)
input/lsr/other/making-an-object-invisibile-with-the-transparent-property.ly [new file with mode: 0644]
input/lsr/other/outputting-the-version-number.ly [new file with mode: 0644]
input/lsr/spacing/changing-vertical-extents.ly [new file with mode: 0644]
input/lsr/spacing/setting-the-extent-of-objects.ly [new file with mode: 0644]
input/regression/page-label.ly
input/test/partial-blank.ly [deleted file]
input/test/preset-extent.ly [deleted file]
input/test/version-output.ly [deleted file]
input/test/vertical-extent.ly [deleted file]

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 (file)
index 0000000..e38331e
--- /dev/null
@@ -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 (file)
index 0000000..4d4ec62
--- /dev/null
@@ -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 (file)
index 0000000..0be0ee8
--- /dev/null
@@ -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 (file)
index 0000000..7c5d3bc
--- /dev/null
@@ -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}
+}
+    
+
+
index 9f40328cf4ce958691104ba062534783823adcb2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -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 (file)
index fcf05bb..0000000
+++ /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 (file)
index 797e7f6..0000000
+++ /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 (file)
index 012ff14..0000000
+++ /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 (file)
index b46f3ac..0000000
+++ /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
-  }
-}
-