alterations in chordnames.
+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
-\version "1.7.18"
+\version "1.7.22"
\header{
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{
\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
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 = #'("" . "")
-\version "1.7.18"
+\version "1.7.22"
% TODO: check about other ottava functions.
\header { texidoc = "@cindex Ottava Spanner
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
-\version "1.7.18"
+\version "1.7.22"
\header { texidoc="@cindex Trill
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") "")
(define (interpret-additions chord mods)
"Interpret additions. TODO: should restrict modifier use?"
+
(cond
((null? mods) chord)
((ly:pitch? (car mods))
(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))
(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<?)))
(write-me "bass: " bass)))
-
+
(if inversion
(make-chord (cdr complete-chord) bass duration (car complete-chord)
inversion)
(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)