From 067ee1ef6542278d6e857053aad4d0c6338573fd Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Thu, 19 Apr 2007 01:36:14 -0700 Subject: [PATCH] Automagic update of lsr. --- .../connecting/fine-tuning-manual-beaming.ly | 22 +++++++ input/lsr/contemporary/feathered-beams.ly | 6 +- input/lsr/expressive/line-arrows.ly | 31 +++++++++ input/lsr/parts/quote-transposition.ly | 47 +++++++++++++ input/lsr/parts/quote.ly | 44 +++++++++++++ input/lsr/text/utf-8.ly | 66 +++++++++++++++++++ 6 files changed, 213 insertions(+), 3 deletions(-) create mode 100644 input/lsr/connecting/fine-tuning-manual-beaming.ly create mode 100644 input/lsr/expressive/line-arrows.ly create mode 100644 input/lsr/parts/quote-transposition.ly create mode 100644 input/lsr/parts/quote.ly create mode 100644 input/lsr/text/utf-8.ly diff --git a/input/lsr/connecting/fine-tuning-manual-beaming.ly b/input/lsr/connecting/fine-tuning-manual-beaming.ly new file mode 100644 index 0000000000..91eaf802d7 --- /dev/null +++ b/input/lsr/connecting/fine-tuning-manual-beaming.ly @@ -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] +} diff --git a/input/lsr/contemporary/feathered-beams.ly b/input/lsr/contemporary/feathered-beams.ly index ceaff8ea2c..b5c17e0537 100644 --- a/input/lsr/contemporary/feathered-beams.ly +++ b/input/lsr/contemporary/feathered-beams.ly @@ -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 index 0000000000..7a5e573fe2 --- /dev/null +++ b/input/lsr/expressive/line-arrows.ly @@ -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 index 0000000000..ff3aa5cd7d --- /dev/null +++ b/input/lsr/parts/quote-transposition.ly @@ -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 index 0000000000..4f98e24112 --- /dev/null +++ b/input/lsr/parts/quote.ly @@ -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 index 0000000000..c491bed775 --- /dev/null +++ b/input/lsr/text/utf-8.ly @@ -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 } -- 2.39.5