lilypond-user
[Top][All Lists]
Advanced

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

Re: Use of \vspace and \hspace


From: Aaron Hill
Subject: Re: Use of \vspace and \hspace
Date: Sat, 19 Jan 2019 16:29:27 -0800
User-agent: Roundcube Webmail/1.3.8

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

Attachment: markup.cropped.png
Description: PNG image


reply via email to

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