Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
The \fill-line command
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
The <code>\fill-line</code> command aligns and justifies markup text by setting as many columns as required, in a given space. In this snippet we use numbers to (beautifully) show how the command works; but when using text beware to use quotes if you want your words to stay together. For example, this code \fill-line { The quick brown fox } results in something like the following (i.e., four columns). The quick brown fox With quotes, input like \fill-line { "The quick brown fox" } produces output like this (i.e., a single, centered column). The quick brown fox <lilypond version="2.24"> \paper { line-width = 15\cm } \markup \column { \fill-line { 1 } \fill-line { 1 2 } \fill-line { 1 2 3 } \fill-line { 1 2 3 4 } \fill-line { 1 2 3 4 5 } \fill-line { 1 2 3 4 5 6 } \fill-line { 1 2 3 4 5 6 7 } \fill-line { 1 2 3 4 5 6 7 8 } \fill-line { 1 2 3 4 5 6 7 8 9 } \fill-line { 1 2 3 4 5 6 7 8 9 10 } \fill-line { 1 2 3 4 5 6 7 8 9 10 11 } \fill-line { 1 2 3 4 5 6 7 8 9 10 11 12 } \fill-line { 1 2 3 4 5 6 7 8 9 10 11 12 13 } \fill-line { 1 2 3 4 5 6 7 8 9 10 11 12 13 14 } } </lilypond> [[Category:Text]] [[Category:Text]] [[Category:Editorial annotations]] [[Category:Titles]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)