Deutschsprachiges LilyPond-Forum

Allgemeine Fragen und Probleme => Fragen und Probleme aller Art => Thema gestartet von: amte am Dienstag, 27. Juni 2023, 14:11

Titel: Bring text/line segments in Lilypond in the same vertical position
Beitrag von: amte am Dienstag, 27. Juni 2023, 14:11
I have many places in my Lilypond score where my line+text combination stand in different heights. I would like them to be in the same height.

I have defined these as:

```

dord = {\once \override TextSpanner.bound-details.right.text = # " ord "
        \once \override TextSpanner.bound-details.right.stencil-align-dir-y = #0
        \once\override Staff.TextSpanner.bound-details.right.arrow = ##t }
dspt = {\once \override TextSpanner.bound-details.right.text = # "  s.p. "
        \once \override TextSpanner.bound-details.right.stencil-align-dir-y = #0
        \once\override Staff.TextSpanner.bound-details.right.arrow = ##t }
```

How can I force them to stay on the same y-position?