lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Slash chords


From: Klaus Blum
Subject: Re: Fwd: Slash chords
Date: Sat, 21 Nov 2015 13:47:04 -0700 (MST)

Hi Luca, 

as for the size and blackness of the solidus, you could use the "|" sign
instead of the "/" slash. 
Before rotating, you can stretch its x- and y-dimensions independently and
therefore leave the font size untouched.

Cheers, 
Klaus

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"

#(define (lower-extension pitch chbass)
   "Return lowered markup for pitch note name."
   #{
     \markup \raise #-1.9 \halign #0.2
     #(note-name->markup pitch chbass)
   #})


\layout {
  \context {
    \ChordNames
    slashChordSeparator = \markup {
      % the \hspace commands simulate kerning
      \hspace #-1.2
      \lower #0.8 \rotate#-35 \scale #'(1 . 1.3) "|"
      \hspace #-1.4
    }
    chordNoteNamer = #lower-extension
  }
}

\score {
  \new StaffGroup <<
    \chords {
      f2.:m c4:7/e c2:maj7
      f2:m/a f/g c:7/g c:7/e e/f
    }
    \new Staff { \key aes \major \time 3/4 c'4 aes'2 c'4 bes'2 r4 r r r r r
r r r  }
  >>
  \layout { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Fwd-Slash-chords-tp183832p183917.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]