• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

acciaccatura slash zur Ergänzung

Begonnen von chf, Freitag, 2. Mai 2014, 13:06

Vorheriges Thema - Nächstes Thema

chf

Liebe Freunde,

wie kann ich den slash auf den Kopf stellen? Welche Werte sind zu verändern?


\version "2.16.2"

slashOn = {
        \override Stem #'stencil = #(lambda (grob)
                (let* ((x-parent (ly:grob-parent grob X))
                        (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
                (if is-rest? empty-stencil
                        (ly:stencil-combine-at-edge
                                (ly:stem::print grob)
                                Y
                                (- (ly:grob-property grob 'direction))
                                (grob-interpret-markup grob
                                        (markup
                                        #:translate '(-0.75 . 0)
                                        #:draw-line '(3.5 . -2)))
                                -4))))
}

Gruß
chf

fugenkomponist

Aus der −2 eine 2 machen (hab ich durch Probieren gefunden, gibt ja nur vier mögliche Stellen, an denen man Werte verändern kann ;) )

chf

Ah, danke!
Ich hatte immer beide Werte umgekehrt, und das war nix...

Schönen Abend!
chf