• 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ü

Ganztaktpause und longfermata

Begonnen von chf, Dienstag, 8. Dezember 2015, 18:03

Vorheriges Thema - Nächstes Thema

chf

Liebe Freunde,

leider lässt sich der Befehl "fermataMarkup" auch in abgewandelter Form wie "longfermataMarkup" oder "fermataMarkup\longfermata" nicht
übertragen. Wie komme ich zu R+longfermata?

Gruß
chf

harm6


\version "2.18.2"

#(define-markup-command (long-fermata layout props) ()
  #:category music
  #:properties ((direction UP))
  (interpret-markup layout props
                    (if (eqv? direction DOWN)
                        (markup #:musicglyph "scripts.dlongfermata")
                        (markup #:musicglyph "scripts.ulongfermata"))))
longFermataMarkup =
#(make-music 'MultiMeasureTextEvent
             ;; Set the 'text based on the 'direction
             'text (make-long-fermata-markup)
             'tweaks '((outside-staff-priority . 40)
                       (outside-staff-padding . 0)))
                       
{
  R1\longFermataMarkup
}


HTH,
  Harm