A setting such as
\override Stem #'transparent =##t
will apply to the current Voice context and does certainly work.
However, in your example, you use the construct
<< {...} \\ {...} >>
which implicitly puts the two lines of music into separate
Voice contexts named "1" and "2", respectively.

The easiest is probably to just keep all the notes in the same
Voice context:
<<{a,2}{c}>> <<{a}{c}>>
Or even write these chords as chords instead of simultanous
voices:
\new Voice \relative c' {\voiceThree
  <a, c>2 <a c>
}


Then, you probably shouldn't even make the stem transparent, since LilyPond automatically will move the notes to the right in \voiceThree to make it clear what notes belong where.


If you really want transparent stems and separate voices,
try:
<<{\override Stem #'transparent = ##t a,2}\\{\override Stem #'transparent = ##t c}>> <<{a}\\{c}>>
Even though I would find it very difficult as a musician to
interprete that notation.


   /Mats

Jean-marc LEGRAND wrote:



Yes, I've read the News, and translated : \property Staff.Stem \set #'transparent = ##t into \override Staff.Stem #'transparent = ##t. But the whole notes have transparent stems, whereas I'd like just the middle voice (voicethree) like this. And when I replace Staff by Voice, it doesn't do anything.

Any trick ?


Mats Bengtsson <[EMAIL PROTECTED] Pour : Jean-marc LEGRAND <[EMAIL PROTECTED]> 3.kth.se> cc : [EMAIL PROTECTED] Objet : Re: transparent stems 07/10/2004 13:18





Did you try convert-ly to update the syntax? Also, did you read the NEWS file for version 2.2?

    /Mats

Jean-marc LEGRAND wrote:



Hi list !

Working on Lily2.2 and XP, I cannont find how to translate the "\property Staff.Stem 
\set
#'transparent = ##t" I used on Lily2.0. I have a staff with 3 voices, and I want to 
make the stems
of the middle voice transparent.
I've tried  \override Staff.Stem #'transparent = ##t and it makes the wholes stems 
transparent (in
the 3 voices).
So I've tried \override Voice.Stem #'transparent = ##t, and nothing happens.
I've also tried the Lilybook trick : \override Stem #'transparent = ##t : idem.

What can I do, please ?

Here's my script :

basseI =    \notes
                 \context Staff <<
           \new Voice {\voiceOne
           \time 4/4
           \clef bass
                 \relative c {
f2 f
\bar "||"
}
}
           \new Voice  {\voiceTwo
           \relative c {
\stemDown
f,2 f
           }
           }

           \new Voice  {\voiceThree
           \relative c' {
\override Stem #'transparent = ##t
<<{a,2}\\{c}>> <<{a}\\{c}>>
           }
           }




_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
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 [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to