[Top][All Lists]

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

Re: \markup

From: Mats Bengtsson
Subject: Re: \markup
Date: Wed, 28 Feb 2007 22:18:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8

Ole Schmidt wrote:

ok, now I get staff lines, time and key removed... But I don't know how to align the note-symbol with the text (so that the symbol behaves like a letter and I can type text before and after).
Same problem in the second example where I use the Feta-Font
How can I align two elements of a \markup?



\markup { per il clarinetto { \score {\new Staff \with {
\remove "Time_signature_engraver"
\remove "Clef_engraver" \remove "Staff_symbol_engraver"
} {
} \layout { } } } }

First step is to fix the horizontal alignment, using
indent = 0 and ragged-right = ##t (if you keep the Staff symbol
engraver, you will realize why).

For the vertical alignment, there's a markup command
\vcenter to set the alignment point on a specific markup
to be centered. There are no similar markup commands for
top and bottom aligned, but there you can use \general-align.
The following modified version of your example is hopefully
fairly close to what you want:
\markup { \general-align #Y #DOWN "per il clarinetto" \general-align #Y #DOWN \score {\new Staff \with {
\remove "Time_signature_engraver"
\remove "Clef_engraver" \remove "Staff_symbol_engraver"
} {
} \layout { ragged-right = ##t indent = 0} } }

Note that I changed the pitch of the note. Apparently, the
stave still allocates some space even though it's not printed.


\markup {{\musicglyph #"scripts.prallprall" }"= vibrato ampio"}

Here, you can use
\markup {{\musicglyph #"scripts.prallprall" } \vcenter "= vibrato ampio"}


reply via email to

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