]> git.donarmstrong.com Git - lilypond.git/blob - input/test/tie-accidental.ly
d6a20c92c6db8922a8dcf8abd32e6261c4924f50
[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 gis'2 gis ~ |
15 gis4 gis8 ~ gis g4 gis |
16 g2 gis ~ |
17 gis g4 gis |
18 g2 gis( |
19 )g! gis4 gis |
20
21 \key a \major;
22 gis2 g ~ |
23 g4 gis8 ~ gis g4 gis |
24 g2 gis ~ |
25 gis g4 gis |
26 g2 gis( |
27 )g! gis4 gis | 
28 }
29
30 \score { < \context Staff \thenotes
31         \context NoteNames \thenotes
32         >
33 }