[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Align scores in markup
From: |
Simon Albrecht |
Subject: |
Re: Align scores in markup |
Date: |
Fri, 14 Aug 2015 15:22:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
Am 14.08.2015 um 14:58 schrieb MarcM:
the custom function helps for readability and reuse of score snippets.
\markup {
"this" \score { { c' d' e' } \layout { indent=0 } }
"should be aligned with this " \score { { c'''' d'''' e'''' }
\layout { indent=0 } }
}
%% This is more concise and readable
even more concise and without a headache:
musicA = { c' d' e' }
musicB = { c'''' d'''' e'''' }
\markup { "this" \writeMusic ##{ \musicA #}
\writeMusic \musicA
% or
\writeMusic #musicA
No need to switch back and forth between Scheme and LilyPond mode.
Yours, Simon