lilypond-user
[Top][All Lists]
Advanced

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

TextScript vertical alignment in Dynamics context


From: Mark Knoop
Subject: TextScript vertical alignment in Dynamics context
Date: Tue, 05 Apr 2022 08:48:07 +0100
User-agent: mu4e 1.7.12; emacs 29.0.50

Hi,

I'm trying to align markups in a Dynamics context to their baseline, but they 
always align their tops. Can't figure out what property to set to achieve this.

Example follows - I'd like the markups on the first line (which are in a 
Dynamics context) to align DOWN rather than UP, i.e. to match the behaviour of 
the markups on the second line (which are in a Voice context).

Thanks in advance for any help on this.

\version "2.23.6"
\header { tagline = ##f }

\score {
  \new Score {
    <<
      \new Dynamics \with {
      } {
        \markLengthOn
        \repeat unfold 12 { \mark \default s1 }
      }
      \new Dynamics \with {
      } {
        s1-\markup \column { one two three }
        s1-\markup \column { one two three four }
        s1-\markup \column { one two }
        s1-\markup \column { one two }
        s1-\markup \column { one two three four five }
        s1-\markup \column { one two three }
        \break
      }
      \new Staff \with {
      } {
        <<
          \repeat unfold 12 { c'4 4 4 4 }
          \new Voice {
            s1*6
            s1^\markup \column { one two }
            s1^\markup \column { one two three four five }
            s1^\markup \column { one two three }
            s1^\markup \column { one two }
            s1^\markup \column { one two three four five }
            s1^\markup \column { one two three }
          }
        >>
      }
    >>
  }
}

Attachment: vertical-alignment.png
Description: PNG image



--
Mark Knoop

reply via email to

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