Re: How To Shift String Numbers?

2005-08-08 Thread Mats Bengtsson

To just move things vertically, it is in general a better idea
to use the property called padding, see the section on
Common Tweaks in the manual.

   /Mats

VSD wrote:
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'\58-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''\38-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'\58-2 d'16-4 e'16-1 f'16-2 g'16-4 a'16-1 b'16-3 |
 c''\38-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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


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


Re: How To Shift String Numbers?

2005-08-07 Thread VSD
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'\58-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''\38-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'\58-2 d'16-4 e'16-1 f'16-2 g'16-4 a'16-1 b'16-3 |
 c''\38-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


How To Shift String Numbers?

2005-08-06 Thread Randy Keeling
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'\58-2 d'16-4 e'16-1 f'16-2 g'16-4 a'16-1 b'16-3 |c''\38-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 withthe note stem. How can I fix this? I have read some of the message archive and noticed that the most common solution seems tobe 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