manually to prevent collisions.
" }
% begin verbatim
-{
\new Staff <<
\new Voice \with {
\consists "Ambitus_engraver"
es4 f g as b1
}
>>
-
-}
If you have multiple voices in a single staff and you want a single
ambitus per staff rather than per voice, add the
@code{Ambitus_engraver} to the @code{Staff} context rather than to the
-@code{Voice} context. This example uses
+@code{Voice} context. Therefore, in this example, one need to use
-@code{\\override Ambitus #'X-offset = #-1.0}
+@code{\\override Staff.Ambitus #'X-offset = #-1.0}
-to move the ambitus to the left. The same effect could have been
+to move the ambitus to the left. The same effect could also have been
achieved with @code{extra-offset}, but then the formatting system would
not reserve space for the moved object.
" }
\consists "Ambitus_engraver"
}
<<
- \new Voice \with {
- \remove "Ambitus_engraver"
- }
- \relative c'' {
- \override Ambitus #'X-offset = #-1.0
+ \new Voice \relative c'' {
+ \override Staff.Ambitus #'X-offset = #-1.0
\voiceOne
- c4 a d e f2
+ c4 a d e f1
}
- \new Voice \with {
- \remove "Ambitus_engraver"
- }
- \relative c' {
+ \new Voice \relative c' {
\voiceTwo
- es4 f g as b2
+ es4 f g as b1
}
>>
new line by default. If the warning clef at the end of the previous
line in not required it can be suppressed by setting the
explicitClefVisibility Staff property to the value
-@code{end-of-line-invisible: \\set Staff.explicitClefVisibility =
-#end-of-line-invisible} The default behaviour can be recovered with
-@code{\\unset Staff.explicitClefVisibility}.
+@code{end-of-line-invisible}. The default behaviour can be recovered
+with @code{\\unset Staff.explicitClefVisibility}.
The following examples show the possibilities when setting these
% begin verbatim
{
% The default treble clef
- c'4
+ c'1
% The standard bass clef
\set Staff.clefGlyph = #"clefs.F"
\set Staff.clefPosition = #2
\set Staff.middleCPosition = #6
- c'4
+ c'
% The baritone clef
\set Staff.clefGlyph = #"clefs.C"
\set Staff.clefPosition = #4
\set Staff.middleCPosition = #4
- c'4
+ c'
% The standard choral tenor clef
\set Staff.clefGlyph = #"clefs.G"
\set Staff.clefPosition = #-2
\set Staff.clefOctavation = #-7
\set Staff.middleCPosition = #1
- c'4
+ c'
% A non-standard clef
\set Staff.clefPosition = #0
\set Staff.clefOctavation = #0
\set Staff.middleCPosition = #-4
- c'4 \break
-
+ c' \break
+
+
% The following clef changes do not preserve
% the normal relationship between notes and clefs:
\set Staff.clefGlyph = #"clefs.F"
\set Staff.clefPosition = #2
- c'4
+ c'
\set Staff.clefGlyph = #"clefs.G"
- c'4
+ c'
\set Staff.clefGlyph = #"clefs.C"
- c'4
+ c'
\set Staff.clefOctavation = #7
- c'4
+ c'
\set Staff.clefOctavation = #0
\set Staff.clefPosition = #0
- c'4
+ c'
+
+ % Here we go back to the normal clef:
+
\set Staff.middleCPosition = #4
- c'4
+ c'
}
creating-blank-staves.ly
chant-or-psalms-notation.ly
-adding-a-figured-bass-above-or-below-the-notes.ly
+adding-and-extra-staff-at-a-line-break.ly
adding-an-extra-staff.ly
vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
engravers-one-by-one.ly
-adding-and-extra-staff-at-a-line-break.ly
+adding-a-figured-bass-above-or-below-the-notes.ly
-creating-blank-staves.ly
applying-noteheads-styles-depending-on-the-step-of-the-scale.ly
+creating-blank-staves.ly
changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
coloring-objects.ly
inserting-score-fragments-above-the-staff,-as-markups.ly
clefs-commonly-tweaked-properties.ly
blanking-staff-lines-using-the--whiteout-command.ly
forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
+formatting-lyrics-syllables.ly
changing-an-individual-notes-size-in-a-chord.ly
combining-dynamics-with-markup-texts.ly
creating-text-spanners.ly
-breathing-sign.ly
+adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
caesura-railtracks-with-fermata.ly
-adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
+breathing-sign.ly
center-text-below-hairpin-dynamics.ly
contemporary-glissando.ly
adding-parentheses-around-an-expressive-mark.ly
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+%% Tags: editorial-and-educational-use, text, vocal-music
+\version "2.11.35"
+
+\header { texidoc = "
+To format single lyrics syllables, you can simply use \\markup @{ ....
+@} on these lyrics!
+" }
+% begin verbatim
+% Tip taken from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00215.html
+\header {
+ title = "Markup can be used inside lyrics!"
+}
+% begin verbatim
+melody = \relative c'' { c4 c c c }
+lyr = \lyricmode {
+ Lyrics \markup { \italic can } \markup {\with-color #red contain }
+ \markup {\fontsize #8 \bold "Markup!" }
+}
+
+\context Staff <<
+ \context Voice = "mel" << \melody >>
+ \context Lyrics \lyricsto "mel" \lyr
+>>
+
\version "2.11.35"
\header { texidoc = "
-The commonly used @code{\\key} command sets the context property
-Staff.keySignature. However, non-standard key signatures can be
-specified by setting this property directly. The format of this command
-is a list: @code{ \\set Staff.keySignature =
- #'((octave . step) . alter) } where, for each element in the list,
-octave specifies the octave (0 being the octave from middle C to the B
-above), step specifies the note within the octave (0 means C and 6
-means B), and alter is ,SHARP ,FLAT ,DOUBLE-SHARP etc. (Note the
-leading comma.) Here is an example of a possible key signature for
-generating a whole-tone scale:
+The commonly used @code{\\key} command sets the @code{keySignature}
+property, in the @code{Staff} context. However, non-standard key
+signatures can be specified by setting this property directly. The
+format of this command is a list: @code{ \\set Staff.keySignature =
+#'(((octave . step) . alter) ((octave . step) . alter) ...) } where,
+for each element in the list, octave specifies the octave (0 being the
+octave from middle C to the B above), step specifies the note within
+the octave (0 means C and 6 means B), and alter is ,SHARP ,FLAT
+,DOUBLE-SHARP etc. (Note the leading comma.)
+However, for each item in the list, you can also use the alternative
+format (step . alter), which specifies that the same alteration should
+hold in all octaves.
+
+Here is an example of a possible key signature for generating a
+whole-tone scale:
" }
% begin verbatim
\relative c' {
applying-noteheads-styles-depending-on-the-step-of-the-scale.ly
-ambiti-multiple-voices.ly
+creating-a-sequence-of-notes-on-various-pitches.ly
transposing-pitches-with-minimum-accidentals-smart-transpose.ly
makam.ly
preventing-extra-naturals-from-being-automatically-added.ly
dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly
creating-music-with-scheme-music-box.ly
-creating-a-sequence-of-notes-on-various-pitches.ly
+ambiti-multiple-voices.ly
non-traditional-key-signatures.ly
altering-the-number-of-stems-in-a-beam.ly
-chant-or-psalms-notation.ly
-heavily-customized-polymetric-time-signatures.ly
+adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
conducting-signs,-measure-grouping-signs.ly
-skips-in-lyric-mode-2.ly
-automatic-beam-subdivisions.ly
+heavily-customized-polymetric-time-signatures.ly
rhythmic-slashes.ly
-adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
+skips-in-lyric-mode-2.ly
+manually-controlling-beam-positions.ly
+chant-or-psalms-notation.ly
changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly
making-an-object-invisible-with-the-transparent-property.ly
-manually-controlling-beam-positions.ly
+automatic-beam-subdivisions.ly
forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
controlling-tuplet-bracket-visibility.ly
beam-across-line-breaks.ly
-compound-time-signatures.ly
+skips-in-lyric-mode.ly
adding-drum-parts.ly
rest-styles.ly
-skips-in-lyric-mode.ly
+compound-time-signatures.ly
alignment-vertical-spacing.ly
vertically-aligning-ossias-and-lyrics.ly
page-label.ly
-adjusting-lyrics-vertical-spacing.ly
proportional-strict-notespacing.ly
+adjusting-lyrics-vertical-spacing.ly
creating-blank-staves.ly
+time-signature-in-parentheses.ly
adding-and-extra-staff-at-a-line-break.ly
changing-the-number-of-lines-in-a-staff.ly
-time-signature-in-parentheses.ly
+inserting-score-fragments-above-the-staff,-as-markups.ly
adding-an-extra-staff.ly
changing-the-staff-size.ly
quoting-another-voice-with-transposition.ly
clefs-commonly-tweaked-properties.ly
quoting-another-voice.ly
volta-multi-staff.ly
-inserting-score-fragments-above-the-staff,-as-markups.ly
non-traditional-key-signatures.ly
piano-template-with-centered-dynamics.ly
single-staff-template-with-notes-and-lyrics.ly
single-staff-template-with-only-notes.ly
-piano-template-with-centered-lyrics.ly
+jazz-combo-template.ly
score-for-diatonic-accordion.ly
piano-template-simple.ly
-string-quartet-template-with-separate-parts.ly
-ancient-notation-template----modern-transcription-of-gregorian-music.ly
ancient-notation-template----modern-transcription-of-mensural-music.ly
-piano-template-with-melody-and-lyrics.ly
+ancient-notation-template----modern-transcription-of-gregorian-music.ly
+single-staff-template-with-notes-and-chords.ly
string-quartet-template-simple.ly
single-staff-template-with-notes,-lyrics,-and-chords.ly
-single-staff-template-with-notes-and-chords.ly
-vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
-jazz-combo-template.ly
+piano-template-with-melody-and-lyrics.ly
+string-quartet-template-with-separate-parts.ly
vocal-ensemble-template.ly
+vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
+piano-template-with-centered-lyrics.ly
vocal-ensemble-template-with-automatic-piano-reduction.ly
piano-template-with-centered-lyrics.ly
demonstrating-all-headers.ly
changing-the-default-text-font-family.ly
-how-to-put-ties-between-syllables-in-lyrics.ly
+combining-two-parts-on-the-same-staff.ly
aligning-and-centering-instrument-names.ly
utf-8.ly
outputting-the-version-number.ly
blanking-staff-lines-using-the--whiteout-command.ly
-combining-two-parts-on-the-same-staff.ly
+formatting-lyrics-syllables.ly
+how-to-put-ties-between-syllables-in-lyrics.ly
markup-lines.ly
adjusting-lyrics-vertical-spacing.ly
aligning-lyrics.ly
chant-or-psalms-notation.ly
single-staff-template-with-notes-and-lyrics.ly
skips-in-lyric-mode-2.ly
+skips-in-lyric-mode.ly
vocal-ensemble-template-with-automatic-piano-reduction.ly
vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
how-to-put-ties-between-syllables-in-lyrics.ly
adding-ambiti-per-voice.ly
-piano-template-with-melody-and-lyrics.ly
-single-staff-template-with-notes,-lyrics,-and-chords.ly
-demo-midiinstruments.ly
vertically-aligning-ossias-and-lyrics.ly
+single-staff-template-with-notes,-lyrics,-and-chords.ly
+formatting-lyrics-syllables.ly
+piano-template-with-melody-and-lyrics.ly
aligning-lyrics.ly
vocal-ensemble-template.ly
adjusting-lyrics-vertical-spacing.ly
-skips-in-lyric-mode.ly
+demo-midiinstruments.ly