For lilypond-devel: Feature request below, add a markup command to get ordinary text font encoding!
I mostly use d4_\markup{\dynamic p \italic dolce } which handles the internal alignment neatly.
That works for most things, but not all:
\version "2.3.10" \score{\relative c''{ c1\> c2\!_\markup{\dynamic p \italic dolce} d4 e } }
The _\markup{\dynamic x} doesn't line up with other dynamics. (for those using 2.2.x, add a \notes at the beginning of the example)
One possibility is to add new dynamic script commands for the extra dynamical annotations that you use in a file:
\version "2.3.10"
#(def-markup-command (text paper props arg) (markup?) "Use ordinary text font." (interpret-markup paper (prepend-alist-chain 'font-encoding 'ec props) arg))
pdolce = #(make-dynamic-script (markup #:dynamic "p" #:text #:italic "dolce" ) )
... c2 \pdolce \> c \!
The corresponding for version 2.2.x is
\version "2.2.5"
#(def-markup-command (text paper props arg) (markup?) "Use ordinary text font." (interpret-markup paper (prepend-alist-chain 'font-encoding 'text props) arg))
pdolce = #(make-dynamic-script (markup #:dynamic "p" #:text #:italic "dolce" ) )
%pdolce = #(make-dynamic-script (markup #:text #:italic "dolce" ) )
\score{ \notes {\relative c' { c2 \pdolce \> c \! \set Score.skipBars = ##t R1*5 \override Staff.MultiMeasureRest #'expand-limit = #1 R1*5 }}}
Comment for lilypond-devel: For situations like these, where the grob by default has a number of font related properties set, it would be nice to have a markup command the resets all these properties to the default, just like \normalfont in LaTeX. Preferably, these defaults should be taken from book-paper(?).
/Mats
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user