|
From: | Lukas-Fabian Moser |
Subject: | Re: Mandatory dashes in lyrics |
Date: | Mon, 11 Oct 2021 07:46:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
Hi Aaron, Am 11.10.21 um 04:23 schrieb Aaron Hill:
You can force a LyricHyphen to appear: %%%% forceHyphen = \lyricmode { \once \override LyricHyphen.minimum-distance = #1.5 } music = \fixed c' { \key f \major \time 3/4 a2 4 | a4( g) a | c'4( bes) a | a4 g r } { \music } \addlyrics { And the white -- robed mar -- tyrs fol -- low, } { \music } \addlyrics { And the \forceHyphen white -- robed mar -- tyrs fol -- low, } %%%%Note that since the -- must appear directly after the text, you will need to apply this override before the text.
Thanks! I modified this a bit: forceHyphen = { \once\override LyricHyphen.length = 1 \once\override LyricHyphen.minimum-distance = 1 \override LyricHyphen.after-line-breaking = ##t }which for my use case seemed to look more natural and also caters for the case of a line break at the hyphen.
Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |