TextScript inside staff, but not colliding with noteheads?
I'm trying to add text that sits on top of (or right below) a notehead inside of the staff. This is possible with fingerings, but once you put the number in quotes, or a letter in quotes, it no longer works. What I've done so far is: disable outside-staff-priority to allow the text to collide with the staff, and disable staff-padding to allow the text to fall down (it would fall to the correct spot if this were fingering). One of the main issues is that disabling outside-staff-priority allows the text to collide with the noteheads. \version "2.24.2" \relative c' { \omit Score.Stem \override TextScript.staff-padding = #'() \override TextScript.outside-staff-priority = ##f c^"c" d^"d" }
Re: TextScript inside staff
Le 09/06/2022 à 02:57, Ahanu Banerjee a écrit : Hello, I'm looking for a way to put markup text, anchored to a note, inside the staff. The only way I have found so far is using extra-offset, which results in spacing issues around the text's original position. Is there another way? Example: \version "2.23.8" { \stemUp e'' -\tweak extra-offset #'(0 . 2.75) -\tweak whiteout ##t _\markup "II" } Thanks, -Ahanu You need something like \version "2.23.9" { \stemUp e''-\tweak staff-padding #'() -\tweak outside-staff-priority ##f -\tweak whiteout ##t _\markup "II" } Both staff-padding and outside-staff-priority keep the TextScript from getting inside the staff. Best, Jean
TextScript inside staff
Hello, I'm looking for a way to put markup text, anchored to a note, inside the staff. The only way I have found so far is using extra-offset, which results in spacing issues around the text's original position. Is there another way? Example: \version "2.23.8" { \stemUp e'' -\tweak extra-offset #'(0 . 2.75) -\tweak whiteout ##t _\markup "II" } Thanks, -Ahanu