On 2019-01-19 8:55 am, Valentin Villenave wrote:
You can use a \markup block in any TextScript object (attached to
notes with -, ^ or _), any \mark or at the top level, outside of any
\score block.
\markup may also (obviously) be user in any definition inside the
\header block (e.g. title, subtitle, composer, and so on).
\markup may additionally be used for lyrics, in chord names, and as
dynamics. In fact, it is possible to use \markup to customize the
appearance of virtually any object:
%%%%
\version "2.19.82"
\paper { line-width = 8\cm }
\header { title = \markup "Header" }
\markup "Top-level markup"
dyn = #(make-dynamic-script #{ \markup \text "DynamicText" #})
\score { <<
\new ChordNames
\with { majorSevenSymbol = \markup "majorSevenSymbol" }
\chordmode { c1:maj7 }
\new Staff
{ \mark \markup "RehearsalMark"
\once \override NoteHead.stencil = #ly:text-interface::print
\once \override NoteHead.text = \markup \lower #0.5 "NoteHead"
c''8^\markup "TextScript" }
\new Lyrics \lyricmode { \markup "LyricText" 1 }
\new Dynamics { s1\dyn } >> }
%%%%
-- Aaron Hill_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user