From: fred Date: Wed, 27 Mar 2002 02:00:09 +0000 (+0000) Subject: lilypond-1.5.8 X-Git-Tag: release/1.5.59~500 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=417ae652a686b3be9bf11a12c9d6ef4268bd724f;p=lilypond.git lilypond-1.5.8 --- diff --git a/input/bugs/lyrics-bar.ly b/input/bugs/lyrics-bar.ly new file mode 100644 index 0000000000..97239ab950 --- /dev/null +++ b/input/bugs/lyrics-bar.ly @@ -0,0 +1,47 @@ +\version "1.3.148" + +% +% + +\header{ +texidoc = " +Adding a @code{Bar_engraver} to the LyricsVoice context makes sure that +lyrics don't collide with barlines. + +Lyrics with barline colliding is fine now, BUT +There's an horizontal gap between staff and end bar . +" +} + +\score { + \context StaffGroup < + \notes \context Staff { + b1 \bar "|:" b1 \bar ":|" + } + \lyrics\context Lyrics < + \context LyricsVoiceWithBars { +% thisContextHasBarEngraver1 added + ThisContextCertainlyHasBarEngraverAddedButThereHasBeenSomethingFunnyBefore1. Here. + } + \context LyricsVoice { + this4 one has no BarEngraverAddedToContext1 + } + > + \notes \context Staff = SB { b1 b1 } + > + \paper { + linewidth = -1.0\cm + \translator { + \LyricsContext + \accepts "LyricsVoiceWithBars" + } + \translator { + \LyricsVoiceContext + \consists "Bar_engraver" + \name "LyricsVoiceWithBars" + } + \translator { + \LyricsVoiceContext + } + } +}