[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Realigning the Meter header text to the center
From: |
William Rehwinkel |
Subject: |
Re: Realigning the Meter header text to the center |
Date: |
Sat, 21 Dec 2024 16:48:57 -0500 |
User-agent: |
Mozilla Thunderbird |
Dear Stephen,
In the future, could you please copy-paste the text into the email or
attach it as a file? It will make it easier for us to start with that
file instead of transcribing the text from a screenshot.
In the meantime, give this a try and see if it works. We can override
the bookTitleMarkup variable which is defined in /ly/titling-init.ly
like this. Let me know if this is what you were looking for.
Thanks,
-William
% ------------
\version "2.25.21"
\header {
title="hymn title"
composer = "composer"
poet = "poet"
tune = "tune name"
meter = "C.M.D."
}
\relative c' c4
\paper {
bookTitleMarkup = \markup {
\override #'(baseline-skip . 3.5)
\column {
\fill-line { % this part is different
\null
\line {
\fromproperty #'header:tune
\fromproperty #'header:meter
}
\null
}
\fill-line { \fromproperty #'header:dedication }
\override #'(baseline-skip . 3.5)
\column {
\fill-line {
\huge \larger \larger \bold
\fromproperty #'header:title
}
\fill-line {
\large \bold
\fromproperty #'header:subtitle
}
\fill-line {
\smaller \bold
\fromproperty #'header:subsubtitle
}
\fill-line {
\fromproperty #'header:poet
{ \large \bold \fromproperty #'header:instrument }
\fromproperty #'header:composer
}
}
}
}
}
% ------------
On 12/21/24 16:08, Stephen Fry wrote:
I've been using the default header settings with the text values set as
shown in the snippet and the pdf output shown below. However, I would
like the meter (10.9.10.9.D) to be centered at the top of the page and
next to the tune name (whose variable I will likely have to create
manually). I tried using the example in Documentation 3.3.2 > Custom
layout for titles to change the alignment, but this doesn't seem to work
the same way for "meter" as it does for "title" or "piece" ???
YES, the lyrics, tune, and harmony *are all in the public domain*.
Could somebody show a way to edit the alignment of the "meter"
variable? Note: While the documentation came from the manual for the
unstable release, I've been using V 2.18.2. I've run out of space on my
local disk, so I cannot upgrade LilyPond without doing a lot of memory
management. I would like to get this fixed as soon as possible to send
to the printer.
Snippet:
image.png
Output currently:
image.png
Thank you,
Stephen F.
--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
william@williamrehwinkel.net - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt
OpenPGP_signature.asc
Description: OpenPGP digital signature