Skip to content

Bug: Page Width when Header contains no poet #327

@jojomi

Description

@jojomi

I seem to have a bug when I set a title in the header in a lilypond environment, but no poet:

% good (no title, no poet)
\begin{lilypond}
\relative c' { c d e f g a b c c d e f g a b c c d e f g a b c c d e f g a b c }
\end{lilypond}

% bad (title, but no poet)
\begin{lilypond}
\header {
    title = "Mein Test"
    poet = " " % same is "" and ##f
    composer = " "
}
\score {
    \new Staff {
        \relative c' { c d e f g a b c c d e f g a b c c d e f g a b c c d e f g a b c }
    }
}
\end{lilypond}

% good (title and non-empty poet)
\begin{lilypond}
\header {
    title = "Mein Test"
    poet = "Bach"
    composer = " "
}
\score {
    \new Staff {
        \relative c' { c d e f g a b c c d e f g a b c c d e f g a b c c d e f g a b c }
    }
}
\end{lilypond}

Image

Any idea what is going wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions