Re: rotation with unwanted shift to the right

2008-11-19 Thread Peter Van Kranenburg

Neil Puttock wrote:

Hi Peter,

2008/11/19 Peter Van Kranenburg <[EMAIL PROTECTED]>:


I would be grateful if somebody could tell me how to rotate long strings
without shifting them to the right.


Try this:

\override TextScript #'self-alignment-X = #LEFT



That works great. Thanks a lot!


By the way, you don't need to remove the Default_bar_line_engraver
from the Staff context, since it's never there by default anyway.



Ok. I will remove it. Thanks again.


Best,
Peter



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rotation with unwanted shift to the right

2008-11-19 Thread Neil Puttock
Hi Peter,

2008/11/19 Peter Van Kranenburg <[EMAIL PROTECTED]>:

> I would be grateful if somebody could tell me how to rotate long strings
> without shifting them to the right.

Try this:

\override TextScript #'self-alignment-X = #LEFT

By the way, you don't need to remove the Default_bar_line_engraver
from the Staff context, since it's never there by default anyway.

Regards,
Neil


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


rotation with unwanted shift to the right

2008-11-19 Thread Peter Van Kranenburg

Dear all,

When I rotate text that is right under a note, it is also shifted to the 
right. In the example below, I want the numbers exactly between the note 
on the top stave and on the bottom stave. When there is only a "0", it 
is ok. When there are three digits, there is a small shift. When there 
are more digits (e.g. the "0.630947"), the shift is so big that the 
number is below the next note.


I would be grateful if somebody could tell me how to rotate long strings 
without shifting them to the right.


Thanks in advance!

Peter van Kranenburg




\version"2.11.56"
\markup {\wordwrap-string#"Aligner  : AffineGlobalAligner

Substitution : ProductCombiner

Gap  : SimpleGapRater
"}
\markup {\wordwrap-string#"Score : 3.10154
"}
\score {
<<
 \new Staff { \set Staff.instrumentName = "NLB00_00" \autoBeamOff 
\bar "" s16  \bar "" s16  \bar"dashed" a'16(_\markup\rotate #90 
"0.630947"^"0"  \bar"" a'16  \bar"" a'16  \bar"" a'16)  \bar"" a'16( 
\bar"" a'16  \bar"" a'16  \bar"" a'16)_\markup\rotate #90 "0"  \bar"" 
b'16_\markup\rotate #90 "0.75"  \bar"" c''16_\markup\rotate #90 "0.75" 
\bar"" d''16_\markup\rotate #90 "0.75"  \bar"" c''16_\markup\rotate #90 
"0.220588"  \bar "" s16  \bar "" s16  \bar "" s16  \bar "" s16  \bar"" 
b'16(_\markup\rotate #90 "0"  \bar"" b'16)_\markup\rotate #90 "0" 
\bar"" a'16(_\markup\rotate #90 "0"  \bar"" a'16)_\markup\rotate #90 "0" }


 \new Staff { \set Staff.instrumentName = "NLB00_00" \autoBeamOff 
\bar"" a'16^"0"  \bar"" a'16  \bar"" b'16  \bar "" s16  \bar "" s16 
\bar "" s16  \bar "" s16  \bar "" s16  \bar "" s16  \bar"" c''16  \bar"" 
d''16  \bar"" c''16  \bar"" b'16(  \bar"" b'16)  \bar"" a'16(  \bar"" 
a'16  \bar"" a'16  \bar"" a'16)  \bar"" a'16(  \bar"" a'16  \bar"" a'16 
 \bar"" a'16) }

>>
}
\layout{ indent = 3.0\cm
\context { \Score \remove "Timing_translator" \remove 
"Default_bar_line_engraver" }
\context { \Staff \remove "Default_bar_line_engraver" \remove 
"Time_signature_engraver" \consists "Timing_translator" \override Stem 
#'transparent = ##t } }




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user