lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fong shape of fingering


From: Stefan Thomas
Subject: Re: fong shape of fingering
Date: Fri, 19 Sep 2008 07:25:18 +0200

Dear all,
maybee You have asked yourself, why I wanted the layout of the fingerings.
The reason is: In my opinion lilypond does not handle very well  tuplets in a cross-staff context. The eample below shows first a very strange position of the number. The second one is convincing. Isn't it possible to make the tuplet numbers better fit (sorry for the bad english) to the beams?

re = { \change Staff = rechts }
li = { \change Staff = links }
ohnezahl = { \override TupletNumber #'stencil = ##f }
tuplets =  { \context Voice <<
{ \times 4/5 { c''8 g e'' c g'' } c''2 }
{ \repeat "unfold" 2 { \re \stemDown  s8*4/5 \li \stemUp s } \re \stemDown s s2 }
>> }
rechts = { \tuplets \ohnezahl \context Voice << { \tuplets } { s 4*4/5 s8*4/5 _5 } >> }
links = { \clef bass s1*2 }

\version "2.11.49"
\score {
\new PianoStaff = "Klavier"
        <<
        \new Staff= "rechts" { \rechts }
           \new Staff = "links" \with {
      \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
    { \links} >>   


}
\layout {\context { \Score 
\override Fingering #'font-size = #'-2
\override Fingering #'font-encoding = #'latin1
  \override Fingering #'font-family = #'roman
  \override Fingering #'font-shape  = #'italic }
}


2008/9/18 Mats Bengtsson <address@hidden>


Risto Vääräniemi wrote:
On 18/09/2008, Bertalan Fodor (LilyPondTool) <address@hidden> wrote:
 
   \override Score.Fingering #'font-encoding = #'latin1

     
Well, there is not a single word in the documentation about that latin1
is a valid value for font-encoding.
   

You could be right. :-) I once struggled trying to use normal serif
font with volta brackets and Mats told me this trick.

http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00268.html
 
The name "latin1" is only there for historical reasons and is the font encoding that's used
by default if the font-encoding property is unset. In other words, it's what's used for normal
text. The setting of font-family in Risto's solution isn't necessary.
What confuses me for the moment is why you cannot get the same result by saying
\revert Score.Fingering #'font-encoding

  /Mats
-Risto



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
 

--
=============================================
       Mats Bengtsson
       Signal Processing
       School of Electrical Engineering
       Royal Institute of Technology (KTH)
       SE-100 44  STOCKHOLM
       Sweden
       Phone: (+46) 8 790 8463                        
      Fax:   (+46) 8 790 7260
       Email: address@hidden
       WWW: http://www.s3.kth.se/~mabe
=============================================




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]