Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
LilyPond wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Changing the width of ledger lines
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
If you want to modify the width of ledger lines (for example to make them wider) you can do this by overriding the values of <code>LedgerLineSpanner.length-fraction</code> and (optionally) <code>LedgerLineSpanner.minimum-length-fraction</code>. <lilypond version="2.24.0"> % Override LedgerLineSpanner.length-fraction to change the width % of ledger lines. Its default setting is 0.25 which extends ledger % lines beyond the note head on each side by 0.25 times the width % of the note head. (1.0 is equal to the width of the note head.) % % LilyPond will automatically shorten ledger lines to avoid collisions. % LedgerLineSpanner.minimum-length-fraction sets their minimum % length (i.e. smallest possible length) for such cases of potential % collision. It guarantees that ledger lines will always be at least % that wide. Its default setting is 0.25 (It should always be less % than or equal to the value of LedgerLineSpanner.length-fraction.) % % See the illustrations here: % http://lilypond.1069038.n5.nabble.com/Widening-ledger-lines-by-overriding-LedgerLineSpanner-td162842.html#a162850 notes = { d4 e f g c''' d''' e''' f''' } << \new Staff \with { instrumentName = "default " } { \notes } \new Staff \with { instrumentName = "wider " \override LedgerLineSpanner.length-fraction = #0.45 \override LedgerLineSpanner.minimum-length-fraction = #0.45 } { \notes } >> </lilypond> [[Category:Tweaks and overrides]]
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)
Search
Search
Editing
Changing the width of ledger lines
Add topic