[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add text to score without affecting spacing
From: |
Kieren MacMillan |
Subject: |
Re: Add text to score without affecting spacing |
Date: |
Thu, 17 Feb 2022 16:58:51 -0500 |
Hi Jean,
> By the way: pedantically, I would recommend
Thanks for that.
> Basically, \null leads to point-stencil, which has
> the extent '(0 . 0) on both axes -- a single-point
> interval. That's small, but not totally empty.
> empty-interval is '(+inf.0 . -inf.0) which is truly
> empty, and this is the extent of empty-stencil on
> both axes.
I've found interesting failures when using empty-stencil, e.g., this snippet
based on a David K suggestion:
%%% SNIPPET BEGINS
\version "2.23.4"
ignoreH =
\propertyTweak horizontal-skylines ##f
\propertyTweak extra-spacing-width #empty-interval
\etc
ignoreV =
\propertyTweak vertical-skylines ##f
\propertyTweak extra-spacing-height #empty-interval
\etc
ignore = \ignoreH \ignoreV \etc
{
c'4-\ignore _\f
% c'4-\ignore ^\markup "test" %% uncomment to see failure
}
%%% SNIPPET ENDS
Sometime it's very hard to know what to use in Lilypond… <sigh>
— Kieren