lilypond-user
[Top][All Lists]
Advanced

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

Re: How to align text vertically and change font document-wise


From: Jean Abou Samra
Subject: Re: How to align text vertically and change font document-wise
Date: Wed, 1 Sep 2021 11:23:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0



Le 01/09/2021 à 10:50, Ivanov Dmitry a écrit :
Here is the minimal working example:

\relative c'' {
   \clef violin
   \time 3/4
   c,2_"C" e8_"E" c'_"C"
   g'2.
   f4 e d
   c4 c, r
}

Is it possible to vertically align all the characters by the bottom
line? How can I change the font for text document-wise, for example
change the size and make it bold for all the markup texts?


Like so:

\version "2.22.1"

\relative c'' {
  \clef violin
  \time 3/4
  \override TextScript.font-series = #'bold
  \override TextScript.Y-offset = -6
  c,2_"C" e8_"E" c'_"C"
  g'2.
  f4 e d
  c4 c, r
}

Please see
http://lilypond.org/doc/v2.23/Documentation/internals/font_002dinterface
and
http://lilypond.org/doc/v2.23/Documentation/notation/aligning-objects#setting-x_002doffset-and-y_002doffset-directly

Best,
Jean



reply via email to

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