From 8c9707110c95ae764ee2c4d661fe6128a2fd9764 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Mon, 18 Jun 2007 21:39:40 -0700 Subject: [PATCH] LSR: automagic update. --- input/lsr/ancient/AAA-intro.ly | 17 +++++++ ...a-figured-bass-above-or-below-the-notes.ly | 31 ++++++++++++ ...ating-lilypond-support-for-figured-bass.ly | 28 +++++++++++ input/lsr/chords/AAA-intro.ly | 17 +++++++ input/lsr/connecting/AAA-intro.ly | 17 +++++++ input/lsr/contemporary/AAA-intro.ly | 17 +++++++ input/lsr/education/AAA-intro.ly | 17 +++++++ input/lsr/engravers/AAA-intro.ly | 17 +++++++ input/lsr/engravers/GNUmakefile | 16 +++++++ input/lsr/engravers/SConscript | 4 ++ input/lsr/expressive/AAA-intro.ly | 17 +++++++ ...-acciaccatura,-trillspan-and-aftergrace.ly | 39 +++++++++++++++ input/lsr/guitar/AAA-intro.ly | 17 +++++++ input/lsr/instrument-specific/AAA-intro.ly | 17 +++++++ input/lsr/instrument-specific/GNUmakefile | 16 +++++++ input/lsr/instrument-specific/SConscript | 4 ++ input/lsr/non-music/AAA-intro.ly | 17 +++++++ input/lsr/non-music/GNUmakefile | 16 +++++++ input/lsr/non-music/SConscript | 4 ++ input/lsr/non-music/toc.ly | 30 ++++++++++++ input/lsr/other/AAA-intro.ly | 17 +++++++ input/lsr/parts/AAA-intro.ly | 17 +++++++ input/lsr/pitch/AAA-intro.ly | 17 +++++++ input/lsr/repeats/AAA-intro.ly | 17 +++++++ input/lsr/scheme/AAA-intro.ly | 17 +++++++ input/lsr/spacing/AAA-intro.ly | 17 +++++++ input/lsr/spacing/page-label.ly | 47 +++++++++++++++++++ input/lsr/staff/AAA-intro.ly | 17 +++++++ input/lsr/text/AAA-intro.ly | 17 +++++++ .../flat-and-sharp-symbols-in-text-markups.ly | 26 ++++++++++ input/lsr/text/markup-lines.ly | 39 +++++++++++++++ ...g-the-title-on-every-page-of-your-score.ly | 35 ++++++++++++++ input/lsr/vocal/AAA-intro.ly | 17 +++++++ 33 files changed, 658 insertions(+) create mode 100644 input/lsr/ancient/AAA-intro.ly create mode 100644 input/lsr/ancient/adding-a-figured-bass-above-or-below-the-notes.ly create mode 100644 input/lsr/ancient/demonstrating-lilypond-support-for-figured-bass.ly create mode 100644 input/lsr/chords/AAA-intro.ly create mode 100644 input/lsr/connecting/AAA-intro.ly create mode 100644 input/lsr/contemporary/AAA-intro.ly create mode 100644 input/lsr/education/AAA-intro.ly create mode 100644 input/lsr/engravers/AAA-intro.ly create mode 100644 input/lsr/engravers/GNUmakefile create mode 100644 input/lsr/engravers/SConscript create mode 100644 input/lsr/expressive/AAA-intro.ly create mode 100644 input/lsr/expressive/how-to-print-a-classical-trill-combining-acciaccatura,-trillspan-and-aftergrace.ly create mode 100644 input/lsr/guitar/AAA-intro.ly create mode 100644 input/lsr/instrument-specific/AAA-intro.ly create mode 100644 input/lsr/instrument-specific/GNUmakefile create mode 100644 input/lsr/instrument-specific/SConscript create mode 100644 input/lsr/non-music/AAA-intro.ly create mode 100644 input/lsr/non-music/GNUmakefile create mode 100644 input/lsr/non-music/SConscript create mode 100644 input/lsr/non-music/toc.ly create mode 100644 input/lsr/other/AAA-intro.ly create mode 100644 input/lsr/parts/AAA-intro.ly create mode 100644 input/lsr/pitch/AAA-intro.ly create mode 100644 input/lsr/repeats/AAA-intro.ly create mode 100644 input/lsr/scheme/AAA-intro.ly create mode 100644 input/lsr/spacing/AAA-intro.ly create mode 100644 input/lsr/spacing/page-label.ly create mode 100644 input/lsr/staff/AAA-intro.ly create mode 100644 input/lsr/text/AAA-intro.ly create mode 100644 input/lsr/text/flat-and-sharp-symbols-in-text-markups.ly create mode 100644 input/lsr/text/markup-lines.ly create mode 100644 input/lsr/text/printing-the-title-on-every-page-of-your-score.ly create mode 100644 input/lsr/vocal/AAA-intro.ly diff --git a/input/lsr/ancient/AAA-intro.ly b/input/lsr/ancient/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/ancient/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/ancient/adding-a-figured-bass-above-or-below-the-notes.ly b/input/lsr/ancient/adding-a-figured-bass-above-or-below-the-notes.ly new file mode 100644 index 0000000000..acb771e151 --- /dev/null +++ b/input/lsr/ancient/adding-a-figured-bass-above-or-below-the-notes.ly @@ -0,0 +1,31 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +When writing a figured bass, here's a way to specify if you want your +figures to be placed above or below the bass notes, by defining the +BassFigureAlignmentPositioning #'direction property (exclusively in a +Staff context). Choices are #UP (or #1), #CENTER (or #0) and #DOWN (or +#-1). + +As you can see here, this property can be changed as many times as you +wish. Use \once \override if you dont want the tweak to apply to the +whole score. +" } + +bass = { \clef bass g4 b, c d e d8 c d2} +continuo = \figuremode { + < _ >4 < 6 >8 + \once \override Staff.BassFigureAlignmentPositioning #'direction = #CENTER + <5/> < _ >4 + \override Staff.BassFigureAlignmentPositioning #'direction = #UP + < _+ > < 6 > + \set Staff.useBassFigureExtenders = ##t + \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN + < 4 >4. < 4 >8 < _+ >4 + } +\score { + << \new Staff = bassStaff \bass + \context Staff = bassStaff \continuo >> +} + diff --git a/input/lsr/ancient/demonstrating-lilypond-support-for-figured-bass.ly b/input/lsr/ancient/demonstrating-lilypond-support-for-figured-bass.ly new file mode 100644 index 0000000000..6f31a6ada4 --- /dev/null +++ b/input/lsr/ancient/demonstrating-lilypond-support-for-figured-bass.ly @@ -0,0 +1,28 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +This snippet shows LilyPond's \"limited support\" (says the +Documentation) for figured bass... well, maybe not so limited after +all; moreover, though there are numerous BassFigure objects you can +always use text markups instead to get precisely what you need. + +You can find all of these examples in the manual; read the \"Figured +bass\" section to learn how to add a figured bass with simple but +powerful notation. +" } + +{ + << + \new Voice { \clef bass dis4 c d ais g fis e a r gis d b, f,! e c c c1} + \figures { + < 6 >4 < 7\+ >8 < 6+ [_!] > + < 6 >4 <6 5 [3+] > + < _ >4 < 6 5/>4 + <4- 6+ 7!> <5++> <3--> <7/> r <6\+ 5/> + < [4 6] 8 [_! 12] > < 5 \markup { \number 6 \super (1) } > + \set useBassFigureExtenders = ##t + <4 6> <3 6> <3 7> + } + >> +} diff --git a/input/lsr/chords/AAA-intro.ly b/input/lsr/chords/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/chords/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/connecting/AAA-intro.ly b/input/lsr/connecting/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/connecting/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/contemporary/AAA-intro.ly b/input/lsr/contemporary/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/contemporary/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/education/AAA-intro.ly b/input/lsr/education/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/education/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/engravers/AAA-intro.ly b/input/lsr/engravers/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/engravers/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/engravers/GNUmakefile b/input/lsr/engravers/GNUmakefile new file mode 100644 index 0000000000..43325ab698 --- /dev/null +++ b/input/lsr/engravers/GNUmakefile @@ -0,0 +1,16 @@ + +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 diff --git a/input/lsr/engravers/SConscript b/input/lsr/engravers/SConscript new file mode 100644 index 0000000000..f72bfffc28 --- /dev/null +++ b/input/lsr/engravers/SConscript @@ -0,0 +1,4 @@ +# -*-python-*- + +Import ('env', 'collate') +collate (title = 'Advanced snippets') diff --git a/input/lsr/expressive/AAA-intro.ly b/input/lsr/expressive/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/expressive/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/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 new file mode 100644 index 0000000000..fe3bd5b347 --- /dev/null +++ b/input/lsr/expressive/how-to-print-a-classical-trill-combining-acciaccatura,-trillspan-and-aftergrace.ly @@ -0,0 +1,39 @@ +%% 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/guitar/AAA-intro.ly b/input/lsr/guitar/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/guitar/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/instrument-specific/AAA-intro.ly b/input/lsr/instrument-specific/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/instrument-specific/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/instrument-specific/GNUmakefile b/input/lsr/instrument-specific/GNUmakefile new file mode 100644 index 0000000000..43325ab698 --- /dev/null +++ b/input/lsr/instrument-specific/GNUmakefile @@ -0,0 +1,16 @@ + +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 diff --git a/input/lsr/instrument-specific/SConscript b/input/lsr/instrument-specific/SConscript new file mode 100644 index 0000000000..f72bfffc28 --- /dev/null +++ b/input/lsr/instrument-specific/SConscript @@ -0,0 +1,4 @@ +# -*-python-*- + +Import ('env', 'collate') +collate (title = 'Advanced snippets') diff --git a/input/lsr/non-music/AAA-intro.ly b/input/lsr/non-music/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/non-music/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/non-music/GNUmakefile b/input/lsr/non-music/GNUmakefile new file mode 100644 index 0000000000..43325ab698 --- /dev/null +++ b/input/lsr/non-music/GNUmakefile @@ -0,0 +1,16 @@ + +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 diff --git a/input/lsr/non-music/SConscript b/input/lsr/non-music/SConscript new file mode 100644 index 0000000000..f72bfffc28 --- /dev/null +++ b/input/lsr/non-music/SConscript @@ -0,0 +1,4 @@ +# -*-python-*- + +Import ('env', 'collate') +collate (title = 'Advanced snippets') diff --git a/input/lsr/non-music/toc.ly b/input/lsr/non-music/toc.ly new file mode 100644 index 0000000000..8b988ea4b7 --- /dev/null +++ b/input/lsr/non-music/toc.ly @@ -0,0 +1,30 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.26" + +\header { + texidoc = "A table of contents is included using +@code{\\markuplines \\table-of-contents}. The toc items are added with +the @code{\\tocItem} command." +} + +#(set-default-paper-size "a6") + +\book { + \markuplines \table-of-contents + \pageBreak + + \tocItem \markup "The first score" + \score { + { + c'1 \pageBreak + \mark "A" \tocItem \markup "Mark A" + d' + } + } + \pageBreak + \tocItem \markup "The second score" + \score { + { e' } + \header { piece = "Second score" } + } +} \ No newline at end of file diff --git a/input/lsr/other/AAA-intro.ly b/input/lsr/other/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/other/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/parts/AAA-intro.ly b/input/lsr/parts/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/parts/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/pitch/AAA-intro.ly b/input/lsr/pitch/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/pitch/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/repeats/AAA-intro.ly b/input/lsr/repeats/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/repeats/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/scheme/AAA-intro.ly b/input/lsr/scheme/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/scheme/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/spacing/AAA-intro.ly b/input/lsr/spacing/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/spacing/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/spacing/page-label.ly b/input/lsr/spacing/page-label.ly new file mode 100644 index 0000000000..d2ea23efd9 --- /dev/null +++ b/input/lsr/spacing/page-label.ly @@ -0,0 +1,47 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.26" + +\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" "?")))) + +\book { + \markup \huge \fill-line { \null "Title Page" \null } + + \pageBreak + + \label #'toc + \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" + } + + \pageBreak + + \label #'firstScore + \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" } + } +} \ No newline at end of file diff --git a/input/lsr/staff/AAA-intro.ly b/input/lsr/staff/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/staff/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/text/AAA-intro.ly b/input/lsr/text/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/text/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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/text/flat-and-sharp-symbols-in-text-markups.ly b/input/lsr/text/flat-and-sharp-symbols-in-text-markups.ly new file mode 100644 index 0000000000..568bd50ecd --- /dev/null +++ b/input/lsr/text/flat-and-sharp-symbols-in-text-markups.ly @@ -0,0 +1,26 @@ +%% 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/markup-lines.ly b/input/lsr/text/markup-lines.ly new file mode 100644 index 0000000000..695d87dce1 --- /dev/null +++ b/input/lsr/text/markup-lines.ly @@ -0,0 +1,39 @@ +%% 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/printing-the-title-on-every-page-of-your-score.ly b/input/lsr/text/printing-the-title-on-every-page-of-your-score.ly new file mode 100644 index 0000000000..853c485a66 --- /dev/null +++ b/input/lsr/text/printing-the-title-on-every-page-of-your-score.ly @@ -0,0 +1,35 @@ +%% 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/vocal/AAA-intro.ly b/input/lsr/vocal/AAA-intro.ly new file mode 100644 index 0000000000..4997892c3c --- /dev/null +++ b/input/lsr/vocal/AAA-intro.ly @@ -0,0 +1,17 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\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)) } + -- 2.39.5