Adjusting vertical positioning of lyric hyphens: Difference between revisions

m New category
Tags: Mobile edit Mobile web edit
mNo edit summary
Line 1: Line 1:
For joining syllables, LilyPond doesn't use the hyphen of the text font but instead draws a simple line with variable length. Its standard vertical position doesn't always fit the proportions of the text font. When using a font with a large x-height, it may be too low.
For joining syllables, LilyPond doesn’t use the hyphen of the text font but instead draws a simple line with variable length (this limitation is tracked as [https://gitlab.com/lilypond/lilypond/-/issues/1255 issue #1255]). Its standard vertical position doesn't always fit the proportions of the text font. When using a font with a large x-height, it may be too low.


You can adjust the vertical positioning of the hyphens manually. To get a good result you may want to insert a “real” hyphen for comparision (the l-e in the snippet).
You can adjust the vertical positioning of the hyphens manually. To get a good result you may want to insert a “real” hyphen for comparision (the l-e in the snippet).


<lilypond version="2.24">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=793
% LSR contributed by Hannes Kuhnert <hannes.kuhnert@gmx.de> 1.2.2012.
 
% Hannes Kuhnert <hannes.kuhnert@gmx.de>
% contributed to LilyPond Snippet Repository <http://lsr.di.unimi.it/>
% 1.2.2012


\score {
\score {
Line 47: Line 43:
</lilypond>
</lilypond>


[[Category:Paper and layout]]
[[Category:Text]]
[[Category:Text]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Paper and layout]]
[[Category:Snippet]]
[[Category:Snippet]]