[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Align scores in markup
From: |
MarcM |
Subject: |
Align scores in markup |
Date: |
Thu, 13 Aug 2015 18:13:35 -0700 (MST) |
I am using a custom markup command that allows inserting scores into markups.
It works great except when one score uses high notes the scores are not
aligned.
<http://lilypond.1069038.n5.nabble.com/file/n179568/shouldBeAligned.png>
%=============================================
% WRITE SCORE
%
%=============================================
#(define-markup-command (writeScore layout props music) (ly:music?)
(let ((score (ly:make-score music))
(score-layout (ly:output-def-clone $defaultlayout)))
;; possibly, change some settings in the \layout block
%(ly:output-def-set-variable! score-layout 'indent 0)
;; add the \layout block to the score
(ly:score-add-output-def! score score-layout)
(interpret-markup layout props (markup #:vcenter #:score score) )
))
\markup {
"this should be aligned" \writeScore ##{ c' d' e' #}
"with this " \writeScore ##{ c'''' d'''' e'''' #}
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Align-scores-in-markup-tp179568.html
Sent from the User mailing list archive at Nabble.com.
- Align scores in markup,
MarcM <=
- Re: Align scores in markup, Thomas Morley, 2015/08/13
- Re: Align scores in markup, Thomas Morley, 2015/08/13
- Re: Align scores in markup, MarcM, 2015/08/13
- Re: Align scores in markup, Michael Gerdau, 2015/08/14
- Re: Align scores in markup, MarcM, 2015/08/14
- Re: Align scores in markup, Simon Albrecht, 2015/08/14
- Re: Align scores in markup, Michael Gerdau, 2015/08/14