From 0f6b0bd5d43e7467ff1ac1c19f236d8d7b9baabd Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Mon, 21 Jan 2008 20:57:59 -0800 Subject: [PATCH] LSR: normal update. --- ...entals-for-each-note-including-naturals.ly | 2 -- input/lsr/ottava-text.ly | 23 +++++++++++++++++++ input/lsr/pitches.snippet-list | 3 ++- input/lsr/text.snippet-list | 5 ++-- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 input/lsr/ottava-text.ly diff --git a/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly b/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly index d447a6e419..a303f0ee02 100644 --- a/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly +++ b/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly @@ -13,8 +13,6 @@ new approach to music theory and language. This snippet shows how to achieve such notation rules with LilyPond. " } % begin verbatim -% thanks to Rune Zedeler for this cool function :) - webernAccidentals = { % the 5s are just "a value different from any accidental" \set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5) diff --git a/input/lsr/ottava-text.ly b/input/lsr/ottava-text.ly new file mode 100644 index 0000000000..7770b898bb --- /dev/null +++ b/input/lsr/ottava-text.ly @@ -0,0 +1,23 @@ +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% This file is in the public domain. +%% Tags: pitches, text +\version "2.11.35" + +\header { texidoc = " +Internally, the set-octavation function sets the properties +@code{ottavation} (e.g., to @code{\"8va\"} or @code{\"8vb\"}) and +@code{middleCPosition}. To override the text of the bracket, set +@code{ottavation} after invoking @code{set-octavation}, like in the +following example. +" } +% begin verbatim +{ + #(set-octavation 1) + \set Staff.ottavation = #"8" + c''1 + #(set-octavation 0) + c'1 + #(set-octavation 1) + \set Staff.ottavation = #"Text" + c''1 +} diff --git a/input/lsr/pitches.snippet-list b/input/lsr/pitches.snippet-list index e186d5eac5..c91d9e7555 100644 --- a/input/lsr/pitches.snippet-list +++ b/input/lsr/pitches.snippet-list @@ -1,7 +1,8 @@ applying-noteheads-styles-depending-on-the-step-of-the-scale.ly creating-a-sequence-of-notes-on-various-pitches.ly -transposing-pitches-with-minimum-accidentals-smart-transpose.ly makam.ly +transposing-pitches-with-minimum-accidentals-smart-transpose.ly +ottava-text.ly preventing-extra-naturals-from-being-automatically-added.ly generating-random-notes.ly quoting-another-voice-with-transposition.ly diff --git a/input/lsr/text.snippet-list b/input/lsr/text.snippet-list index f32630bbbf..7a103584fc 100644 --- a/input/lsr/text.snippet-list +++ b/input/lsr/text.snippet-list @@ -1,8 +1,9 @@ combining-dynamics-with-markup-texts.ly creating-text-spanners.ly vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly +markup-lines.ly center-text-below-hairpin-dynamics.ly -piano-template-with-centered-lyrics.ly +ottava-text.ly demonstrating-all-headers.ly changing-the-default-text-font-family.ly combining-two-parts-on-the-same-staff.ly @@ -12,6 +13,6 @@ outputting-the-version-number.ly blanking-staff-lines-using-the--whiteout-command.ly formatting-lyrics-syllables.ly how-to-put-ties-between-syllables-in-lyrics.ly -markup-lines.ly +piano-template-with-centered-lyrics.ly adjusting-lyrics-vertical-spacing.ly aligning-lyrics.ly -- 2.39.5