[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected stem behaviour
From: |
Simon Albrecht |
Subject: |
Re: Unexpected stem behaviour |
Date: |
Wed, 15 Mar 2017 19:39:11 +0100 |
Am 15.03.2017 um 17:07 schrieb Gerard:
\version 2.18.2
% bar 30
\relative bes'' << {bes4 c d} \\ {\relative bes'' {bes32 f d bes}
\change Staff = "lower" {f,, d bes f} \change Staff = "upper" {c'''
bes f c} \change Staff = "lower" {bes f c bes} \change Staff = "upper"
{d'' bes f d} \change Staff = "lower" {bes f d bes} \change Staff =
"upper"}>>
I second what Phil said. Some hints in addition:
– \change Staff = "lower" doesn’t need the following music to be
enclosed in braces. It emits an event at one point of time (moving the
voice to the other staff) rather than actually modifying the following
music.
– Please surround all { } with spaces and apply appropriate line breaks
(rule of thumb: maximum 80 characters per line, exceptions
notwithstanding). It helps legibility of the code.
– It seems you’d be well off using explicit voices like \new Voice {
\voiceOne … }. These are explained in the Learning Manual.
HTH, Simon