[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: placement of dot depending on \stemDown or \voiceTwo
From: |
Keith OHara |
Subject: |
Re: placement of dot depending on \stemDown or \voiceTwo |
Date: |
Sat, 3 Mar 2012 03:20:12 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
-Eluze <eluzew <at> gmail.com> writes:
> \relative c''{ \voiceTwo g2. }
> \relative c'' { \stemDown g2. }
>
> the placement of the dot is different - once above and once below the staff
> line.
\voiceTwo sets the directions of all the usual notation elements that
are placed differently to distinguish voices on a staff. The list of
those things is in 'music-functions.scm':
(AccidentalSuggestion DotColumn Dots Fingering LaissezVibrerTie
LigatureBracket PhrasingSlur RepeatTie Rest Script Slur Stem TextScript
Tie TupletBracket TrillSpanner)
\stemDown is for when we want to change the stem direction only.
Sometimes we want to place Dots independently of the Stems direction,
when voices cross :
\relative c''\new Staff <<
\new Voice {\voiceTwo b2.} %% \stemDown here makes this more clear
\new Voice {\voiceOne f2.}>>
In versions after 2.15.27, the note-collision code adjust the Dot
direction automatically in these cases.
If there are cases were the current behavior causes trouble, we could
maybe have Dots direction be undefined by default, and place Dots based
on Stem direction unless the user explicitly sets a Dots direction.