Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1982)

Unified Diff: input/regression/measure-spanner-spacing-pair.ly

Issue 571180043: Implement MeasureSpanner
Patch Set: Changes in response to reviews Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « input/regression/measure-spanner.ly ('k') | lily/bracket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: input/regression/measure-spanner-spacing-pair.ly
diff --git a/input/regression/measure-spanner-spacing-pair.ly b/input/regression/measure-spanner-spacing-pair.ly
new file mode 100644
index 0000000000000000000000000000000000000000..f920e09203ec47a08aa0661801c83abd2b1f61f9
--- /dev/null
+++ b/input/regression/measure-spanner-spacing-pair.ly
@@ -0,0 +1,32 @@
+\version "2.21"
+
+\header {
+ texidoc="
+The ends of measure spanners may be aligned in various ways.
+"
+}
+
+\new Staff {
+ \key cis \major
+ \tweak text #"2x"
+ \startMeasureSpanner cis''1\stopMeasureSpanner
+ \break
+ \time 3/4
+ \clef bass
+ \tweak text #"100x"
+ \tweak spacing-pair #'(key-signature . clef)
+ \startMeasureSpanner cis2.\stopMeasureSpanner
+ \break
+ \time 4/4
+ \clef treble
+ \tweak text \markup \char ##x221E
+ \tweak spacing-pair #'(time-signature . clef)
+ \startMeasureSpanner cis''1\stopMeasureSpanner
+}
+
+\layout {
+ \context {
+ \Staff
+ \consists "Measure_spanner_engraver"
+ }
+}
« no previous file with comments | « input/regression/measure-spanner.ly ('k') | lily/bracket.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b