[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bottom-right-aligned, multi-line paragraphs within headings
From: |
Lukas-Fabian Moser |
Subject: |
Re: Bottom-right-aligned, multi-line paragraphs within headings |
Date: |
Tue, 8 Jun 2021 19:06:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
Hi Brent,
This is marvellous, thank you! Just one question: if I wanted to
remove the preceding zeros from the number, how would I do that?
Just omit the (not very elegant) code that I added in order to add the
preceding zeros. :-)
To wit, replace
(markup (format #f
(string-append "~" (number->string digits)
",'0d")
n)))
by
(number->string n))
I attach a complete version.
One problem with my code is the fine-tuning of the bottom-alignment of
the various \markup's: If you look closely, you see that LilyPond
doesn't use the baselines of the text lines, but the actual lowest point
of the markups: The lowest point of "Gottes Sohn ist kommen" (no
descenders) are aligned to the lowest point of the 'g' in 'long'. Not
ideal, but I don't know how to improve this.
Lukas
lilypond_text_alignment_3.ly
Description: Text Data
- Bottom-right-aligned, multi-line paragraphs within headings, Brent Annable, 2021/06/08
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Lukas-Fabian Moser, 2021/06/08
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Lukas-Fabian Moser, 2021/06/08
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Brent Annable, 2021/06/08
- Re: Bottom-right-aligned, multi-line paragraphs within headings,
Lukas-Fabian Moser <=
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Brent Annable, 2021/06/08
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Carl Sorensen, 2021/06/09
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Thomas Morley, 2021/06/09
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Lukas-Fabian Moser, 2021/06/09
- Re: Bottom-right-aligned, multi-line paragraphs within headings, Brent Annable, 2021/06/10