]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/forcing-hyphens-to-be-shown.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / forcing-hyphens-to-be-shown.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "vocal-music"
11
12   texidoc = "
13 If LilyPond does not think there is space for a hyphen, it will be
14 omitted.  The behaviour can be overridden with the
15 @code{minimum-distance} property of @code{LyricHyphen}.
16
17 "
18   doctitle = "Forcing hyphens to be shown"
19 } % begin verbatim
20
21
22 \relative c'' {
23   c32 c c c
24   c32 c c c
25   c32 c c c
26   c32 c c c
27 }
28 \addlyrics {
29   syl -- lab word word
30   \override LyricHyphen #'minimum-distance = #1.0
31   syl -- lab word word
32   \override LyricHyphen #'minimum-distance = #2.0
33   syl -- lab word word
34   \revert LyricHyphen #'minimum-distance
35   syl -- lab word word
36 }