From 721cd7cd6f3dd713199911ac7dfd7bdc04c2bc5d Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sat, 24 Nov 2007 21:35:42 -0800 Subject: [PATCH] LSR: directory reorg. --- input/lsr/GNUmakefile | 8 +- input/lsr/LSR.ly | 17 +- input/lsr/editorial/AAA-intro.ly | 16 ++ input/lsr/editorial/GNUmakefile | 12 ++ input/lsr/editorial/SConscript | 5 + input/lsr/expressive/AAA-intro.ly | 3 +- input/lsr/expressive/GNUmakefile | 9 +- input/lsr/expressive/SConscript | 3 +- .../adding-accidentals-to-a-trillspanner.ly | 26 --- ...to-different-voices-inside-a-same-staff.ly | 32 ---- input/lsr/expressive/breathing-sign.ly | 53 ------ .../combining-dynamics-with-markup-texts.ly | 20 --- input/lsr/expressive/fingering-chords.ly | 33 ---- input/lsr/expressive/glissando.ly | 30 ---- ...-acciaccatura,-trillspan-and-aftergrace.ly | 39 ----- input/lsr/expressive/line-arrows.ly | 29 --- input/lsr/expressive/line-styles.ly | 26 --- ...g-the-control-points-of-a-slur-manually.ly | 44 ----- ...imum-length-of-a-slur-to-separate-notes.ly | 17 -- input/lsr/null/AAA-intro.ly | 16 ++ input/lsr/null/GNUmakefile | 12 ++ input/lsr/null/SConscript | 5 + input/lsr/pitches/GNUmakefile | 9 +- input/lsr/pitches/SConscript | 3 +- input/lsr/repeats/AAA-intro.ly | 3 +- input/lsr/repeats/GNUmakefile | 8 +- input/lsr/repeats/SConscript | 3 +- input/lsr/repeats/volta-multi-staff.ly | 28 --- input/lsr/rhythms/GNUmakefile | 9 +- input/lsr/rhythms/SConscript | 3 +- input/lsr/simultaneous/AAA-intro.ly | 16 ++ input/lsr/simultaneous/GNUmakefile | 12 ++ input/lsr/simultaneous/SConscript | 5 + input/lsr/staff/AAA-intro.ly | 3 +- input/lsr/staff/GNUmakefile | 8 +- input/lsr/staff/SConscript | 3 +- input/lsr/staff/adding-an-extra-staff.ly | 31 ---- ...changing-the-number-of-lines-in-a-staff.ly | 32 ---- input/lsr/staff/changing-the-staff-size.ly | 22 --- .../displaying-bar-numbers-on-all-measures.ly | 24 --- ...-to-add-text-marks-at-the-end-of-a-line.ly | 18 -- .../staff/inserting-bar-lines-everywhere.ly | 17 -- ...e-fragments-above-the-staff,-as-markups.ly | 33 ---- ...bar-numbers-appear-at-regular-intervals.ly | 31 ---- input/lsr/staff/naming-a-whole-grandstaff.ly | 22 --- ...-the-key-signature-at-the-end-of-a-line.ly | 21 --- input/lsr/staff/staff-brackets.ly | 48 ----- input/lsr/staff/staff-containers.ly | 63 ------- input/lsr/staff/staff-line-positions.ly | 12 -- input/lsr/text/AAA-intro.ly | 3 +- input/lsr/text/GNUmakefile | 9 +- input/lsr/text/SConscript | 3 +- ...staff-lines-using-the--whiteout-command.ly | 17 -- input/lsr/text/creating-text-spanners.ly | 42 ----- ...and-flexibility-of-the--markup-function.ly | 54 ------ ...ing-native-postscript-in-a--markup-bloc.ly | 23 --- .../flat-and-sharp-symbols-in-text-markups.ly | 26 --- input/lsr/text/font-family-override.ly | 44 ----- ...ng-the--char-function-in-a--markup-text.ly | 31 ---- ...n-texts-with-different-vertical-extents.ly | 22 --- ...sections,-as-independent--markup-blocks.ly | 155 ---------------- input/lsr/text/markup-lines.ly | 39 ----- input/lsr/text/ordering-scripts-stack.ly | 16 -- ...long--mark-objects-to-stretch-a-measure.ly | 27 --- ...g-the-title-on-every-page-of-your-score.ly | 35 ---- input/lsr/text/rotating-a-text-object.ly | 17 -- input/lsr/text/the--fill-line-command.ly | 165 ------------------ input/lsr/text/utf-8.ly | 64 ------- 68 files changed, 153 insertions(+), 1581 deletions(-) create mode 100644 input/lsr/editorial/AAA-intro.ly create mode 100644 input/lsr/editorial/GNUmakefile create mode 100644 input/lsr/editorial/SConscript delete mode 100644 input/lsr/expressive/adding-accidentals-to-a-trillspanner.ly delete mode 100644 input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly delete mode 100644 input/lsr/expressive/breathing-sign.ly delete mode 100644 input/lsr/expressive/combining-dynamics-with-markup-texts.ly delete mode 100644 input/lsr/expressive/fingering-chords.ly delete mode 100644 input/lsr/expressive/glissando.ly delete mode 100644 input/lsr/expressive/how-to-print-a-classical-trill-combining-acciaccatura,-trillspan-and-aftergrace.ly delete mode 100644 input/lsr/expressive/line-arrows.ly delete mode 100644 input/lsr/expressive/line-styles.ly delete mode 100644 input/lsr/expressive/setting-the-control-points-of-a-slur-manually.ly delete mode 100644 input/lsr/expressive/setting-the-minimum-length-of-a-slur-to-separate-notes.ly create mode 100644 input/lsr/null/AAA-intro.ly create mode 100644 input/lsr/null/GNUmakefile create mode 100644 input/lsr/null/SConscript delete mode 100644 input/lsr/repeats/volta-multi-staff.ly create mode 100644 input/lsr/simultaneous/AAA-intro.ly create mode 100644 input/lsr/simultaneous/GNUmakefile create mode 100644 input/lsr/simultaneous/SConscript delete mode 100644 input/lsr/staff/adding-an-extra-staff.ly delete mode 100644 input/lsr/staff/changing-the-number-of-lines-in-a-staff.ly delete mode 100644 input/lsr/staff/changing-the-staff-size.ly delete mode 100644 input/lsr/staff/displaying-bar-numbers-on-all-measures.ly delete mode 100644 input/lsr/staff/how-to-add-text-marks-at-the-end-of-a-line.ly delete mode 100644 input/lsr/staff/inserting-bar-lines-everywhere.ly delete mode 100644 input/lsr/staff/inserting-score-fragments-above-the-staff,-as-markups.ly delete mode 100644 input/lsr/staff/making-bar-numbers-appear-at-regular-intervals.ly delete mode 100644 input/lsr/staff/naming-a-whole-grandstaff.ly delete mode 100644 input/lsr/staff/removing-the-key-signature-at-the-end-of-a-line.ly delete mode 100644 input/lsr/staff/staff-brackets.ly delete mode 100644 input/lsr/staff/staff-containers.ly delete mode 100644 input/lsr/staff/staff-line-positions.ly delete mode 100644 input/lsr/text/blanking-staff-lines-using-the--whiteout-command.ly delete mode 100644 input/lsr/text/creating-text-spanners.ly delete mode 100644 input/lsr/text/demonstrating-the-power-and-flexibility-of-the--markup-function.ly delete mode 100644 input/lsr/text/embedding-native-postscript-in-a--markup-bloc.ly delete mode 100644 input/lsr/text/flat-and-sharp-symbols-in-text-markups.ly delete mode 100644 input/lsr/text/font-family-override.ly delete mode 100644 input/lsr/text/how-to-avoid-spaces-when-using-the--char-function-in-a--markup-text.ly delete mode 100644 input/lsr/text/how-to-bottom-align-texts-with-different-vertical-extents.ly delete mode 100644 input/lsr/text/inserting-large-plain-text-sections,-as-independent--markup-blocks.ly delete mode 100644 input/lsr/text/markup-lines.ly delete mode 100644 input/lsr/text/ordering-scripts-stack.ly delete mode 100644 input/lsr/text/preventing-long--mark-objects-to-stretch-a-measure.ly delete mode 100644 input/lsr/text/printing-the-title-on-every-page-of-your-score.ly delete mode 100644 input/lsr/text/rotating-a-text-object.ly delete mode 100644 input/lsr/text/the--fill-line-command.ly delete mode 100644 input/lsr/text/utf-8.ly diff --git a/input/lsr/GNUmakefile b/input/lsr/GNUmakefile index eaf7decc93..a3e8a73f38 100644 --- a/input/lsr/GNUmakefile +++ b/input/lsr/GNUmakefile @@ -1,9 +1,15 @@ depth = ../../ -SUBDIRS = pitches rhythms +# NR 1 +SUBDIRS = pitches rhythms expressive repeats simultaneous staff editorial text + SUBDIRS += real-music +### FIXME: temporary template for creating other dirs. +### will be removed once everything else is stable. +SUBDIRS += null + # old stuffs SUBDIRS += ancient chords connecting contemporary education expressive SUBDIRS += guitar parts repeats spacing staff text vocal scheme other diff --git a/input/lsr/LSR.ly b/input/lsr/LSR.ly index 178c58bfe4..d09fd1e7d1 100644 --- a/input/lsr/LSR.ly +++ b/input/lsr/LSR.ly @@ -7,11 +7,24 @@ These pages show LilyPond examples (snippets) from the @subheading 1 Musical notation -@strong{@uref{pitches/collated-files.html,Pitches}} +@uref{pitches/collated-files.html,Pitches} -@strong{@uref{rhythms/collated-files.html,Rhythms}} +@uref{rhythms/collated-files.html,Rhythms} (@uref{rhythms/collated-files.pdf,pdf link}) +@uref{expressive/collated-files.html,Expressive} + +@uref{simultaneous/collated-files.html,Simultaneous} + +@uref{staff/collated-files.html,Staff} + +@uref{editorial/collated-files.html,Editorial} + +@uref{text/collated-files.html,Text} + + + + @subheading Special collections diff --git a/input/lsr/editorial/AAA-intro.ly b/input/lsr/editorial/AAA-intro.ly new file mode 100644 index 0000000000..93c62a94e3 --- /dev/null +++ b/input/lsr/editorial/AAA-intro.ly @@ -0,0 +1,16 @@ +\version "2.10.0" + +\header{ +texidoc = " +@unnumbered Introduction + +This document shows examples from the +@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. + +In the web version of this document, you can click on the file name +or figure for each example to see the corresponding input file." +} + +% make sure .png is generated. +\markup{ "This document is for LilyPond version" #(ly:export(lilypond-version)) } + diff --git a/input/lsr/editorial/GNUmakefile b/input/lsr/editorial/GNUmakefile new file mode 100644 index 0000000000..a3f0b2bfde --- /dev/null +++ b/input/lsr/editorial/GNUmakefile @@ -0,0 +1,12 @@ + +depth = ../../../ + +STEPMAKE_TEMPLATES=documentation texinfo tex +LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc + +EXTRA_DIST_FILES= + +include $(depth)/make/stepmake.make + +TITLE=Sample snippets from LSR + diff --git a/input/lsr/editorial/SConscript b/input/lsr/editorial/SConscript new file mode 100644 index 0000000000..cb39d4eab0 --- /dev/null +++ b/input/lsr/editorial/SConscript @@ -0,0 +1,5 @@ +# -*-python-*- + +Import ('env', 'collate') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/expressive/AAA-intro.ly b/input/lsr/expressive/AAA-intro.ly index 4997892c3c..93c62a94e3 100644 --- a/input/lsr/expressive/AAA-intro.ly +++ b/input/lsr/expressive/AAA-intro.ly @@ -1,5 +1,4 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" +\version "2.10.0" \header{ texidoc = " diff --git a/input/lsr/expressive/GNUmakefile b/input/lsr/expressive/GNUmakefile index 3819fda13a..a3f0b2bfde 100644 --- a/input/lsr/expressive/GNUmakefile +++ b/input/lsr/expressive/GNUmakefile @@ -1,15 +1,12 @@ + depth = ../../../ STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc -## Hmm, would this work? No -- if we really want examples, move -## to other dir (input/) comes to mind. -## examples = font20 ancient-font -## LOCALSTEPMAKE_TEMPLATES += ly mutopia - EXTRA_DIST_FILES= include $(depth)/make/stepmake.make -TITLE=Advanced snippets +TITLE=Sample snippets from LSR + diff --git a/input/lsr/expressive/SConscript b/input/lsr/expressive/SConscript index f72bfffc28..cb39d4eab0 100644 --- a/input/lsr/expressive/SConscript +++ b/input/lsr/expressive/SConscript @@ -1,4 +1,5 @@ # -*-python-*- Import ('env', 'collate') -collate (title = 'Advanced snippets') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/expressive/adding-accidentals-to-a-trillspanner.ly b/input/lsr/expressive/adding-accidentals-to-a-trillspanner.ly deleted file mode 100644 index 01ccac7e09..0000000000 --- a/input/lsr/expressive/adding-accidentals-to-a-trillspanner.ly +++ /dev/null @@ -1,26 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -By overriding @code{edge-text}, you can insert an accidental after the -trill sign in a trillspanner, but this can look ugly, since the -accidental isn't aligned. - -With a few tweaks to the script size and position, you can achieve -quite pleasing results. - - - -" } - -\relative c'' { - \override TrillSpanner #'edge-text = - #(cons (markup #:line (#:halign -0.5 #:musicglyph "scripts.trill" #:teeny #:raise 0.65 #:sharp)) "") - - b1\startTrillSpan b\stopTrillSpan - - \override TrillSpanner #'edge-text = - #(cons (markup #:line (#:halign -0.5 #:musicglyph "scripts.trill" #:teeny #:raise 0.5 #:flat)) "") - - c\startTrillSpan c\stopTrillSpan -} diff --git a/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly b/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly deleted file mode 100644 index 0ad69b7e51..0000000000 --- a/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly +++ /dev/null @@ -1,32 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -If you've read the manual, you already know that an arpeggio can be -drawn across to staves in PianoStaff context, if you set the -connectArpeggios property. - -However, printing an arpeggio between two simultaneous chords inside a -same staff (with more than one voice), is a bit more tricky. As the -Span_arpeggio_engraver, which is in charge when arpeggios have to be -connected, is not included by default in the Staff context, you have to -add it by yourself using the \consists command. -" } - -\layout { - \context { - \Staff - \consists Span_arpeggio_engraver - } -} - -\new Staff - { - \set Staff.connectArpeggios = ##t - << - {4\arpeggio 4 2 } - \\ - {2\arpeggio 2 } - >> - -} diff --git a/input/lsr/expressive/breathing-sign.ly b/input/lsr/expressive/breathing-sign.ly deleted file mode 100644 index 2d787c34ee..0000000000 --- a/input/lsr/expressive/breathing-sign.ly +++ /dev/null @@ -1,53 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Breathing signs are available in different tastes: commas (default), -ticks, vees and `railroad tracks' (caesura). -" } - -{ - %% Modern notation: - \new Staff { - \relative c'' { - \key es \major \time 3/4 - - %% this bar contains no \breathe - << - { g4 as g } \\ - { es4 bes es } - >> | - - %% by default, \breathe uses the rcomma, just as if saying: - %% \override BreathingSign #'text = - % #(make-musicglyph-markup "scripts.rcomma") - << - { g4 as g } \\ - { es4 \breathe bes es } - >> | - - %% rvarcomma and lvarcomma are variations of the default rcomma - %% and lcomma - - %% N.B.: must use Staff context here, since we start a Voice below - \override Staff.BreathingSign #'text = - #(make-musicglyph-markup "scripts.rvarcomma") - << - { g4 as g } \\ - { es4 \breathe bes es } - >> | - - %% wedge - \override BreathingSign #'text = - #(make-musicglyph-markup "scripts.upbow") - es8 d es f g8 \breathe f | - - %% caesura - \override BreathingSign #'text = - #(make-musicglyph-markup "scripts.caesura") - es8[ d] \breathe es[ f g f] | - es2 r4 \bar "||" \break - } - } -} - diff --git a/input/lsr/expressive/combining-dynamics-with-markup-texts.ly b/input/lsr/expressive/combining-dynamics-with-markup-texts.ly deleted file mode 100644 index 384f703bd5..0000000000 --- a/input/lsr/expressive/combining-dynamics-with-markup-texts.ly +++ /dev/null @@ -1,20 +0,0 @@ -%% 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/expressive/fingering-chords.ly b/input/lsr/expressive/fingering-chords.ly deleted file mode 100644 index 414ed82111..0000000000 --- a/input/lsr/expressive/fingering-chords.ly +++ /dev/null @@ -1,33 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -With the new chord syntax, it is possible to associate fingerings -uniquely with notes. This makes it possible to add horizontal -fingerings to notes. -" } - -\layout { ragged-right= ##t } - - - -\relative c'{ - \set fingeringOrientations = #'(left) - < c-1 e-2 g-3 b-5 > 4 - - \set fingeringOrientations = #'(down left) - < c-1 e-2 g-3 b-5 > 4 - - \set fingeringOrientations = #'(down left up) - < c-1 e-2 g-3 b-5 > 4 - - \once \override Fingering #'staff-padding = #'() - < c-1 e-2 g-3 b-5 > 4 - - \set fingeringOrientations = #'(up left) - < c-1 e-2 g-3 b-5 > 4 - - \set fingeringOrientations = #'(right) - < c-1 e-2 g-3 b-5 > 4 - -} diff --git a/input/lsr/expressive/glissando.ly b/input/lsr/expressive/glissando.ly deleted file mode 100644 index c0807adbcf..0000000000 --- a/input/lsr/expressive/glissando.ly +++ /dev/null @@ -1,30 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Between notes, there may be simple glissando lines. Here, the first -two glissandi are not consecutive. - - -The engraver does no time-keeping, so it involves some trickery to get -@code{>} working correctly. -" } - -\layout{ - line-width = 50.\mm - indent = 0 -} - -\new Staff \relative c''{ - \override Glissando #'breakable = ##t - - %% gliss non gliss and - c4 \glissando d e \glissando f \glissando \break - %% consecutive - c \glissando d, \glissando e' - << { \stemUp e8 \glissando g8 } - \context Voice = VB {\stemDown \repeat unfold 4 d16 } >> - \override Glissando #'style = #'zigzag - c4 \glissando c,, \glissando c' \glissando d -} - diff --git a/input/lsr/expressive/how-to-print-a-classical-trill-combining-acciaccatura,-trillspan-and-aftergrace.ly b/input/lsr/expressive/how-to-print-a-classical-trill-combining-acciaccatura,-trillspan-and-aftergrace.ly deleted file mode 100644 index fe3bd5b347..0000000000 --- a/input/lsr/expressive/how-to-print-a-classical-trill-combining-acciaccatura,-trillspan-and-aftergrace.ly +++ /dev/null @@ -1,39 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Here is an excerpt of Mozart's KV545 piano Sonata (as brought to -Mutopia by A. Sierra), in which you can see the typical classical -trill, i.e. beginning with an acciaccatura, then trilling the whole -bar, and ending with two afterGrace notes. - -This combination, which is rather frequent (if not systematic) in -classical piano music, requires a rather precise typesetting: first the -\acciaccatura, then the \afterGrace (which you have to define using -Scheme-like syntax), then the main note, the TrillSpan and the two -final notes (don't forget the curly braces here). You can also notice -here the \slurDown, which avoids slurs collision. -" } - -rh = \relative { - b''8-3(\f g-1) d'2-5(\sf c16 b a g) -#(define afterGraceFraction (cons 31 32)) - \acciaccatura b8-3 \slurDown \afterGrace a1 \startTrillSpan \( ( {g16[ a ] ) -\stopTrillSpan} - g4 \) r2. -} - -lh = \relative { - \clef treble - d16_5 b'_1 g_2 b \repeat unfold 3 { d, b' g b } - \repeat unfold 4 { d, c' fis, c' } - 4 r2. -} - - -\score { - \new PianoStaff << - \new Staff \rh - \new Staff \lh - >> -} diff --git a/input/lsr/expressive/line-arrows.ly b/input/lsr/expressive/line-arrows.ly deleted file mode 100644 index e8bb807c21..0000000000 --- a/input/lsr/expressive/line-arrows.ly +++ /dev/null @@ -1,29 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\header { - texidoc = "Arrows can be applied to text-spanners and line-spanners (such as the Glissando)" -} - -\version "2.11.23" - -\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/expressive/line-styles.ly b/input/lsr/expressive/line-styles.ly deleted file mode 100644 index c88a82c04d..0000000000 --- a/input/lsr/expressive/line-styles.ly +++ /dev/null @@ -1,26 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Displays all available line styles. -" } - -\paper { - ragged-right = ##t -} - -\relative c'' { - \override Glissando #'breakable = ##t - - s2 - d2 \glissando d'2 - \once \override Glissando #'dash-fraction = #0.5 - d,2 \glissando d'2 - \override Glissando #'style = #'dotted-line - d,2 \glissando d'2 - - \override Glissando #'style = #'zigzag - d,2 \glissando d'2 - \override Glissando #'style = #'trill - d,2 \glissando d'2 -} diff --git a/input/lsr/expressive/setting-the-control-points-of-a-slur-manually.ly b/input/lsr/expressive/setting-the-control-points-of-a-slur-manually.ly deleted file mode 100644 index 83d8495aa6..0000000000 --- a/input/lsr/expressive/setting-the-control-points-of-a-slur-manually.ly +++ /dev/null @@ -1,44 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -In extreme cases, you can resort to setting the - @code{control-points} of a slur manually, althout it involves - a lot of trial and error. Be sure to force line breaks at both sides, -since - different horizontal spacing will require rearrangement of the - slur. -" } - -\score { - \new PianoStaff - << - \context Staff = "up" { - \clef bass - s1 * 4 - } - \context Staff = "down" \relative c << - s1*4 - { - \clef bass - r4 r8 - \once\override Slur #'extra-offset = #'(0 . 6) - \once\override Slur #'control-points = - #'((0 . -4) (2 . 0) (60 . 0) (63 . 4)) - c8( as' f c' as - - % line breaks will mess up this example - \noBreak - f c as' f - \change Staff = up - \clef treble - c' as f' c - \noBreak - as' f c' as - f' c as' f c'4) - }>> - >> - \layout { } -} - - diff --git a/input/lsr/expressive/setting-the-minimum-length-of-a-slur-to-separate-notes.ly b/input/lsr/expressive/setting-the-minimum-length-of-a-slur-to-separate-notes.ly deleted file mode 100644 index 1cc9c84911..0000000000 --- a/input/lsr/expressive/setting-the-minimum-length-of-a-slur-to-separate-notes.ly +++ /dev/null @@ -1,17 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -By setting the minimum length of a slur, notes are more separated. -" } - -\score{ - \relative c''{ - \time 2/4 - \override Slur #'minimum-length = #40 - c(c) - c~c\break - } -} - - diff --git a/input/lsr/null/AAA-intro.ly b/input/lsr/null/AAA-intro.ly new file mode 100644 index 0000000000..93c62a94e3 --- /dev/null +++ b/input/lsr/null/AAA-intro.ly @@ -0,0 +1,16 @@ +\version "2.10.0" + +\header{ +texidoc = " +@unnumbered Introduction + +This document shows examples from the +@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. + +In the web version of this document, you can click on the file name +or figure for each example to see the corresponding input file." +} + +% make sure .png is generated. +\markup{ "This document is for LilyPond version" #(ly:export(lilypond-version)) } + diff --git a/input/lsr/null/GNUmakefile b/input/lsr/null/GNUmakefile new file mode 100644 index 0000000000..a3f0b2bfde --- /dev/null +++ b/input/lsr/null/GNUmakefile @@ -0,0 +1,12 @@ + +depth = ../../../ + +STEPMAKE_TEMPLATES=documentation texinfo tex +LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc + +EXTRA_DIST_FILES= + +include $(depth)/make/stepmake.make + +TITLE=Sample snippets from LSR + diff --git a/input/lsr/null/SConscript b/input/lsr/null/SConscript new file mode 100644 index 0000000000..cb39d4eab0 --- /dev/null +++ b/input/lsr/null/SConscript @@ -0,0 +1,5 @@ +# -*-python-*- + +Import ('env', 'collate') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/pitches/GNUmakefile b/input/lsr/pitches/GNUmakefile index 3819fda13a..a3f0b2bfde 100644 --- a/input/lsr/pitches/GNUmakefile +++ b/input/lsr/pitches/GNUmakefile @@ -1,15 +1,12 @@ + depth = ../../../ STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc -## Hmm, would this work? No -- if we really want examples, move -## to other dir (input/) comes to mind. -## examples = font20 ancient-font -## LOCALSTEPMAKE_TEMPLATES += ly mutopia - EXTRA_DIST_FILES= include $(depth)/make/stepmake.make -TITLE=Advanced snippets +TITLE=Sample snippets from LSR + diff --git a/input/lsr/pitches/SConscript b/input/lsr/pitches/SConscript index f72bfffc28..cb39d4eab0 100644 --- a/input/lsr/pitches/SConscript +++ b/input/lsr/pitches/SConscript @@ -1,4 +1,5 @@ # -*-python-*- Import ('env', 'collate') -collate (title = 'Advanced snippets') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/repeats/AAA-intro.ly b/input/lsr/repeats/AAA-intro.ly index 4997892c3c..93c62a94e3 100644 --- a/input/lsr/repeats/AAA-intro.ly +++ b/input/lsr/repeats/AAA-intro.ly @@ -1,5 +1,4 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" +\version "2.10.0" \header{ texidoc = " diff --git a/input/lsr/repeats/GNUmakefile b/input/lsr/repeats/GNUmakefile index 43325ab698..a3f0b2bfde 100644 --- a/input/lsr/repeats/GNUmakefile +++ b/input/lsr/repeats/GNUmakefile @@ -4,13 +4,9 @@ depth = ../../../ STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc -## Hmm, would this work? No -- if we really want examples, move -## to other dir (input/) comes to mind. -## examples = font20 ancient-font -## LOCALSTEPMAKE_TEMPLATES += ly mutopia - EXTRA_DIST_FILES= include $(depth)/make/stepmake.make -TITLE=Advanced snippets +TITLE=Sample snippets from LSR + diff --git a/input/lsr/repeats/SConscript b/input/lsr/repeats/SConscript index f72bfffc28..cb39d4eab0 100644 --- a/input/lsr/repeats/SConscript +++ b/input/lsr/repeats/SConscript @@ -1,4 +1,5 @@ # -*-python-*- Import ('env', 'collate') -collate (title = 'Advanced snippets') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/repeats/volta-multi-staff.ly b/input/lsr/repeats/volta-multi-staff.ly deleted file mode 100644 index 51120da003..0000000000 --- a/input/lsr/repeats/volta-multi-staff.ly +++ /dev/null @@ -1,28 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -By setting @code{voltaOnThisStaff}, repeat brackets can be put over -staves other than the topmost one in a score. -" } - -\layout { - ragged-right = ##t -} - -vmus = { - \repeat volta 2 c1 \alternative { d e } -} - -\relative c'' << - \new StaffGroup << - \context Staff \vmus - \new Staff \vmus - >> - \new StaffGroup << - \new Staff << - \set Staff.voltaOnThisStaff = ##t - \vmus >> - \new Staff \vmus - >> ->> diff --git a/input/lsr/rhythms/GNUmakefile b/input/lsr/rhythms/GNUmakefile index 3819fda13a..a3f0b2bfde 100644 --- a/input/lsr/rhythms/GNUmakefile +++ b/input/lsr/rhythms/GNUmakefile @@ -1,15 +1,12 @@ + depth = ../../../ STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc -## Hmm, would this work? No -- if we really want examples, move -## to other dir (input/) comes to mind. -## examples = font20 ancient-font -## LOCALSTEPMAKE_TEMPLATES += ly mutopia - EXTRA_DIST_FILES= include $(depth)/make/stepmake.make -TITLE=Advanced snippets +TITLE=Sample snippets from LSR + diff --git a/input/lsr/rhythms/SConscript b/input/lsr/rhythms/SConscript index f72bfffc28..cb39d4eab0 100644 --- a/input/lsr/rhythms/SConscript +++ b/input/lsr/rhythms/SConscript @@ -1,4 +1,5 @@ # -*-python-*- Import ('env', 'collate') -collate (title = 'Advanced snippets') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/simultaneous/AAA-intro.ly b/input/lsr/simultaneous/AAA-intro.ly new file mode 100644 index 0000000000..93c62a94e3 --- /dev/null +++ b/input/lsr/simultaneous/AAA-intro.ly @@ -0,0 +1,16 @@ +\version "2.10.0" + +\header{ +texidoc = " +@unnumbered Introduction + +This document shows examples from the +@uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}. + +In the web version of this document, you can click on the file name +or figure for each example to see the corresponding input file." +} + +% make sure .png is generated. +\markup{ "This document is for LilyPond version" #(ly:export(lilypond-version)) } + diff --git a/input/lsr/simultaneous/GNUmakefile b/input/lsr/simultaneous/GNUmakefile new file mode 100644 index 0000000000..a3f0b2bfde --- /dev/null +++ b/input/lsr/simultaneous/GNUmakefile @@ -0,0 +1,12 @@ + +depth = ../../../ + +STEPMAKE_TEMPLATES=documentation texinfo tex +LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc + +EXTRA_DIST_FILES= + +include $(depth)/make/stepmake.make + +TITLE=Sample snippets from LSR + diff --git a/input/lsr/simultaneous/SConscript b/input/lsr/simultaneous/SConscript new file mode 100644 index 0000000000..cb39d4eab0 --- /dev/null +++ b/input/lsr/simultaneous/SConscript @@ -0,0 +1,5 @@ +# -*-python-*- + +Import ('env', 'collate') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/staff/AAA-intro.ly b/input/lsr/staff/AAA-intro.ly index 4997892c3c..93c62a94e3 100644 --- a/input/lsr/staff/AAA-intro.ly +++ b/input/lsr/staff/AAA-intro.ly @@ -1,5 +1,4 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" +\version "2.10.0" \header{ texidoc = " diff --git a/input/lsr/staff/GNUmakefile b/input/lsr/staff/GNUmakefile index 43325ab698..a3f0b2bfde 100644 --- a/input/lsr/staff/GNUmakefile +++ b/input/lsr/staff/GNUmakefile @@ -4,13 +4,9 @@ depth = ../../../ STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc -## Hmm, would this work? No -- if we really want examples, move -## to other dir (input/) comes to mind. -## examples = font20 ancient-font -## LOCALSTEPMAKE_TEMPLATES += ly mutopia - EXTRA_DIST_FILES= include $(depth)/make/stepmake.make -TITLE=Advanced snippets +TITLE=Sample snippets from LSR + diff --git a/input/lsr/staff/SConscript b/input/lsr/staff/SConscript index f72bfffc28..cb39d4eab0 100644 --- a/input/lsr/staff/SConscript +++ b/input/lsr/staff/SConscript @@ -1,4 +1,5 @@ # -*-python-*- Import ('env', 'collate') -collate (title = 'Advanced snippets') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/staff/adding-an-extra-staff.ly b/input/lsr/staff/adding-an-extra-staff.ly deleted file mode 100644 index ceb7e74fe7..0000000000 --- a/input/lsr/staff/adding-an-extra-staff.ly +++ /dev/null @@ -1,31 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -You can add (possibly temporarily) an extra staff after the beginning -of a piece. -" } - -\score { - << - \new Staff \relative c''{ c1 c c c c } - \new StaffGroup \relative c''{ - \new Staff - c1 c - << c1 \new Staff { c1 } >> - c - } - >> - \layout { - - \context{ - \Score - - } - } -} - - - - - diff --git a/input/lsr/staff/changing-the-number-of-lines-in-a-staff.ly b/input/lsr/staff/changing-the-number-of-lines-in-a-staff.ly deleted file mode 100644 index 42b63564b6..0000000000 --- a/input/lsr/staff/changing-the-number-of-lines-in-a-staff.ly +++ /dev/null @@ -1,32 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The number of lines in a staff may changed by overriding -@code{line-count} in the properties of @code{StaffSymbol}. - - -" } - -upper = \relative c'' { - c1 d e f -} - -lower = \relative c { - c1 b a g -} - -\score { - \context PianoStaff << - \new Staff << - \upper - >> - \new Staff { - \override Staff.StaffSymbol #'line-count = #4 - \clef bass - \lower - } - >> - -} - diff --git a/input/lsr/staff/changing-the-staff-size.ly b/input/lsr/staff/changing-the-staff-size.ly deleted file mode 100644 index a59ffaf134..0000000000 --- a/input/lsr/staff/changing-the-staff-size.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -In order to change staff sizes, both @code{staff-space} and -@code{fontSize} must be scaled. -" } - -{ - \new Staff \relative c'' { \dynamicDown c8 \ff c c c c c c c } -} - -{ - \new Staff \with { - fontSize = #-3 - \override StaffSymbol #'staff-space = #(magstep -3) - } { - \clef bass - c8 c c c c c c c - } -} - diff --git a/input/lsr/staff/displaying-bar-numbers-on-all-measures.ly b/input/lsr/staff/displaying-bar-numbers-on-all-measures.ly deleted file mode 100644 index 817594dc9a..0000000000 --- a/input/lsr/staff/displaying-bar-numbers-on-all-measures.ly +++ /dev/null @@ -1,24 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -By default, bar numbers are printed only in the first measure. This -setting can be overridden, so that bar numbers appear on start of every -measure. - - -" } - -\score{ - \relative c'{ - c1 c c - \override Score.BarNumber - #'break-visibility = #end-of-line-invisible - \break - c c c - } - \layout{ raggedright = ##t } -} - - - diff --git a/input/lsr/staff/how-to-add-text-marks-at-the-end-of-a-line.ly b/input/lsr/staff/how-to-add-text-marks-at-the-end-of-a-line.ly deleted file mode 100644 index 8f90467458..0000000000 --- a/input/lsr/staff/how-to-add-text-marks-at-the-end-of-a-line.ly +++ /dev/null @@ -1,18 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -By default, rehearsal marks specified at the end of a line are printed -at the beginning of the next line (even if it is the end of the piece, -in such case the mark isn't printed at all). - -To avoid this, override the #'break-visibility property of the -RehearsalMark object, like in the following snippet. -" } - -\paper{ ragged-right=##t } -\relative g' { - g4 g g g | g g g g | g g g g | - \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible - \mark "D.C. al Fine" -} diff --git a/input/lsr/staff/inserting-bar-lines-everywhere.ly b/input/lsr/staff/inserting-bar-lines-everywhere.ly deleted file mode 100644 index fdc5b82c05..0000000000 --- a/input/lsr/staff/inserting-bar-lines-everywhere.ly +++ /dev/null @@ -1,17 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -By setting @code{barAlways} and @code{defaultBarType}, barlines may be -inserted automatically everywhere. -" } - -\score { - \relative c''{ - \set Score.barAlways = ##t - \set Score.defaultBarType = ":|:" - c4 c4 c4 c4 } - \layout{raggedright = ##t} -} - - diff --git a/input/lsr/staff/inserting-score-fragments-above-the-staff,-as-markups.ly b/input/lsr/staff/inserting-score-fragments-above-the-staff,-as-markups.ly deleted file mode 100644 index cde06757b2..0000000000 --- a/input/lsr/staff/inserting-score-fragments-above-the-staff,-as-markups.ly +++ /dev/null @@ -1,33 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The \markup command is quite versatile. In this snippet, it contains a -\score bloc instead of texts or marks. -" } - -tuning = \markup { - \score { - \new Staff \with { - \remove Time_signature_engraver - } { - \clef bass 1 - } - \layout { ragged-right = ##t } - } -} - - -\header { - title = "Solo Cello Suites" - subtitle = "Suite IV" - subsubtitle = \markup { "Originalstimmung:" \tuning } -} - -\relative { - \time 4/8 - \times 2/3 { c'8 d e } \times 2/3 {c d e} - \times 2/3 { c8 d e } \times 2/3 {c d e} - g8 a8 g8 a - g8 a8 g8 a -} diff --git a/input/lsr/staff/making-bar-numbers-appear-at-regular-intervals.ly b/input/lsr/staff/making-bar-numbers-appear-at-regular-intervals.ly deleted file mode 100644 index 5b758aa1b1..0000000000 --- a/input/lsr/staff/making-bar-numbers-appear-at-regular-intervals.ly +++ /dev/null @@ -1,31 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -If you would like the bar numbers to appear at regular intervals, but -not starting from measure zero, you can use a context function, -@code{set-bar-number-visibility}, to set automatically -@code{barNumberVisibility}, so that the bar numbers appear at regular -intervals, starting from the measure in which -@code{set-bar-number-visibility} is set using @code{\applycontext}. - - -" } - -resetBarnum = \context Score \applyContext - #(set-bar-number-visibility 4) -\score { - << - \transpose c c'' { - \override Score.BarNumber #'break-visibility =#end-of-line-invisible - \override Score.RehearsalMark #'padding = #2.5 - \mark "A" \resetBarnum - \repeat unfold 10 c1 - \mark \default \resetBarnum - \repeat unfold 8 c - \bar "|." - } - >> -\layout{ragged-right = ##t} -} - diff --git a/input/lsr/staff/naming-a-whole-grandstaff.ly b/input/lsr/staff/naming-a-whole-grandstaff.ly deleted file mode 100644 index 6aebb91c59..0000000000 --- a/input/lsr/staff/naming-a-whole-grandstaff.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -You can have a name for the whole @code{GrandStaff} in addition to -individual @code{Staff}s. -" } - -\score { - - \context GrandStaff << - \context Staff = "treble" { - \set GrandStaff.instrumentName = "Violini " - \set Staff.instrumentName = " vn I" { c''4 }} - \context Staff = "bass" { \set Staff.instrumentName = " vn II" c''4 }>> - - -\layout { -\context { \GrandStaff \consists "Instrument_name_engraver" } -}} - - diff --git a/input/lsr/staff/removing-the-key-signature-at-the-end-of-a-line.ly b/input/lsr/staff/removing-the-key-signature-at-the-end-of-a-line.ly deleted file mode 100644 index 5a39457f2e..0000000000 --- a/input/lsr/staff/removing-the-key-signature-at-the-end-of-a-line.ly +++ /dev/null @@ -1,21 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -According to normal typesetting conventions, LilyPond typesets key -changes at the end of the line, when the change appears at a line -break. This example shows how to change this default to only print the -new key signature at the beginning of the next line. - - -" } - -\score { - \relative c' { - \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible - c d e f | g a b c | \break - \key d \major - d cis b a | g fis e d | - } -} - diff --git a/input/lsr/staff/staff-brackets.ly b/input/lsr/staff/staff-brackets.ly deleted file mode 100644 index 6751f5ef4f..0000000000 --- a/input/lsr/staff/staff-brackets.ly +++ /dev/null @@ -1,48 +0,0 @@ -%% 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/staff/staff-containers.ly b/input/lsr/staff/staff-containers.ly deleted file mode 100644 index d97f091a00..0000000000 --- a/input/lsr/staff/staff-containers.ly +++ /dev/null @@ -1,63 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -In this preliminary test of a modern score, the staff lines are washed -out temporarily. This is done by making a tuned @code{StaffContainer}, -which @code{\skip}s some notes without printing lines either and -creates a @code{\new Staff} then in order to create the lines again. -(Be careful if you use this; it has been done by splitting the grouping -@code{Axis_group_engraver} and creating functionality into separate -contexts, but the clefs and time signatures may not do what you would -expect.) - - - -" } - -\score { - \relative c'' << - \new StaffContainer { - - %% need << >>, otherwise we descend to the voice inside SA - << \new Staff { c4 c4 } >> - \skip 4 % s4 would create staff. - - << \new Staff { b4 b4 } >> - } - \new StaffContainer { - \skip 4 - << \context Staff { e d f \bar ":|" } >> - \skip 4 - } - >> - - \layout { - \context { - \Score - \accepts StaffContainer - \denies Staff - } - \context { - \type Engraver_group - \consists Clef_engraver - \consists Time_signature_engraver - \consists Separating_line_group_engraver - \consists "Axis_group_engraver" - \accepts "Staff" - - \name StaffContainer - } - \context { - \Staff - \remove Axis_group_engraver - \remove Separating_line_group_engraver - \remove Clef_engraver - \remove Time_signature_engraver - } - raggedright=##t - } -} - - - diff --git a/input/lsr/staff/staff-line-positions.ly b/input/lsr/staff/staff-line-positions.ly deleted file mode 100644 index fc470e8115..0000000000 --- a/input/lsr/staff/staff-line-positions.ly +++ /dev/null @@ -1,12 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The vertical positions of staff lines may be specified individually, by -setting the @code{line-positions} property of the StaffSymbol. -" } - -\new Staff \relative c' { - \override Staff.StaffSymbol #'line-positions = #'(-7 -2 0 3 9) - g c f b e a -} diff --git a/input/lsr/text/AAA-intro.ly b/input/lsr/text/AAA-intro.ly index 4997892c3c..93c62a94e3 100644 --- a/input/lsr/text/AAA-intro.ly +++ b/input/lsr/text/AAA-intro.ly @@ -1,5 +1,4 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" +\version "2.10.0" \header{ texidoc = " diff --git a/input/lsr/text/GNUmakefile b/input/lsr/text/GNUmakefile index 3819fda13a..a3f0b2bfde 100644 --- a/input/lsr/text/GNUmakefile +++ b/input/lsr/text/GNUmakefile @@ -1,15 +1,12 @@ + depth = ../../../ STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc -## Hmm, would this work? No -- if we really want examples, move -## to other dir (input/) comes to mind. -## examples = font20 ancient-font -## LOCALSTEPMAKE_TEMPLATES += ly mutopia - EXTRA_DIST_FILES= include $(depth)/make/stepmake.make -TITLE=Advanced snippets +TITLE=Sample snippets from LSR + diff --git a/input/lsr/text/SConscript b/input/lsr/text/SConscript index f72bfffc28..cb39d4eab0 100644 --- a/input/lsr/text/SConscript +++ b/input/lsr/text/SConscript @@ -1,4 +1,5 @@ # -*-python-*- Import ('env', 'collate') -collate (title = 'Advanced snippets') +collate (title = 'Sample snippets from LSR') + diff --git a/input/lsr/text/blanking-staff-lines-using-the--whiteout-command.ly b/input/lsr/text/blanking-staff-lines-using-the--whiteout-command.ly deleted file mode 100644 index 1573df8c20..0000000000 --- a/input/lsr/text/blanking-staff-lines-using-the--whiteout-command.ly +++ /dev/null @@ -1,17 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The \whiteout command underlays a white box under a markup. Since staff -lines are in a lower layer than most other grobs, this white box will -not overlap any other grob. -" } - -\paper -{ - ragged-right = ##t -} -{ - \override TextScript #'extra-offset = #'(2 . 4) - c'4-\markup { \whiteout \pad-markup #0.5 foo } c -} diff --git a/input/lsr/text/creating-text-spanners.ly b/input/lsr/text/creating-text-spanners.ly deleted file mode 100644 index 1298be6c30..0000000000 --- a/input/lsr/text/creating-text-spanners.ly +++ /dev/null @@ -1,42 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The \startTextSpan and \stopTextSpan commands give you the ability to -create text spanners as easily as pedals indications or octavations. -Override some properties of the TextSpanner object to modify its -output. -" } - -\relative c''{ - \override TextSpanner #'edge-text = #'("bla" . "blu") - a \startTextSpan - b c - a \stopTextSpan - - \override TextSpanner #'dash-period = #2 - \override TextSpanner #'dash-fraction = #0.0 - a \startTextSpan - b c - a \stopTextSpan - - \revert TextSpanner #'style - \override TextSpanner #'style = #'dashed-line \override TextSpanner #'bound-details #'left #'text = \markup { \draw-line #'(0 . 1) } - \override TextSpanner #'bound-details #'right #'text = \markup { \draw-line #'(0 . -2) } - - a \startTextSpan - b c - a \stopTextSpan - - - \set Staff.middleCPosition = #-13 - - \override TextSpanner #'dash-period = #10 - \override TextSpanner #'dash-fraction = #.5 - \override TextSpanner #'thickness = #10 - a \startTextSpan - b c - a \stopTextSpan - \set Staff.middleCPosition = #-6 -} - diff --git a/input/lsr/text/demonstrating-the-power-and-flexibility-of-the--markup-function.ly b/input/lsr/text/demonstrating-the-power-and-flexibility-of-the--markup-function.ly deleted file mode 100644 index 585bc633e3..0000000000 --- a/input/lsr/text/demonstrating-the-power-and-flexibility-of-the--markup-function.ly +++ /dev/null @@ -1,54 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Here are some examples of how various markup texts can be obtained with -LilyPond syntax. You won't probably be needing all of them in a -standard score, but hey, you never know... -" } - -{ - f'1-\markup { - foo - \raise #0.2 \hbracket \bold bar - - \override #'(baseline-skip . 4) - \bracket \column { - baz - bazr - bla - } - \hspace #2.0 - \override #'(font-encoding . fetaMusic) { - \lookup #"noteheads-0" - } - \semiflat - { } - \combine "X" "+" - \combine "o" "/" - } - g'1-\markup { - % \char-number #"abc1234abc" - \box \column { - \line { "string 1" } - \line { "string 2" } - %% \concat { "f" "i" } - } - " " - \draw-circle #1 #0.3 ##f - " " - \draw-circle #1 #0.3 ##t - " " - \italic Norsk - \super "2" - " " - \raise #3.0 \whiteout white-out - \circle \dynamic p - \with-color #green Green - \dynamic sfzp - \huge { "A" \smaller "A" \smaller \smaller "A" - \smaller \smaller \smaller "A" } - \sub "alike" - } - c''4 -} 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 deleted file mode 100644 index 43e5ce2f17..0000000000 --- a/input/lsr/text/embedding-native-postscript-in-a--markup-bloc.ly +++ /dev/null @@ -1,23 +0,0 @@ -%% 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 -} diff --git a/input/lsr/text/flat-and-sharp-symbols-in-text-markups.ly b/input/lsr/text/flat-and-sharp-symbols-in-text-markups.ly deleted file mode 100644 index 568bd50ecd..0000000000 --- a/input/lsr/text/flat-and-sharp-symbols-in-text-markups.ly +++ /dev/null @@ -1,26 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -If you want to use flat or sharp symbols in text, you may want to -adjust the horizontal and vertical position of the \flat or \sharp. -" } - -raisedFlat = \markup { \translate #(cons -0.4 0.5) \smaller \flat } - - - \new Staff { - -\set Staff.instrumentName = \markup { \center-align { \line { Solo Clar. } {\line { "in B"\raisedFlat } } } } - -\relative c'{ - -des1^\markup { "D" \translate #(cons -0.3 0.4) \flat "major" } ~ | des | - -dis1^\markup { "D" \translate #(cons -0.3 0.9) \sharp "minor" } ~ | dis1 \bar "||" - - - } } - -\paper { -ragged-right = ##t } diff --git a/input/lsr/text/font-family-override.ly b/input/lsr/text/font-family-override.ly deleted file mode 100644 index 2ed4e772a0..0000000000 --- a/input/lsr/text/font-family-override.ly +++ /dev/null @@ -1,44 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The default font families for text can be overridden with -@code{make-pango-font-tree}. -" } - -\paper { - % change for other default global staff size. - myStaffSize = #20 - %{ - run - lilypond -dshow-available-fonts blabla - to show all fonts available in the process log. - %} - - #(define fonts - (make-pango-font-tree "Times New Roman" - "Nimbus Sans" - "Luxi Mono" -;; "Helvetica" -;; "Courier" - (/ myStaffSize 20))) -} - -\relative { - c'^\markup { - roman: foo \bold bla \italic bar \italic \bold baz - } - c'_\markup { - \override #'(font-family . sans) - { - sans: foo \bold bla \italic bar \italic \bold baz - } - } - c'^\markup { - \override #'(font-family . typewriter) - { - mono: foo \bold bla \italic bar \italic \bold baz - } - } -} - diff --git a/input/lsr/text/how-to-avoid-spaces-when-using-the--char-function-in-a--markup-text.ly b/input/lsr/text/how-to-avoid-spaces-when-using-the--char-function-in-a--markup-text.ly deleted file mode 100644 index ece5d4f37a..0000000000 --- a/input/lsr/text/how-to-avoid-spaces-when-using-the--char-function-in-a--markup-text.ly +++ /dev/null @@ -1,31 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -When you need to enter special characters using the \char command, an -unwanted space can appear before the character. You can avoid it by -adding the \concat command. - -In this snippet, we want to insert below the staff, using -<\char #'249> to get the correct last character in piu, but there's a -space between and . Thanks to the \concat command, the space -disappears. -" } - -\layout { - ragged-right = ##t -} - - -{ - c'1^\markup "Without \concat" | - d'2_\markup {{\italic{"pi"\char #'249 }}{\dynamic {" f"}}} c'2 | -} - -%%%% Please uncomment the following lines as soon as -%%%% we are using LilyPond 2.11.x - -%{ - % c'1^\markup "With \concat" | - % d'2_\markup { \italic { \concat { "pi" \char #'249 } }{\dynamic{" f"}}} c'2 | -%} diff --git a/input/lsr/text/how-to-bottom-align-texts-with-different-vertical-extents.ly b/input/lsr/text/how-to-bottom-align-texts-with-different-vertical-extents.ly deleted file mode 100644 index 541a5914f6..0000000000 --- a/input/lsr/text/how-to-bottom-align-texts-with-different-vertical-extents.ly +++ /dev/null @@ -1,22 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Some letters imply smaller vertical extents than the others; if you -have, below your staff, two markups with different vertical extents -(e.g. one text with letters \"t,h,l and/or UPPER CASE\" and one text -with \"a, c, e, n or m\"), LilyPond will align them to the top by -default, thus making it look a bit messy. Therefore, you need to add -invisible ascender letters using the \transparent command to make it -right. -" } - -\new Staff { - \override TextScript #'staff-padding = #4 - \override TextScript #'self-alignment-X = #center - \time 2/4 - c'4_\markup { \transparent "A" "WRONG" \transparent "A" } - c'4_\markup { "case" } - c'4_\markup { \transparent "A" "RIGHT" \transparent "A" } - c'4_\markup { \transparent "A" "case" \transparent "A" } -} diff --git a/input/lsr/text/inserting-large-plain-text-sections,-as-independent--markup-blocks.ly b/input/lsr/text/inserting-large-plain-text-sections,-as-independent--markup-blocks.ly deleted file mode 100644 index cd50dc1040..0000000000 --- a/input/lsr/text/inserting-large-plain-text-sections,-as-independent--markup-blocks.ly +++ /dev/null @@ -1,155 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -LilyPond can handle text almost as well as music notation: in a \book -block, you can enter different \score blocks, but also independent -\markup sections. This snippet also demonstrates some interesting text -formatting features such as \justify-string or \wordwrap-string (do not -forget the # character when using them). The \fill-line command -produces centered text, and you can define margins using \override -#'(line-width . X), where X is the width in staff spaces. -" } - -\paper { - ragged-bottom = ##f - } - -upper = \relative c'' { - \clef treble - \key c \major - \time 4/4 - - a b c d - } - - lower = \relative c { - \clef bass - \key c \major - \time 4/4 - - a2 c - } - \book { - \markup {\justify-string #"Lorem ipsum dolor sit amet -consectetuer adipiscing elit, - sed diam nonummy nibh euismod tincidunt ut laoreet dolore -magna aliquam erat volutpat. - Ut wisi enim ad minim veniam, quis nostrud exerci tation -ullamcorper suscipit lobortis - nisl ut aliquip ex ea commodo consequat. Duis autem vel eum -iriure dolor in hendrerit - in vulputate velit esse molestie consequat, vel illum dolore -eu feugiat nulla facilisis - at vero eros et accumsan et iusto odio dignissim qui blandit -praesent luptatum zzril - delenit augue duis dolore te feugait nulla facilisi. Nam -liber tempor cum soluta nobis - eleifend option congue nihil imperdiet doming id quod mazim -placerat facer possim assum. - Typi non habent claritatem insitam; est usus legentis in iis -qui facit eorum claritatem. - Investigationes demonstraverunt lectores legere me lius quod -ii legunt saepius. - Claritas est etiam processus dynamicus, qui sequitur -mutationem consuetudium lectorum. - Mirum est notare quam littera gothica, quam nunc putamus -parum claram, anteposuerit litterarum - formas humanitatis per seacula quarta decima et quinta -decima. Eodem modo typi, qui nunc nobis - videntur parum clari, fiant sollemnes in futurum."} - \score { - \new PianoStaff << - \set PianoStaff.instrumentName = "Piano " - \new Staff = "upper" \upper - \new Staff = "lower" \lower - >> - } - \markup {\wordwrap-string #"Lorem ipsum dolor sit amet -consectetuer adipiscing elit, - sed diam nonummy nibh euismod tincidunt ut laoreet dolore -magna aliquam erat volutpat. - Ut wisi enim ad minim veniam, quis nostrud exerci tation -ullamcorper suscipit lobortis - nisl ut aliquip ex ea commodo consequat. Duis autem vel eum -iriure dolor in hendrerit - in vulputate velit esse molestie consequat, vel illum dolore -eu feugiat nulla facilisis - at vero eros et accumsan et iusto odio dignissim qui blandit -praesent luptatum zzril - delenit augue duis dolore te feugait nulla facilisi. Nam -liber tempor cum soluta nobis - eleifend option congue nihil imperdiet doming id quod mazim -placerat facer possim assum. - Typi non habent claritatem insitam; est usus legentis in iis -qui facit eorum claritatem. - Investigationes demonstraverunt lectores legere me lius quod -ii legunt saepius. - Claritas est etiam processus dynamicus, qui sequitur -mutationem consuetudium lectorum. - Mirum est notare quam littera gothica, quam nunc putamus -parum claram, anteposuerit litterarum - formas humanitatis per seacula quarta decima et quinta -decima. Eodem modo typi, qui nunc nobis - videntur parum clari, fiant sollemnes in futurum."} - \score { - \new PianoStaff << - \set PianoStaff.instrumentName = "Piano " - \new Staff = "upper" \upper - \new Staff = "lower" \lower - >> - } - - \markup { - \fill-line { - \override #'(line-width . 60) - \justify-string #"Lorem ipsum dolor sit amet consectetuer -adipiscing elit, - sed diam nonummy nibh euismod tincidunt ut laoreet dolore -magna aliquam erat volutpat. - Ut wisi enim ad minim veniam, quis nostrud exerci tation -ullamcorper suscipit lobortis - nisl ut aliquip ex ea commodo consequat. Duis autem vel eum -iriure dolor in hendrerit - in vulputate velit esse molestie consequat, vel illum dolore -eu feugiat nulla facilisis - at vero eros et accumsan et iusto odio dignissim qui blandit -praesent luptatum zzril - delenit augue duis dolore te feugait nulla facilisi." } - } - - \score { - \new PianoStaff << - \set PianoStaff.instrumentName = "Piano " - \new Staff = "upper" \upper - \new Staff = "lower" \lower - >> - } - \markup {\justify-string #"Lorem ipsum dolor sit amet -consectetuer adipiscing elit, - sed diam nonummy nibh euismod tincidunt ut laoreet dolore -magna aliquam erat volutpat. - Ut wisi enim ad minim veniam, quis nostrud exerci tation -ullamcorper suscipit lobortis - nisl ut aliquip ex ea commodo consequat. Duis autem vel eum -iriure dolor in hendrerit - in vulputate velit esse molestie consequat, vel illum dolore -eu feugiat nulla facilisis - at vero eros et accumsan et iusto odio dignissim qui blandit -praesent luptatum zzril - delenit augue duis dolore te feugait nulla facilisi. Nam -liber tempor cum soluta nobis - eleifend option congue nihil imperdiet doming id quod mazim -placerat facer possim assum. - Typi non habent claritatem insitam; est usus legentis in iis -qui facit eorum claritatem. - Investigationes demonstraverunt lectores legere me lius quod -ii legunt saepius. - Claritas est etiam processus dynamicus, qui sequitur -mutationem consuetudium lectorum. - Mirum est notare quam littera gothica, quam nunc putamus -parum claram, anteposuerit litterarum - formas humanitatis per seacula quarta decima et quinta -decima. Eodem modo typi, qui nunc nobis - videntur parum clari, fiant sollemnes in futurum."} - } diff --git a/input/lsr/text/markup-lines.ly b/input/lsr/text/markup-lines.ly deleted file mode 100644 index 695d87dce1..0000000000 --- a/input/lsr/text/markup-lines.ly +++ /dev/null @@ -1,39 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.25" - -\header { - texidoc = "Text that can spread over pages is entered with the -@code{\\markuplines} command." -} - -#(set-default-paper-size "a6") - -#(define-markup-list-command (paragraph layout props args) (markup-list?) - (interpret-markup-list layout props - (make-justified-lines-markup-list (cons (make-hspace-markup 2) args)))) - -%% Candide, Voltaire -\markuplines \override-lines #'(baseline-skip . 2.5) { - \paragraph { - Il y avait en Westphalie, dans le château de M. le baron de - Thunder-ten-tronckh, un jeune garçon à qui la nature avait donné - les mœurs les plus douces. Sa physionomie annonçait son âme. - Il avait le jugement assez droit, avec l'esprit le plus simple ; - c'est, je crois, pour cette raison qu'on le nommait Candide. Les - anciens domestiques de la maison soupçonnaient qu'il était fils - de la sœur de monsieur le baron et d'un bon et honnête - gentilhomme du voisinage, que cette demoiselle ne voulut jamais - épouser parce qu'il n'avait pu prouver que soixante et onze - quartiers, et que le reste de son arbre généalogique avait été - perdu par l'injure du temps. - } - \paragraph { - Monsieur le baron était un des plus puissants seigneurs de la - Westphalie, car son château avait une porte et des fenêtres. Sa - grande salle même était ornée d'une tapisserie. Tous les chiens - de ses basses-cours composaient une meute dans le besoin ; ses - palefreniers étaient ses piqueurs; le vicaire du village était - son grand-aumônier. Ils l'appelaient tous monseigneur, et ils - riaient quand il faisait des contes. - } -} diff --git a/input/lsr/text/ordering-scripts-stack.ly b/input/lsr/text/ordering-scripts-stack.ly deleted file mode 100644 index b2619500ff..0000000000 --- a/input/lsr/text/ordering-scripts-stack.ly +++ /dev/null @@ -1,16 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Scripts can be stacked. The order is determined by a priority field, -but when objects have the same priority, the input order determines the -order. Objects specified first are closest to the note. - -You may also want to override the #'script-priority to give your Script -or TextScript overall priority (if you do so, remember to use \once if -you don't want the whole score to be affected). -" } - -\layout { ragged-right = ##t} - -\relative c'' { c4^"inner up"^"outer up"_"inner down"_"outer down" } diff --git a/input/lsr/text/preventing-long--mark-objects-to-stretch-a-measure.ly b/input/lsr/text/preventing-long--mark-objects-to-stretch-a-measure.ly deleted file mode 100644 index 5fefd8dccc..0000000000 --- a/input/lsr/text/preventing-long--mark-objects-to-stretch-a-measure.ly +++ /dev/null @@ -1,27 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -When you put a long \markup text in a \mark object, LilyPond stretches -the measure to encompass the complete markup. This can be avoided by -overriding the 'X-extent property of the RehearsalMark object, as -demonstrated in this snippet. -" } - -\paper{ indent = 0} - \new PianoStaff {<< - {\new Staff - \override Score.RehearsalMark #'self-alignment-X = #left - R1 R1 \mark \markup {"long markup with default horizontal extent"} R1*2 } - \new Staff {\repeat unfold 16 {c4}} - >> -} -\new PianoStaff {<< - {\new Staff - \override Score.RehearsalMark #'self-alignment-X = #left - \override Score.RehearsalMark #'X-extent = #'(0 . 0) - R1 R1 \mark \markup {"long markup without horizontal extent"} R1*2 } - \new Staff {\repeat unfold 16 {c4}} - >> -} - diff --git a/input/lsr/text/printing-the-title-on-every-page-of-your-score.ly b/input/lsr/text/printing-the-title-on-every-page-of-your-score.ly deleted file mode 100644 index 853c485a66..0000000000 --- a/input/lsr/text/printing-the-title-on-every-page-of-your-score.ly +++ /dev/null @@ -1,35 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -With this trick, the title of your work will be printed in small on top -of every page, using evenHeaderMarkup and oddHeaderMarkup. -" } - -\paper{ -oddHeaderMarkup = \markup -\fill-line { -\fromproperty #'header:title -" " % This will make sure that the header is never completely empty, to -% avoid some layout problems. Also, moving it in between the title and -% the page number, makes these be typeset left and right aligned, respectively. -\on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string -} - -evenHeaderMarkup = \markup -\fill-line { -\on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string -" " -\fromproperty #'header:title -} -} -\header { - title = "This title will be repeated" - subtitle = "whereas this subtitle won't" - } - - \score { \new Staff {\repeat unfold 8 { c'8 c'8 c'8 c'8 } \pageBreak -\repeat unfold 8 { c'8 c'8 c'8 c'8 } \pageBreak -\repeat unfold 8 { c'8 c'8 c'8 c'8 } \pageBreak -\repeat unfold 8 { c'8 c'8 c'8 c'8 } \pageBreak - } } diff --git a/input/lsr/text/rotating-a-text-object.ly b/input/lsr/text/rotating-a-text-object.ly deleted file mode 100644 index 567d41a984..0000000000 --- a/input/lsr/text/rotating-a-text-object.ly +++ /dev/null @@ -1,17 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -LilyPond gives you the ability to rotate any object you want, -particularly markups as showed here. Alternatively, you can use the -\column function to display your text vertically without rotating the -letters. -" } - -\score { - \relative c' { - c4^\markup {\rotate #45.0 {"hello"}} - c4^\markup {\rotate #90.0 {"hello"}} - c4^\markup {\column {"h" "e" "l" "l" "o"}} - } - } diff --git a/input/lsr/text/the--fill-line-command.ly b/input/lsr/text/the--fill-line-command.ly deleted file mode 100644 index 211ce22818..0000000000 --- a/input/lsr/text/the--fill-line-command.ly +++ /dev/null @@ -1,165 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The \fill-line command aligns and justifies markup text by setting as -many columns as required, in a given space. - -In this snippet we use numbers to (beautifully) show how the command -works; but when using text beware to use quotes if you want your words -to stay together: - -\fill-line @{The quick brown fox@} results in something like: - -The              quick                      brown                   fox - -\fill-line @{\"The quick brown fox\"@} results in something like: - -                        The quick brown fox -" } - -\paper { - line-width = 15\cm - bookTitleMarkup = \markup { - \column { - \fill-line { - 1 - } - \fill-line { - 1 - 2 - } - \fill-line { - 1 - 2 - 3 - } - \fill-line { - 1 - 2 - 3 - 4 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - } - \fill-line { - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - } - } - } -} - - \score { \new Staff \relative c''{ - \repeat unfold 4 c1 - } -} diff --git a/input/lsr/text/utf-8.ly b/input/lsr/text/utf-8.ly deleted file mode 100644 index 31d1a54ea8..0000000000 --- a/input/lsr/text/utf-8.ly +++ /dev/null @@ -1,64 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -%% 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