lilypond-user
[Top][All Lists]
Advanced

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

Re: Some text formatting advice


From: Urs Liska
Subject: Re: Some text formatting advice
Date: Mon, 23 Jul 2018 15:52:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0



Am 23.07.2018 um 15:25 schrieb Torsten Hämmerle:
Urs Liska-3 wrote
Now I'll "only" have to find a reliable way of referring the block text
formatting to LaTeX (and in a way that it looks consistent with the
remaining text ...

Yes, LaTeX adds a new level of complexity (at least as far as consistent
typography is concerned), but after all, it'd be great if LilyPond had some
of the mighty TeX features (boxes in general, italic correction, etc.).

It was agreed upon (IIRC) to *not* try to achieve that same quality. After all, that's what LaTeX is essentially renowned for. What seems like a somewhat more natural (although anything but straightforward) approach is to make it easier to include text elements/blocks that have been encoded in the .ly file and typeset with LaTeX.


But (back to topic) I just noticed that your first "Longa." box had an empty
third line.

If you remove this empty third line, even without overriding
outside-staff-priority, the markup box will not be pushed up as long as the
notes fit beneath it. It was this "place holder's" fault that the text had
been pushed up,

staff-padding will use the top line of the box for alignment and you don't
need to fill it up by adding empty lines.
I just inserted an empty line in between to match the faksimile.

This all seems confusing because one does not see exaclty what's happening
and how positioning is actually done.
In these cases, I often use boxes (with box-padding 0) around markup blocks
in order to see the actual extents of the markup. From LilyPond's point of
view, this does not happen "without no need" at all, and the box clearly
shows the empty third line adding to the box depth.

<http://lilypond.1069038.n5.nabble.com/file/t3887/test-text-align-2.png>

above: invisible empty line causes unwanted offset.
below: skylines work as expected

Thanks for the clarification, I think I see it now.

Best
Urs

HTH
Torsten



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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




reply via email to

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