[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Markup vertical alignment
From: |
David Kastrup |
Subject: |
Re: Markup vertical alignment |
Date: |
Wed, 20 May 2020 17:43:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Valentin Villenave <address@hidden> writes:
> On 5/20/20, Phil Holmes <address@hidden> wrote:
>> Could someone oblige?
>
> Happy to:
> https://gitlab.com/lilypond/lilypond/-/merge_requests/67
>
> I also took the opportunity of addressing a comment I left when
> writing NR 1.8 more than a dozen years ago, about \hspace and \vspace
> (the latter of which was not even officially included back then). Talk
> about a blast from the past…
\hspace and \vspace have changed since then in that they have empty
height and width, respectively (not even including a single point). And
the spacing engine takes that as a clue not to add additional normal
separation space (interword, linespace).
So they usually take up less space than previously and are more
convenient.
\markup { word \hspace #0 space }
now is the same visually as
\markup { word space }
when it used to add wordspace twice, once before \hspace #0 and once
behind it.
--
David Kastrup