lilypond-user
[Top][All Lists]
Advanced

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

displaying complex chords


From: Kieren MacMillan
Subject: displaying complex chords
Date: Sat, 19 May 2007 12:13:26 -0400

Hey, all you major-minor fanatics!  =)

Here's one way to solve the problem posted earlier by Matthew...
I haven't spent enough time to get it pixel-perfect (in particular, the right choice of #'rotation value would obviate the need for a Stem #'extra-offset).

Regardless, this should be hint enough for anyone who's seriously in need to take it the rest of the way.

Hope this helps!
Kieren.
______________________________

\version "2.11.23"
\paper{ ragged-right=##t indent = #0 }

fixA =
{
        \once \override Stem #'length = #9
        \once \override Accidental #'extra-offset = #'(0.3 . 0)
}
fixB =
{
        \once \override NoteHead #'extra-offset = #'(1.7 . 0)
        \once \override Stem #'rotation = #'(45 0 0)
        \once \override Stem #'extra-offset = #'(-0.2 . -0.2)
        \once \override Stem #'flag-style = #'no-flag
        \once \override Accidental #'extra-offset = #'(3.1 . 0)
}

theMusic = \relative
{
    << { \fixA <b d!>8 } \\ { \voiceThree \fixB dis }  >>
}

\score
{
    \theMusic
}





reply via email to

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