Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Controlling formatting of prefatory items
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!
This example demonstrates how to place prefatory items (such as the clef and key signature) at the end of a line. <lilypond version="2.24.0"> %% http://lsr.di.unimi.it/LSR/Item?id=166 \transpose c c' { \override Staff.Clef.break-visibility = #end-of-line-visible \override Staff.KeySignature.break-visibility = #end-of-line-visible \set Staff.explicitClefVisibility = #end-of-line-visible \set Staff.explicitKeySignatureVisibility = #end-of-line-visible % We want the time sig to take space, otherwise there is not % enough white at the start of the line. \override Staff.TimeSignature.transparent = ##t \set Score.measureBarType = #"-" c1 d e f g a b c \key d \major \break % see above. \time 4/4 d e fis g a b cis d \key g \major \break \time 4/4 } </lilypond>
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)