Graham-
No, the code below produces the score snippet within the markup
command. However, I am trying to obtain " some (markup)text " + " the
snippet " all on the same line.
In the attached code, the snippet appears to be in its own space.
Regards,
Stan
On Sep 30, 2007, at 1:50 PM, Graham Percival wrote:
Are you looking for the \markup{ \score{ }} command? "Nested
scores", in the "text" section.
Cheers,
- Graham
Stan Sanderson wrote:
Greetings to all-
This seems like a variant of the problem recently addressed by
Rick Hansen. However, it seems as if there should be a simple
answer which has thus far eluded me. I have looked at the LSR and
mail archives, but haven't found an answer.
The problem: I am attempting to duplicate an old score. The
original has instructions (text) with a partial measure imbedded
in-line (not on a separate line). The closest I have come is the
code shown below. The text is fine, but the snippet is obviously
not where it should be.
This seems like a useful educational application of Lilypond; the
answer would be a welcome addition to the LSR!
%%% Start code sample
\version "2.11.33"
\include "english.ly"
snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
fontSize = #-7
\override StaffSymbol #'staff-space = #(magstep -7)
firstClef = ##f
}
{ << c''4\\ a' >> }
\layout { ragged-right = ##t }
}
}
\markup {\smaller
\fill-line {
\override #'(line-width . 80)
\justify-string #
"Lorem ipsum dolor sit amet consectetuer adipiscing elit,
sed diam nonummy nibh euismod tincidunt ut laoreet dolore
magna aliquam erat volutpat."
\snip
}
}
%%% End code sample
Regards and thanks,
Stan
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user