On 4/24/2018 10:50 AM, Robert Hickman wrote:
On 24 April 2018 at 15:41, Robert Hickman <robehick...@gmail.com> wrote:
\textLengthOn Makes lilypond format relative to the length of the
textual annotations instead of the notes. However it does this by
inserting a huge gap between the note with the annotation and the next
note. Is there a command that does the same thing relative to the bar
lines. e.g. formats notes normally and moves the gap to the end of the
bar?
I am annotating only the first note in the bar and the large gap which
is being added looks bad.

\version "2.18.2"

\header {tagline = ""}
{
     %\override TextScript.Y-offset = #5
     %\override TextScript.staff-padding = #5
     \numericTimeSignature
     \textLengthOn
     \time 4/4
     %\omit Staff.TimeSignature

     \partial 2 a'4\cut^\markup { Unprefixed }( a'4\strike) | a'4
(a'4\cut^\markup { Prefixed } a'4\strike)
}

_

A down and dirty quick fix for this example could be just to forget the textlength and just nudge it over a bit manually:
(see attached)

Does that work?

\version "2.19.81"

\header {tagline = ""}
{
    %\override TextScript.Y-offset = #5
    %\override TextScript.staff-padding = #5
    \numericTimeSignature
*% \textLengthOn*
    \time 4/4
    %\omit Staff.TimeSignature

    \partial 2 a'4^\markup { Unprefixed }(
*  \once \override NoteColumn.X-offset = #3*
    a'4) | a'4
(a'4^\markup { Prefixed } a'4)
}


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to