use the extra-offset property of the StringNumber object, it allows to
move it both vertically and horizontally. e.g:
%%%%%%%%%%%%%%%%%%%
\version "2.6.0"
\score {
{
\set fingeringOrientations = #'(up)
\set stringNumberOrientations = #'(down)
\set Staff.instrument = "C Major"
\clef treble
\time 2/4
<c'\5>8-2 d'16-4 e'16-1 f'16-2 g'16-4 a'16-1 b'16-3 |
\override StringNumber #'extra-offset = #'(1 . -2)
<c''\3>8-1
\revert StringNumber #'extra-offset
d''16-3 e''16-1 f''16-2 g''16-4 a''16-1 b''16-3 |
c'''8-4 b''16-3 a''16-1 g''16-3 f''16 e''16 d''16 |
c''8 b'16 a'16 g'16 f'16 e'16 d'16 |
c'4 r4 \bar "|."
}
}
%%%%%%%%% EOF %%%%%%%
greetings,
Vincent
On Sun, 07 Aug 2005 01:19:07 +0200, Randy Keeling <[EMAIL PROTECTED]>
wrote:
Greetings,
I just started to use Lilypond today and I have run into a problem
(surprise). To start learning, I started to enter some scales. I have
been able to solve most of my problems except how to shift a string
number (Guitar notation). Below is what I have done:
%-----------------------------------------
\score {
{
\set fingeringOrientations = #'(up)
\set stringNumberOrientations = #'(down)
\set Staff.instrument = "C Major"
\clef treble
\time 2/4
<c'\5>8-2 d'16-4 e'16-1 f'16-2 g'16-4 a'16-1 b'16-3 |
<c''\3>8-1 d''16-3 e''16-1 f''16-2 g''16-4 a''16-1 b''16-3 |
c'''8-4 b''16-3 a''16-1 g''16-3 f''16 e''16 d''16 |
c''8 b'16 a'16 g'16 f'16 e'16 d'16 |
c'4 r4 \bar "|."
}
}
%-----------------------------------------
You will notice that the string number for the C above middle C has run
in with the note stem. How can I fix this? I have read some of the
message archive and noticed that the most common solution seems to be to
use Tex/LaTex to create a custom solution. I am a not un-familiar with
LaTex so this wouldn't be a problem, but I hope that there is a more
elegant solution (so I don't have to download the Cygwin package).
On a side note, is there a good solution for notating positions on the
guitar besides the text spans (which, when compared to what Lilypond
outputs, is not as attractive as it could be). I looked at the octave
notation as a possible subsitute but that would upset any MIDI output.
:-(
Thanks,
Randy
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user