lilypond-user
[Top][All Lists]
Advanced

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

Change stem direction for voice?


From: Stefano Antonelli
Subject: Change stem direction for voice?
Date: Sun, 25 Aug 2024 07:55:22 +0000
User-agent: Evolution 3.36.5-0ubuntu1

Hello List,

Is it possible to change the stem direction for an entire voice from a
context?  Something like this doesn't work:

\layout {
  \context Voice = "voiceTwo" {
    \override Stem.direction = #UP
    \override Slur.direction = #DOWN
    \override Beam #'positions = #'(5 . 5)
  }
}

The Beam position appears to work, but not the stem or slur directions.
 I read somewhere that:

\stemUp expands to \override Stem.direction = #UP

So that's why I'm using it.

I'm also experimenting with voiceTwo because it defaults to stems down.
 And I'd like voiceTwo to be stems up.

If it can't be done through contexts, is there any way to force stem
directions for a given voice without adding \stemUp or \stemDown to the
notes themselves?

Thanks,
Stef

reply via email to

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