lilypond-user
[Top][All Lists]
Advanced

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

Re: \textLengthOn relative to bar lines instead of following note


From: Ben
Subject: Re: \textLengthOn relative to bar lines instead of following note
Date: Tue, 24 Apr 2018 11:01:22 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 4/24/2018 10:50 AM, Robert Hickman wrote:
On 24 April 2018 at 15:41, Robert Hickman <address@hidden> 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)
}


Attachment: bump.png
Description: PNG image


reply via email to

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