lilypond-user
[Top][All Lists]
Advanced

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

Re: left space in front of the score


From: Martín Rincón Botero
Subject: Re: left space in front of the score
Date: Tue, 27 Dec 2022 13:17:43 +0100

Hi Bernhard,

specifically for that I recommend manually increasing the indentation (\indent for the full name, \short-indent for the short name). I once made a very rough but serviceable workaround to make this a little bit more automatic. You need to manually give it the longest instrument name and staff size. It works with several if not all staff sizes:

\version "2.22.1"

size = 20

#(set-global-staff-size size)

instruName = "this is a really really long instrument name"
shortInstruName = "tiarrlin"

\score {
\new Staff \with {  
  instrumentName = \instruName
  shortInstrumentName = \shortInstruName
}{  
  c'1\break
  c
} 

\layout {
  indent = #(* (string-length instruName) (* size 0.25) pt) 
  short-indent = #(* (string-length shortInstruName) (* size 0.225) pt)
}
}

Martín.

www.martinrinconbotero.com


On Dec 26, 2022 at 3:09 PM, <bernhard kleine> wrote:

Hello,

I am working on the space frescobaldi plus Lilypond put infront of the
score for long instrument names. There is only a small space after the
first score when names are repeated, too small to match the instrument
names which aligned to the right reach the physical border and go over it.

How is it possible to have more space to the left of the score?

Kind regards and Happy holidays to all!


reply via email to

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