lilypond-user
[Top][All Lists]
Advanced

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

Re: Box around mark


From: Thomas Morley
Subject: Re: Box around mark
Date: Thu, 4 May 2017 21:11:29 +0200

2017-05-04 17:03 GMT+02:00 Dave Higgins <address@hidden>:
> I'd like to draw a box around this:
> \mark \markup { \bold { \huge "A" \super "1" } }
>
> But if I add in \box, e.g.:
> \mark \markup \box { \bold { \huge "A" \super "1" } }
>
> I get a box around the A and a box around the 1.  On the graphics
> documentation page, other than manually defining a box, is there a way
> to make the box without the "extra" work?



Markup-commands expecting an argument of type markup? are applied to
all markups of a markup-list.
Like \box or \rotate:

\markup \rotate #45 \box { "|" "|" "|" "|" }

If you want to have markup-commands like box, rotate etc applied to
"the result" of a markup-list, then you have to "transform" this list
of markups to a single markup.
Most common would be \line, \concat and the like:

\markup \rotate #45 \box \line { "|" "|" "|" "|" }

HTH,
  Harm



reply via email to

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