Re: Controlling markup vertical position

2015-11-17 Thread Menu Jacques
Hello folks, Thanks for your help. It turns out I had mistaken \markLengthOn for \textLengthOn… -\tweak self-alignment-X #0 % move horizontally to the left works but is not adequate in my actual score, since there are bars to the left. So the good way for me to go is: \once\textLengthOn

Re: Controlling markup vertical position

2015-11-16 Thread Menu Jacques
Hello, As it turns out, using \tempo solves the issue: Cello = \relative f { \clef "bass" \key f \major \time 4/4 \tempo "Bassi" g,2 \f \tempo "Vcl." des''4 \p ( c4 ) | % 18 } \relative { \Cello } JM > Le 15 nov. 2015 à 07:33, Menu Jacques a écrit : > >

Re: Controlling markup vertical position

2015-11-16 Thread Andrew Bernard
Hi JM, This is a downside, but in general I find it can be managed pretty well. So although the use of extra-offset may not be totally philosophically sound and pure, it is quite pragmatic. Andrew On 16/11/2015, 20:53, "Menu Jacques" wrote: > >Didnt’ think of it,

Re: Controlling markup vertical position

2015-11-16 Thread Menu Jacques
Hi Andrew, > Le 16 nov. 2015 à 13:50, Andrew Bernard a écrit : > > Hi JM, > > Would using \textLengthOn do what you want? Excellent, thanks, that does it! I thought I had tried it, though… not that nice to get old! JM > > Cello = \relative f { > \clef

Re: Controlling markup vertical position

2015-11-16 Thread Menu Jacques
Hello Andrew, Didnt’ think of it, thanks, but then you’re on your own to avoid collisions, whereas \tempo takes care of that… JM > Le 16 nov. 2015 à 10:17, Andrew Bernard a écrit : > > Hi JM > > You could try using extra-offset: > > \version "2.19.30" > > Cello =

Re: Controlling markup vertical position

2015-11-16 Thread Menu Jacques
Hello Andrew, Problem is I don’t have a way yet to perform a « dilatation » of the bar to cope with larger strings such as Contrabassi: Cello = \relative f { \clef "bass" \key f \major \time 4/4 \tempo "Contrabassi" g,2 \f \tempo "Vcl." des''4 \p ( c4 ) | % 18 } \relative {

Re: Controlling markup vertical position

2015-11-16 Thread Andrew Bernard
Hi JM, Would using \textLengthOn do what you want? Cello = \relative f { \clef "bass" \key f \major \time 4/4 \textLengthOn g,2 \f ^\markup{"Contrabassi"} des''4 \p ^"Vcl." ( c4 ) | % 18 } \relative { \Cello } Andrew On 16/11/2015,

Re: Controlling markup vertical position

2015-11-16 Thread Andrew Bernard
Hi JM You could try using extra-offset: \version "2.19.30" Cello = \relative f { \clef "bass" \key f \major \time 4/4 \once \override TextScript.extra-offset = #'(-3 . -3) g,2 \f ^\markup{"Bassi"} des''4 \p ^"Vcl." ( c4 ) | % 18 } \relative { \Cello } Andrew

Re: Controlling markup vertical position

2015-11-16 Thread Simon Albrecht
On 16.11.2015 08:08, Menu Jacques wrote: Hello, As it turns out, using \tempo solves the issue: Well, it depends on what you’re typesetting there, but a \tempo indication will always move to the topmost staff, so this is at least very fragile. But how about: %% \version "2.19.30"

Re: Controlling markup vertical position

2015-11-16 Thread Kieren MacMillan
Hi Jacques, > As it turns out, using \tempo solves the issue: OH, PLEASE DON’T DO THIS! Don’t use a MetronomeMark (which is the grob generated by \tempo) where a TextScript (which is the grob generated by \markup) is appropriate. This *may* appear to “solve the issue”, but really it doesn’t,

Re: Controlling markup vertical position

2015-11-16 Thread Kieren MacMillan
Hi Jacques, > I get Bassi too high and the first quater too much on the left If you want to duplicate the original, you need to [almost] right-align the “Bassi”: SNIPPET BEGINS \version "2.19.30" Cello = \relative f { \clef "bass" \key f \major \time 4/4 s1 g,2\f-\tweak

Controlling markup vertical position

2015-11-15 Thread Menu Jacques
Hello folks, I’ve tried to obtain the following from Mozart: with: \version "2.19.30" Cello = \relative f { \clef "bass" \key f \major \time 4/4 g,2 \f -\tweak Y-offset #ly:self-alignment-interface::y-aligned-on-self -\tweak self-alignment-Y #2 % move vertically down