lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notes inside markup


From: Nick Payne
Subject: Re: Notes inside markup
Date: Sat, 23 Jun 2012 19:18:08 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 23/06/12 18:49, -Eluze wrote:
Nick Payne-3 wrote:
I'm reproducing a score that contains the construct shown in the
attached image example.png, with four 32nd notes below the stave inside
braces. With the ly code below I can get the output attached in
test.png, but I haven't managed to figure out how to raise the beamed
notes so that they are between the braces rather than below them. How
can I do that? I'd also like reduce the weight of the beams on the notes
inside the markup. They don't seem to get reduced in weight when the
size of the notes is reduced.

As an aside, the \stemUp that I have at the beginning of the file is
being ignored by the d16[ c32 b] at the end of the file. Is this a bug
or due to something else?


you can use \parenthesize around the score in the markup ( to get square
brackets use \bracketify as defined in this snippet:
http://lsr.dsi.unimi.it/LSR/Item?id=564

for the \stemUp I'd say this is again the grace in the beginning - use this
command right after the grace!
Thanks. Adding \parenthesize was all that I needed. Doing that also moved the markup notes up to immediately below the stave.

_\markup {
        \parenthesize \score {
            \new Staff \with {
                \remove Staff_symbol_engraver
                \remove Time_signature_engraver
                \remove Clef_engraver
            }
            \relative c'' {
                \set fontSize = #-4
                \override Stem #'length-fraction = #(magstep -4)
                \stemUp
                c32~[ c c c]
            }
                \layout { indent = 0\cm }
        }
    }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]