On 03/10/2026 19:50, A Jakovljevic wrote:
Hi all,

I'm updating the various template files I use for producing parts and and the like and I've come upon an issue when attempting to use \box markup. I'd like for two-lined instrument names (say, when I have to include a tonality indication for a transposing instrument) to be formatted pretty much the same as when everything fits on a single line. I've tried the following:

You need to retain the outer \center-column around the \vspace and instrument name, and add a second \center-column around the two parts of the instrument name so they are boxed as a single entity.

\book {
  %%two-line instrument name
  \bookOutputSuffix "DoubleLine"

  \markup {
    \center-column {
      \vspace #-1.2
      \box \pad-markup #0.5 \fontsize #3.0 \bold \center-column { "KLARINETTE" "IN B" }
    }
  }
  \markup \fill-line {
    \center-column {
      \vspace #-1.2
      \fontsize #3.0 \bold { "Title" }
      "Subtitle"
      \vspace #-0.25
      \fill-line { " " "Composer" }
      \vspace #0.5
    }
  }
}

--
Timothy Lanfear, Bristol, UK.

Reply via email to