Accordion-discant symbols: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
This snippet has been obsoleted by predefined markup commands, see 'Discant symbols' in the Notation Reference. It's still useful as a simple demonstration of how to combine symbols: the placement of the symbols added with <code>\markup</code> can be tweaked by changing the <code>\translate-scaled</code> arguments. <code>\translate-scaled</code> is used here rather than <code>\translate</code> in order to let the positioning of the symbol parts adapt to changes of <code>font-size</code>.
This snippet has been obsoleted by predefined markup commands, see 'Discant symbols' in the Notation Reference. It's still useful as a simple demonstration of how to combine symbols: the placement of the symbols added with <code>\markup</code> can be tweaked by changing the <code>\translate-scaled</code> arguments. <code>\translate-scaled</code> is used here rather than <code>\translate</code> in order to let the positioning of the symbol parts adapt to changes of <code>font-size</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
discant = \markup {
discant = \markup {
   \musicglyph "accordion.discant"
   \musicglyph "accordion.discant"