Jump to content

Stand-alone two-column markup: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Stand-alone text may be arranged in several columns using <code>\markup</code> commands:
Stand-alone text may be arranged in several columns using <code>\markup</code> commands.


<lilypond version="2.24.0">
<lilypond version="2.24">
\markup {
\markup {
   \fill-line {
   \fill-line {
Line 27: Line 27:
</lilypond>
</lilypond>


[[Category:Text]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Text]]
[[Category:Snippet]]

Latest revision as of 17:45, 12 December 2025

Stand-alone text may be arranged in several columns using \markup commands.

\version "2.24"

\markup {
  \fill-line {
    \hspace #1
    \column {
      \line { O sacrum convivium }
      \line { in quo Christus sumitur, }
      \line { recolitur memoria passionis ejus, }
      \line { mens impletur gratia, }
      \line { futurae gloriae nobis pignus datur. }
      \line { Amen. }
    }
    \hspace #2
    \column \italic {
      \line { O sacred feast }
      \line { in which Christ is received, }
      \line { the memory of His Passion is renewed, }
      \line { the mind is filled with grace, }
      \line { and a pledge of future glory is given to us. }
      \line { Amen. }
    }
    \hspace #1
  }
}