]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4186: Remove the single-C time signature style
authorDan Eble <nine.fierce.ballads@gmail.com>
Thu, 1 Jan 2015 20:56:57 +0000 (15:56 -0500)
committerDan Eble <nine.fierce.ballads@gmail.com>
Thu, 8 Jan 2015 01:52:28 +0000 (20:52 -0500)
Remove the single-C time signature style that was added in commit
40b0982cb4f00317c3d50c7f1d4e26fde912f3cd to address Issue 3286.

The later commit 145389636e81237d560aba4d04abcb89fa60cd9c allows
the user to define new time signature styles, which is a more
flexible solution.

input/regression/time-signature-single-c.ly [deleted file]
scm/time-signature-settings.scm

diff --git a/input/regression/time-signature-single-c.ly b/input/regression/time-signature-single-c.ly
deleted file mode 100644 (file)
index 5e115e4..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-\version "2.19.16"
-
-\header {
-  texidoc = "The single-C time signature style prints a C for any time signature with 4 in the numerator and prints a cut-C for any time signature with 2 in the numerator."
-}
-
-\layout { indent = 0 }
-
-\new Staff {
-  \relative f' {
-    \override Staff.TimeSignature.style = #'single-C
-    \time 1/2 f2^"1/2"
-    \time 2/2 f2^"2/2" f
-    \time 2/1 f1^"2/1" f
-    \time 3/4 f4^"3/4" f f
-    \time 4/4 f4^"4/4" f f f
-    \time 4/2 f2^"4/2" f f f
-    \time 4/1 f1^"4/1" f f f
-  }
-}
index 083d18b9a1dc31d4c556663c3c7e16de7679013f..2649092593cf4348ac4484f4c70fc8e7338a80a5 100644 (file)
@@ -394,15 +394,6 @@ a fresh copy of the list-head is made."
 (add-simple-time-signature-style 'C make-c-time-signature-markup)
 (add-simple-time-signature-style 'default make-c-time-signature-markup)
 
-(define-public (make-single-c-time-signature-markup fraction)
-  "Make markup for the `single-C' time signature style."
-  (let ((n (car fraction)))
-    (if (or (= n 2) (= n 4)) ; numerator only
-        (make-glyph-time-signature-markup 'C (cons n n))
-        (make-compound-meter-markup n))))
-
-(add-simple-time-signature-style 'single-C make-single-c-time-signature-markup)
-
 ;;;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 ;;; Measure length calculation of (possibly complex) compound time signatures