lilypond-user
[Top][All Lists]
Advanced

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

Re: Questions about Stem #'length


From: Mats Bengtsson
Subject: Re: Questions about Stem #'length
Date: Wed, 16 Sep 2009 22:24:51 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Neil Thornock wrote:
Sorry about the last one!...

If you don't want stems at all:

\override Stem #'stencil = ##f
In many situations,
\override Stem #'transparent = ##t
may be preferrable, since many other objects need a stem to
attach to.

   /Mats
On Wed, Sep 16, 2009 at 10:30 AM, Marc Hohl <address@hidden> wrote:
Hi,

I tried to manipulate the length of the stems but I got strange results.
Please compile the following file:

---------------------------------------

\version "2.13.3"

test = \relative c {
 << { c4 ( d\5 ) e ( f ) } \\ g,1 >>
 << { e''4 ( f ) e ( f ) } \\ { c4 ( d ) c ( d ) } >>
 e4\1 ( f\1 ) f\1 ( e\1 )
 e\2 ( f\2 ) f\2 ( e\2 )
 e\3 ( f\3 ) f\3 ( e\3 )
 e\4 ( f\4 ) f\4 ( e\4 )
 e,\5 ( f\5 ) f\5 ( e\5 )
 e\6 ( f\6 ) f\6 ( e\6 )
 \set doubleSlurs = ##t
 < e\6 b'\5 e\4 >2 ( < f\6 c'\5 f\4 > )
}


\score { % standard behaviour
 <<
    \new Staff { \clef "G_8" \test }
    \new TabStaff <<
       \new TabVoice = "1" { s1*2 }
       \new TabVoice = "2" { s1*2 }
       \test
    >>
 >>
}

\score { % changed layout
 <<
    \new Staff { \clef "G_8" \test }
    \new TabStaff <<
       \new TabVoice = "1" { s1 }
       \new TabVoice = "2" { s1 }
       \test
    >>
 >>
 \layout {
  \context {
    \TabVoice
    \override Slur #'direction = #UP
    \override Stem #'length = #0
  }
  \context {
    \Voice
    \override Slur #'direction = #UP
    \override Stem #'length = #0
  }
  \context {
    \TabStaff
    \override NoteColumn #'ignore-collision = ##t
  }
 }
}

---------------------------------

Despite the settings for Stem #'length, some of the stems are still visible;
moreover, the slurs in the first tablature line show a strange behavior:
in the first measure, the slurs in the upper voice are attached to the fret
numbers,
whereas the second measure has slurs attached to the stems.

Why are the stems still (partly) visible?

Thanks in advance

Marc

_______________________________________________
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
=============================================





reply via email to

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