[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus in t
From: |
Trent Johnston |
Subject: |
Re: Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus in the header. |
Date: |
Tue, 27 Dec 2005 15:31:06 +1100 |
Thanx for the hints. I've successfully hidden the tuplet numbers.
The lyrics and barline question is proving troublesome...
where do I put the \consists "Separating_line_group_engraver"
in the example below? (taken from the regression tests.) I've put it
everywhere with no changes.
I also assume once it's working that this needs to be added to all lyric
voices in a piece.
Any help appreciated.
Regards,
Trent
% ****************************************************************
% ly snippet:
% ****************************************************************
\renameinput "lyrics-bar.ly"
\version "2.7.13"
\header{
texidoc="
Adding a @code{Bar_engraver} to the Lyrics context makes sure that
lyrics do not collide with barlines.
"
}
\layout {
raggedright = ##t
}
<<
\context Staff = "foo" \with
{
% \remove "Bar_engraver"
}
{
b1 \bar "|:" b1 \bar ":|"
}
\context Lyrics \with {
\consists "Bar_engraver"
\override BarLine #'bar-size = #4
} \lyricmode {
looooooooooooooooooooooooooooooooooong1 syllable
}
\lyrics {
no Bar_Engraver_Bar_Engraver_Bar_Engraver
}
\context Staff = "bar" \with {
% \remove "Bar_engraver"
} { b1 b1 }
>>
% ****************************************************************
% end ly snippet
% ****************************************************************
----- Original Message -----
From: "Han-Wen Nienhuys" <address@hidden>
To: "Trent Johnston" <address@hidden>
Cc: <address@hidden>
Sent: Monday, December 26, 2005 11:04 PM
Subject: Re: Hiding Tuplet Numbers / Lyrics and Barlines and the Use of Opus
in the header.
> Trent Johnston wrote:
> > My first question is how do you hide a tuplet number ... the old command
> >
> > \override TupletBracket #'number-visibility = ##f does not seem
to
> > work any more. Nor does
> > \override TupletNumber #'number-visibility = ##f .
>
> try TupletNumber #'transparent = ##t
>
> > My second question is the "lyrics-bar.ly" in the regression tests
doesn't
> > appear to work any more. I want to make the lyrics stay within the bar.
> > Especially at the end of a stave where sometimes a lyric can hang past
the
> > barline.
> >
>
> you have to do
>
> \consists "Separating_line_group_engraver"
>
> for the Lyrics context too.
>
> > My third question is when using "Opus" in a header. When I use this
command
> > it seems to be repeated at the beginning of each new section when a
piece
> > made up of smaller pieces is joined together.
>
> Yes, that's default behavior. Perhaps we ought to change it, but for
> now, the easiest is to tune scoreTitleMarkup in the \paper block
> see ly/titling-init.ly for inspiration.
>
> --
> Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
>