]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tie-accidental.ly
* lily/beam.cc (rest_collision_callback): don't move anything if
[lilypond.git] / input / regression / tie-accidental.ly
index 5068a652444c3b626e0caa0c3ce88b5c73d52ca4..3a4f6484a7d465bb75dc7e3e272e22072d3c1e20 100644 (file)
@@ -1,7 +1,9 @@
 
+\version "2.1.7"
+
 \header{
 texidoc="
-When tieing notes with accidentals across a bar boundary, the
+When tying notes with accidentals across a bar boundary, the
 accidental must not be drawn on the note in the next bar.  Unless the
 tie crosses a line break, in which case the accidental is repeated if
 it would be different from an untied note.  The next note of the same
@@ -10,11 +12,11 @@ natural).  Slurring a accidentaled note to a natural one across bar
 boundaries should be explicit.
 
 Pitches can be verified by printing them  with the @code{NoteNames} context.
-";
+"
 }
 
 thenotes = \notes \relative cis' {
-  \time 4/4;
+  \time 4/4
   g'2 g ~ |
   g g4 gis |
   gis2 gis ~ |
@@ -22,9 +24,9 @@ thenotes = \notes \relative cis' {
   g2 gis ~ |
   gis g4 gis |
   g2 gis( |
-  )g! gis4 gis |
+  g!) gis4 gis |
   \break
-  \key a \major;
+  \key a \major
   gis2 gis ~ |
   gis4 gis8 ~ gis g4 gis |
   gis2 g ~ |
@@ -39,17 +41,18 @@ thenotes = \notes \relative cis' {
   % Btw: I don't even know what the rule is for the second note in the
   % next bar, if a reminder accidental was printed.  These are really
   % not very common cases.  Technically, if it is not tied, it
-  % should get an accidental; but it looks a bit silly and redundant.
+  % should get an accidental but it looks a bit silly and redundant.
   % See last g.
   
-  )g! gis4 gis ~ | \break
+  g!) gis4 gis ~ | \break
   gis2  gis ~ | gis g ~\break
   g2 g
 }
 
 \score {
-  <
+  <<
     \context Staff \thenotes
     \context NoteNames \thenotes
-  >
+  >>
 }
+