The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse Contributing Snippet database

Results 81−90 of 361 for layout

Shear markup [0.14063]

…php/topic,1216.msg6404.html#msg6404 #(define-markup-command (pop-override layout props arg) (markup?) "pop the last override in … …f'8 d'8 c'4)_\fermata \bar "|." } \layout { ragged-right = ##f line-width = #(* 6.3 sz) indent = … …a g f) e4.\trill c1\fermata \bar "|." } \layout { ragged-right = ##f line-width = #(* 4.7 sz) indent = …

Shear markup

String quartet template with separate parts [0.13839]

…14) \score { \new StaffGroup \keepWithTag #'score \music \layout { } \midi { } } %{ Uncomment this block when using separate files % … …include "piece.ly" \score { \keepWithTag #'vla \music \layout { } } % vlc.ly % (This is the Cello part file) \include "piece.ly" \score { \keepWithTag #'vlc \music \layout { } } %}

String quartet template with separate parts

Dynamics with attributes aligned on dynamic sign (e.g. "poco f" aligned on "f") [0.13839]

…a markup-command to get stencil-extent based on (interpret-markup layout props ...) #(define-markup-command (center-dyn layout props atr-text dyn)(… …layout props (markup #:normal-text #:italic text))) (dyn-stencil (interpret-markup layout props (markup #:dynamic dyn))) (atr-x-ext (ly:stencil-extent atr-stencil X)) (… …dyn-x 2)) (+ atr-x dyn-x) ) 0.5) 2))) (interpret-markup layout props (markup #:halign x-align #:concat (#:normal-text #:italic text …

Dynamics with attributes aligned on dynamic sign (e.g. "poco f" aligned on "f")

Draw a box spanning multiple staves [0.13839]

…P.Schneider on October 2014. \header { tagline = ##f } \layout { \context { \Lyrics \override LyricText.font-size = #-1 \override LyricHyphen.… …bli -- che } >> >> %%% Option No2: #(define-markup-command (myBox layout props myWidth myHeight) (number? number?) (interpret-markup layout props (markup #:line (#:with-dimensions (cons 0 0)(cons …

Draw a box spanning multiple staves

Multiple simultaneous RehearsalMarks, tunable output per score, grace synchronized [obsolete in 2.23] [0.13839]

…and define it in the score block instead. \layout { \context { \Score \remove "Mark_engraver" \consists #poly-mark-engraver \consists "… …DETAILS \score { << \new Staff { \PartI } \new Staff { \PartII } >> \layout { \context { \Score polyMarkOptions = #`((Fine (direction . ,UP) (self-alignment-X . … …new Staff { \clef bass \transpose c c, \PartII } >> \layout { \context { \Score polyMarkOptions = #`((Fine (stencil . #f)) (DC (…

Multiple simultaneous RehearsalMarks, tunable output per score, grace synchronized [obsolete in 2.23]

Drawing an accordion standard stradella bass system [0.13839]

…make-raise-markup 0.6 (chord-superscript n))))))) #(define-markup-command (accordion-bass layout props i-col i-row) (index? index?) ;; draw a standard … …chord-name->markup (list-ref cycle-of-fifths x) z)) (init-m (interpret-markup layout props (if (= z 0) (make-override-markup `(thickness . ,(* 10 thick)) (… …to get correct ;; baseline for all chord-name-markups (interpret-markup layout props "B") Y)))) (ly:stencil-translate-axis (ly:stencil-add ;; mark C-Button (if (…

Drawing an accordion standard stradella bass system

ChordNames in a ChordMarkup-context [0.13839]

…grob 'text (chords->lyrics (ly:grob-property grob 'text) context)))))) \layout { \context { \Lyrics \name "ChordMarkup" \consists \Chords_lyrics_engraver \… …slashChordSeparator" "- majorSevenSymbol" "- chordNameSeparator" "- minorChordModifier" } \null } } \layout { indent = 0 } } %% 4 other-example-chrds = \new ChordMarkup \lyricmode { "C:13" … …header { piece = \markup \rounded-box \fill-line { "Other examples" \null } } \layout { indent = 0 } }

ChordNames in a ChordMarkup-context

Inserting large plain text sections, as independent \markup blocks [0.13393]

…new Staff = "upper" \upper \new Staff = "lower" \lower >> \layout {} } } % put some space here \vspace#1 \wordwrap { Nam liber … …new Staff = "upper" \upper \new Staff = "lower" \lower >> \layout {} } % put some space here \vspace#1 \override #'(line-width . … …new Staff = "upper" \upper \new Staff = "lower" \lower >> \layout {} } % put some space here \vspace#1 \override #'(line-width . …

Inserting large plain text sections, as independent \markup blocks

Implementing a counter in markup text [0.13393]

…the snippet: #(define counter-alist '()) #(define-markup-command (counter layout props name) (string?) "Increases and prints out the … …props (markup (number->string newval))))) #(define-markup-command (setcounter layout props name value) (string? number?) "Set the given … …counter-alist (assoc-set! counter-alist name (- value 1))) (interpret-markup layout props (make-counter-markup name))) \markup { Initial value of the …

Implementing a counter in markup text

Crossing staves [0.13393]

…2023 % Make a chicane staff. #(define-markup-command (chicane-staff layout props length hcorr hpos bdist) (number? number? number? … …-2))))))) % Make a twisted staff. #(define-markup-command (twist-staff layout props length hcorr hpos bdist) (number? number? number? … …the 'basic-distance' value of the 'staff-staff-spacing' property." (interpret-markup layout props (markup (#:path 0.1 `((moveto 0 -2) (…

Crossing staves

⇦ Previous 1 2 3 4 5 6 7 8 9 10 Next ⇨