~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to input/regression/lyric-hyphen-retain.ly

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
\header {
 
2
 
 
3
  texidoc = "The minimum distance between lyrics are determined by the
 
4
@code{minimum-distance} of @code{LyricHyphen} and
 
5
@code{LyricSpace}.
 
6
 
 
7
The ideal length of a hyphen is determined by its @code{length}
 
8
property, but it may be shortened down to @code{minimum-length} in
 
9
tight situations. If in this it still does not fit, the hyphen will be
 
10
omitted.
 
11
 
 
12
Like all overrides within @code{\lyricsto} and @code{\addlyrics}, the
 
13
effect of a setting is delayed is one syllable."
 
14
 
 
15
}
 
16
 
 
17
\version "2.7.39"
 
18
 
 
19
\layout {
 
20
  ragged-right = ##t
 
21
}
 
22
 
 
23
 
 
24
\relative c'' {
 
25
  \time 2/4
 
26
  c32 c c c 
 
27
  c32 c c c 
 
28
  c32 c c c 
 
29
  c32 c c c 
 
30
  c32 c c c 
 
31
}
 
32
\addlyrics
 
33
{
 
34
  %% tight spacing: hyphen disappears 
 
35
  syl -- lab word
 
36
 
 
37
  %% increase minimum-distance: forces more space, so hyphen reappears
 
38
  \override LyricHyphen #'minimum-distance = #1.0
 
39
  syl -- lab word
 
40
 
 
41
  %% minimum-distance 0 for LyricSpace: this places words next to each other. 
 
42
  \override LyricSpace #'minimum-distance = #0.0
 
43
  syl -- lab word
 
44
}