]> git.donarmstrong.com Git - lilypond.git/commitdiff
(note-name->markup): don't superscript root
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 27 Jun 2003 22:57:16 +0000 (22:57 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 27 Jun 2003 22:57:16 +0000 (22:57 +0000)
alterations in chordnames.

ChangeLog
input/regression/glissando.ly
input/test/follow-thread.ly
input/test/gregorian-scripts.ly
input/test/text-spanner.ly
input/test/trill.ly
scm/chord-entry.scm
scm/chord-name.scm

index 23fd4ccde632addb5dd86bf332ceca4d308a9c9c..1a7714b3179d40009a1ed409d5a3b5e1dd2fc637 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-28  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * scm/chord-name.scm (note-name->markup): don't superscript root
+       alterations in chordnames.
+
 2003-06-23  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
        * Documentation/user/refman.itely (Multi measure rests): more
index b76b45bd47ce982c4da4bb355929d27048b12e55..4938d08cdcdf0e6d9484167d5ed619198f740513 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.22"
 
 \header{
 
@@ -19,7 +19,7 @@ The engraver does no time-keeping, so it involves some trickery to get
             c \glissando d, \glissando e'
              < { \stemUp e8 \glissando g8 }
                \context Voice = VB {\stemDown \repeat unfold 4 d16 } >
-               \property Voice.Glissando \override #'type = #'zigzag
+               \property Voice.Glissando \override #'style = #'zigzag
                c4 \glissando c,, \glissando c' \glissando d
     }
     \paper{
index b1a0e1fe4336188f2f147d976ed703c6ec6b0c83..a7897076268b97953b16856bdba97cbe8d95dbf8 100644 (file)
@@ -12,7 +12,7 @@ property @code{followVoice}. " }
        \context PianoStaff=ps <
                \property PianoStaff.followVoice = ##t
                \context Staff=one \context Voice {
-                       \property Voice.VoiceFollower \set #'type = #'dashed-line
+                       \property Voice.VoiceFollower \set #'style = #'dashed-line
                        c'1
                        \translator Staff=two
                        b2 a
index 10887beb91ce1cc206e083cd58b1cc3a4ed3b5dd..2e4826059e17663e773972270cc22b6d5799b5d9 100644 (file)
@@ -67,7 +67,7 @@ cantus = \notes \relative c' {
       Script \set #'padding = #0.0
 
       % prepare TextSpanner for \episem{Initium|Finis} use
-      TextSpanner \set #'type = #'line
+      TextSpanner \set #'style = #'line
       TextSpanner \set #'edge-height = #'(0 . 0)
       TextSpanner \set #'padding = #0.5
       TextSpanner \set #'edge-text = #'("" . "")
index 4cb88635517a2d8530940d26e9e1aac611883e5d..c98ea47f4bb44290f8b22a2ae7bbce939d9669f0 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.22"
 % TODO: check about other ottava functions.
 
 \header { texidoc = "@cindex Ottava Spanner
@@ -12,14 +12,14 @@ You can make Lilypond print ottava spanners. "
        b c 
         a #(ly:export (make-span-event 'TextSpanEvent STOP))
 
-        \property Voice.TextSpanner \revert #'type
-        \property Voice.TextSpanner \override #'type = #'dotted-line
+        \property Voice.TextSpanner \revert #'style
+        \property Voice.TextSpanner \override #'style = #'dotted-line
         a #(ly:export (make-span-event 'TextSpanEvent START))
        b c 
         a #(ly:export (make-span-event 'TextSpanEvent STOP))
 
-        \property Voice.TextSpanner \revert #'type
-        \property Voice.TextSpanner \override #'type = #'dashed-line
+        \property Voice.TextSpanner \revert #'style
+        \property Voice.TextSpanner \override #'style = #'dashed-line
         \property Voice.TextSpanner \override #'edge-height = #'(1 . -2)
         a #(ly:export (make-span-event 'TextSpanEvent START))
        b c 
index a7551eb015c004c7fd9d0ae0a5a97091b3f92f1b..4378350dcaf845b09f501128d90fa0a55dfa0385 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.18"
+\version "1.7.22"
 
 \header { texidoc="@cindex Trill
 Show trill line type. "
@@ -9,13 +9,13 @@ Show trill line type. "
   \context RhythmicStaff \notes {
     \stemDown
     \property Voice.Stem \override #'transparent = ##t
-    \property Voice.TextSpanner \set #'type = #'dotted-line
+    \property Voice.TextSpanner \set #'style = #'dotted-line
     \property Voice.TextSpanner \set #'edge-height = #'(0 . 1.5)
     \property Voice.TextSpanner \set #'edge-text = #'("bla " . "")
     a#(ly:export (make-span-event 'TextSpanEvent START)) b c a #(ly:export (make-span-event 'TextSpanEvent STOP))
 
     %\property Voice.TextSpanner \set #'font-family = #'music
-    \property Voice.TextSpanner \set #'type = #'trill
+    \property Voice.TextSpanner \set #'style = #'trill
     \property Voice.TextSpanner \set #'edge-height = #'(0 . 0)
     \property Voice.TextSpanner \set #'edge-text
      = #(cons (make-musicglyph-markup "scripts-trill")  "")
index 3475ab122c2ec9e05b15a2f593f814633faa2eae..f71ff585036279b7eac8d1b195320f338eda1694 100644 (file)
@@ -67,6 +67,7 @@ Entry point for the parser.
     
     (define (interpret-additions  chord mods)
       "Interpret additions. TODO: should restrict modifier use?"
+      
       (cond
        ((null? mods) chord)
        ((ly:pitch? (car mods))
@@ -149,6 +150,8 @@ the bass specified.
          (set! flat-mods (cdr flat-mods))
          ))
 
+    
+
     ;; extract first  number if present, and build pitch list.
     (if (and (pair? flat-mods)
             (ly:pitch?  (car flat-mods))
@@ -167,13 +170,12 @@ the bass specified.
     (if (procedure? lead-mod)
        (set! base-chord (lead-mod base-chord)))
 
-    
+
     (set! complete-chord
          (if start-additions
           (interpret-additions base-chord flat-mods)
           (interpret-removals base-chord flat-mods)
           ))
-
     
     (set! complete-chord (map (lambda (x) (ly:pitch-transpose x root))
                              (sort complete-chord ly:pitch<?)))
@@ -207,7 +209,7 @@ the bass specified.
          (write-me "bass: " bass)))
 
 
-    
+
     (if inversion
        (make-chord (cdr complete-chord) bass duration (car complete-chord)
                    inversion)
index 790f20c88209b5b6ebcf6a52d78f955e9985fa08..3e5c9f0ea7c908da8f5d5b8a09e0288e7574a474 100644 (file)
@@ -39,8 +39,7 @@
    (list
     (make-simple-markup
      (vector-ref #("C" "D" "E" "F" "G" "A" "B") (ly:pitch-notename pitch)))
-    (make-normal-size-super-markup
-     (accidental->markup (ly:pitch-alteration pitch))))))
+     (accidental->markup (ly:pitch-alteration pitch)))))
 
 
 (define-public ((chord-name->german-markup B-instead-of-Bb) pitch)