[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exchange LyricHyphen with a "proper" hyphen
From: |
Knut Petersen |
Subject: |
Re: exchange LyricHyphen with a "proper" hyphen |
Date: |
Wed, 7 Dec 2016 11:37:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Hi Alexander!
every now and then, I use a font for lyrics where the hyphen is quite different from Lilypond's LyricHyphen (in particular, sometimes it's slightly slanted). That combined with lyrics where a hyphen has to appear looks, well, ugly. (Recent example: a repetition of part of a word that has to be
written as { ro -- sen-, ro -- sen -- rot }.)
I failed with [...]
Did anyone ever successfully try to do that, or has an idea how to approach
such a tweak?
Yes, there is a solution in my local git repository. To activate the code you
would include something like
\override Lyrics.LyricText #'font-size = #+1.5
\override Lyrics.LyricHyphen.use-markup = ##t
\override Lyrics.LyricHyphen.text = "-"
\override Lyrics.LyricHyphen #'font-size = #'1.5
\override Lyrics.LyricHyphen #'font-name = "OffenbacherSchwab OT"
\override Lyrics.LyricHyphen #'minimum-distance = #0.8
into \layout{}. It's on top of some other changes either not published or not
accepted, but I could tear it out.
Of course, you would need to rebuild lilypond as the solution requires changes
to the c++ sources.
cu,
Knut
- exchange LyricHyphen with a "proper" hyphen, Alexander Kobel, 2016/12/06
- Re: exchange LyricHyphen with a "proper" hyphen,
Knut Petersen <=
- Re: exchange LyricHyphen with a "proper" hyphen, Alexander Kobel, 2016/12/07
- Re: exchange LyricHyphen with a "proper" hyphen, Simon Albrecht, 2016/12/07
- Re: exchange LyricHyphen with a "proper" hyphen, Thomas Morley, 2016/12/07
- Re: exchange LyricHyphen with a "proper" hyphen, Alexander Kobel, 2016/12/07
- Re: exchange LyricHyphen with a "proper" hyphen, Alexander Kobel, 2016/12/09
- Re: exchange LyricHyphen with a "proper" hyphen, Noeck, 2016/12/10
- Re: exchange LyricHyphen with a "proper" hyphen, Alexander Kobel, 2016/12/10
- Re: exchange LyricHyphen with a "proper" hyphen, Knut Petersen, 2016/12/10
- Re: exchange LyricHyphen with a "proper" hyphen, Alexander Kobel, 2016/12/10
- Re: exchange LyricHyphen with a "proper" hyphen, Michael Gerdau, 2016/12/10