]> git.donarmstrong.com Git - lilypond.git/blob - input/test/tie-accidental.ly
release: 1.3.122
[lilypond.git] / input / test / tie-accidental.ly
1 \header{
2 texidoc="
3 When tieing notes with accidentals across a bar boundary, the accidental
4 must not be drawn on the note in the new bar.  Instead, the next note of
5 the same pitch in this bar should always show the accidental (even if
6 it's natural).  Slurring a accidentaled note to a natural one across bar
7 boundaries should be explicit.
8
9 Pitches can be verified by printing them  with the @code{NoteNames} context.
10 ";
11 }
12
13 thenotes = \notes \relative cis' { \time 4/4;
14 g'2 g ~ |
15 g g4 gis |
16 gis2 gis ~ |
17 gis4 gis8 ~ gis g4 gis |
18 g2 gis ~ |
19 gis g4 gis |
20 g2 gis( |
21 )g! gis4 gis |
22 \break
23 \key a \major;
24 gis2 gis ~ |
25 gis4 gis8 ~ gis g4 gis |
26 gis2 g ~ |
27 g4 gis8 ~ gis g4 gis |
28 g2 gis ~ |
29 gis g4 gis |
30 g2 gis( |
31 )g! gis4 gis | 
32 }
33
34 \score { < \context Staff \thenotes
35         \context NoteNames \thenotes
36         >
37 }