]> git.donarmstrong.com Git - lilypond.git/commitdiff
Automagic update of lsr.
authorGraham Percival <graham@percival-music.ca>
Thu, 19 Apr 2007 08:36:14 +0000 (01:36 -0700)
committerGraham Percival <graham@percival-music.ca>
Thu, 19 Apr 2007 08:36:14 +0000 (01:36 -0700)
input/lsr/connecting/fine-tuning-manual-beaming.ly [new file with mode: 0644]
input/lsr/contemporary/feathered-beams.ly
input/lsr/expressive/line-arrows.ly [new file with mode: 0644]
input/lsr/parts/quote-transposition.ly [new file with mode: 0644]
input/lsr/parts/quote.ly [new file with mode: 0644]
input/lsr/text/utf-8.ly [new file with mode: 0644]

diff --git a/input/lsr/connecting/fine-tuning-manual-beaming.ly b/input/lsr/connecting/fine-tuning-manual-beaming.ly
new file mode 100644 (file)
index 0000000..91eaf80
--- /dev/null
@@ -0,0 +1,22 @@
+%%  Do not edit this file; it is auto-generated from LSR!
+\version "2.10.12"
+
+\header { texidoc = "
+By setting the @code{#'beaming} property, it is possible to override
+beaming rules. You may preferably want to use @code{\once} when doing
+so, as this property cannot be shared between objects.
+" }
+
+\layout{ 
+  ragged-right = ##t 
+}
+
+\relative c'' {
+  c32[ c
+       \once \override Stem 
+       #'beaming = #(cons (list   1 2) (list 0 2 4))
+       c
+       \once \override Stem 
+       #'beaming = #(cons (list 0 2 4) (list 0 1 4))
+       c c c]
+}
index ceaff8ea2c98550262f7f73d01785230a2cbcb9d..b5c17e0537406b15b6845c2c7ef790da516eb8e5 100644 (file)
@@ -2,9 +2,9 @@
 \version "2.10.12"
 
 \header { texidoc = "
-Feathered beams can be obtained by setting the #'grow-direction
-property; you may also want to use \featherDurations to adjust note
-durations. (See also in tha manual : \"Feathered beams\")
+Feathered beams can be obtained by setting the @code{#'grow-direction}
+property; you may also want to use @code{\featherDurations} to adjust
+note durations. (See also in tha manual : \"Feathered beams\")
 " }
 
 \paper {
diff --git a/input/lsr/expressive/line-arrows.ly b/input/lsr/expressive/line-arrows.ly
new file mode 100644 (file)
index 0000000..7a5e573
--- /dev/null
@@ -0,0 +1,31 @@
+%%  Do not edit this file; it is auto-generated from LSR!
+% contemporary
+
+\header {
+  texidoc = "Arrows can be applied to text-spanners and line-spanners (such as the Glissando)"
+}
+
+\version "2.10.0"
+
+\paper {
+  ragged-right = ##t
+}
+
+\relative c'' {
+  \override TextSpanner #'bound-padding = #1.0
+  \override TextSpanner #'dash-fraction = #'()
+  \override TextSpanner #'bound-details #'right #'arrow = ##t
+  \override TextSpanner #'bound-details #'left #'text = #"fof"
+  \override TextSpanner #'bound-details #'right #'text = #"gag"
+  \override TextSpanner #'bound-details #'right #'padding = #0.6
+
+  \override TextSpanner #'bound-details #'right #'stencil-align-dir-y = #CENTER
+  \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER
+  
+  \override Glissando #'bound-details #'right #'arrow = ##t
+  \override Glissando #'arrow-length = #0.5
+  \override Glissando #'arrow-width = #0.25
+  
+  a8\startTextSpan gis8 a4 b4\glissando
+  b,4 | g' c\stopTextSpan c
+}
diff --git a/input/lsr/parts/quote-transposition.ly b/input/lsr/parts/quote-transposition.ly
new file mode 100644 (file)
index 0000000..ff3aa5c
--- /dev/null
@@ -0,0 +1,47 @@
+%%  Do not edit this file; it is auto-generated from LSR!
+%preparing
+
+\header
+{
+
+    texidoc = "Quotations take into account the transposition of both
+source and target.  In this example, all instruments play sounding
+central C, the target is a instrument in F.  The target part may be
+@code{\\transpose}d.  In this case, all the pitches (including the
+quoted ones) will transposed as well.  "
+
+}
+
+\version "2.11.10"
+
+\layout { ragged-right = ##t }
+
+
+\addQuote clarinet  {
+    \transposition bes
+    d'16 d'16 d'8 
+    d'16 d'16 d'8 
+    d'16 d'16 d'8 
+    d'16 d'16 d'8 
+}
+
+\addQuote sax  {
+    \transposition es'
+    a8 a a a a a  a a 
+}
+
+quoteTest = {
+    \transposition f  % french horn
+    
+    g'4
+    << \quoteDuring #"clarinet" { \skip 4 } s4^"clar" >> 
+    << \quoteDuring #"sax" { \skip 4 } s4^"sax" >> 
+}
+
+
+<< \quoteTest
+   \new Staff
+   << \transpose c' d' \quoteTest
+     s4_"up 1 tone"
+  >>
+>>
diff --git a/input/lsr/parts/quote.ly b/input/lsr/parts/quote.ly
new file mode 100644 (file)
index 0000000..4f98e24
--- /dev/null
@@ -0,0 +1,44 @@
+%%  Do not edit this file; it is auto-generated from LSR!
+%preparing
+
+\header
+{
+
+    texidoc = "With @code{\\quote}, fragments of previously entered
+music may be quoted. @code{quotedEventTypes} will determines what
+things are quoted. In this example, a 16th rests is not quoted, since
+@code{rest-event} is not in @code{quotedEventTypes}."
+
+}
+\version "2.11.10"
+\layout {
+    ragged-right = ##t
+}
+
+
+quoteMe = \relative c' { fis4 r16  a8.-> b4-\ff c }
+
+\addQuote quoteMe \quoteMe 
+original = \relative c'' { c8 d s2 es8 gis8 }
+
+<<
+    \new Staff {
+       \set Staff.instrumentName = "quoteMe"
+       \quoteMe
+    }
+    \new Staff {
+       \set Staff.instrumentName = "orig"
+       \original
+    }
+    \new Staff \relative c'' <<
+       \set Staff.instrumentName = "orig+quote"        
+       \set Staff.quotedEventTypes = #'(note-event articulation-event)
+       \original
+       \new Voice {
+           s4
+           \set fontSize = #-4
+           \override Stem #'length-fraction = #(magstep -4)
+           \quoteDuring #"quoteMe" { \skip 2. }
+       }
+    >>
+>>
diff --git a/input/lsr/text/utf-8.ly b/input/lsr/text/utf-8.ly
new file mode 100644 (file)
index 0000000..c491bed
--- /dev/null
@@ -0,0 +1,66 @@
+%%  Do not edit this file; it is auto-generated from LSR!
+% text
+
+\version "2.10.0"
+
+%% Edit this file using a Unicode aware editor, such as GVIM, GEDIT, Emacs
+
+%{
+
+You may have to install additional fonts.
+
+Red Hat Fedora
+
+    taipeifonts fonts-xorg-truetype ttfonts-ja fonts-arabic \
+        ttfonts-zh_CN fonts-ja fonts-hebrew 
+
+Debian GNU/Linux
+
+   apt-get install emacs-intl-fonts xfonts-intl-.* \
+       ttf-kochi-gothic ttf-kochi-mincho \
+       xfonts-bolkhov-75dpi xfonts-cronyx-100dpi xfonts-cronyx-75dpi 
+%} 
+
+\header {
+
+  texidoc = "Various scripts may be used for texts (like titles and
+lyrics) introduced by entering them in UTF-8 encoding, and using a
+Pango based backend.  Depending on the fonts installed, this fragment
+will render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese.
+
+"
+  
+}
+
+% Cyrillic font
+bulgarian = \lyricmode {
+  Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.
+}
+
+hebrew = \lyricmode { 
+  זה כיף סתם לשמוע איך תנצח קרפד עץ טוב בגן.
+}
+
+japanese = \lyricmode {  
+  いろはにほへど ちりぬるを
+  わがよたれぞ  つねならむ
+  うゐのおくや  まけふこえて
+  あさきゆめみじ ゑひもせず 
+}
+
+% "a legal song to you"
+portuguese = \lyricmode { 
+  à vo -- cê uma can -- ção legal
+}
+
+\paper {
+  ragged-right = ##T
+}
+
+\relative  { 
+  c2 d e f g f e
+}
+\addlyrics { \bulgarian }
+\addlyrics { \hebrew }
+\addlyrics { \japanese }
+\addlyrics { \portuguese }