bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lilypond-book clipping does not take into account the height of the choi


From: John Szwast
Subject: Lilypond-book clipping does not take into account the height of the choirstaff bracket
Date: Thu, 21 Mar 2013 02:17:53 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

The choirstaff bracket gets clipped if no other element extends as far up and
down.  The treble cleff sign extends far enough up to keep the top of the
choirstaff bracket, and note stems that hang below the bass staff will prevent
the choirstaff bracket from being clipped on the bottom.  But if no other
element extends above the treble staff or below the bass staff, then the
choirstaff bracket will be clipped off.  Below is an example demonstrating no
clipping, clipping only on top, clipping only on the bottom, and clipping on
both sides.

I an running Mint 14.  This includes lilypond version 2.14.2.  I run
lilypond-book with the --pdf option.


\documentclass{article}

\begin{document}

        \begin{lilypond}
                \score
                {
                        \context ChoirStaff
                        <<
                                \context Staff = women
                                <<
                                        \key f \major
                                        \clef treble
                                        \time 2/4
                                        \context Voice = "sopranos"
                                        {
                                                \voiceOne
                                                \relative g'
                                                {
                                                        g4 g g g g g
                                                }
                                        }
                                >>
                                \new Lyrics \lyricsto "sopranos"
                                {
                                        This line will not be clipped.
                                }
                                \context Staff = men
                                <<
                                        \key f \major
                                        \clef bass
                                        \time 2/4
                                        \context Voice = "bass"
                                        {
                                                \voiceTwo
                                                \relative c
                                                {
                                                        c4 c c c c c
                                                }
                                        }
                                >>
                        >>
                }
        \end{lilypond}

        \begin{lilypond}
                \score
                {
                        \context ChoirStaff
                        <<
                                \context Staff = women
                                <<
                                        \key f \major
                                        \clef bass
                                        \time 2/4
                                        \context Voice = "sopranos"
                                        {
                                                \voiceTwo
                                                \relative g
                                                {
                                                        g4 g g g g g g
                                                }
                                        }
                                >>
                                \new Lyrics \lyricsto "sopranos"
                                {
                                        This line will be clipped on top.
                                }
                                \context Staff = men
                                <<
                                        \key f \major
                                        \clef bass
                                        \time 2/4
                                        \context Voice = "bass"
                                        {
                                                \voiceTwo
                                                \relative c
                                                {
                                                        c4 c c c c c c
                                                }
                                        }
                                >>
                        >>
                }
        \end{lilypond}

        \begin{lilypond}
                \score
                {
                        \context ChoirStaff
                        <<
                                \context Staff = women
                                <<
                                        \key f \major
                                        \clef treble
                                        \time 2/4
                                        \context Voice = "sopranos"
                                        {
                                                \voiceOne
                                                \relative g'
                                                {
                                                        g4 g g g g g g g
                                                }
                                        }
                                >>
                                \new Lyrics \lyricsto "sopranos"
                                {
                                        This line will be clipped on bot -- tom.
                                }
                                \context Staff = men
                                <<
                                        \key f \major
                                        \clef bass
                                        \time 2/4
                                        \context Voice = "bass"
                                        {
                                                \voiceTwo
                                                \relative f
                                                {
                                                        f4 f f f f f f f
                                                }
                                        }
                                >>
                        >>
                }
        \end{lilypond}

        \begin{lilypond}
                \score
                {
                        \context ChoirStaff
                        <<
                                \context Staff = women
                                <<
                                        \key f \major
                                        \clef bass
                                        \time 2/4
                                        \context Voice = "sopranos"
                                        {
                                                \voiceTwo
                                                \relative g
                                                {
                                                        g4 g g g g g g
                                                }
                                        }
                                >>
                                \new Lyrics \lyricsto "sopranos"
                                {
                                        This line will be clipped on both.
                                }
                                \context Staff = men
                                <<
                                        \key f \major
                                        \clef bass
                                        \time 2/4
                                        \context Voice = "bass"
                                        {
                                                \voiceOne
                                                \relative c
                                                {
                                                        c4 c c c c c c
                                                }
                                        }
                                >>
                        >>
                }
        \end{lilypond}

\end{document}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]