Ciao Peter, I know this is a totally different story but I suggest also to give a try to avoid the "\relative" and to use absolute octave entry. It takes some weeks to get used but in my opinion it is more easy to manage code in this way. IMHO "\relative" is too much prone to annoying mistakes and furthermore, as you says, it introduces an additional level of brackets.
Maybe that ResetRelativeOctave is a good compromise; I tried it a bit but I have not get enough experience to recommend it. Just my 2 cents.... On 20 December 2016 at 19:04, Peter Toye <lilyp...@ptoye.com> wrote: > Simon, > > Exactly so. Thanks. > > Pity it isn't in the text part of either the learning or notation > reference manual. You have to know about it in order to find it. Which > isn't really the point of a tutorial manual. > > Best regards, > > Peter > mailto:lilyp...@ptoye.com <lilyp...@ptoye.com> > www.ptoye.com > > ------------------------- > Tuesday, December 20, 2016, 5:15:36 PM, you wrote: > > > > > > > > > > > > > > > > > > > *> On 20.12.2016 17:39, Peter Toye wrote: >> Is there a short way of > forcing a particular octave? I tend to enter >> my music using the > \relative notation. I want make sure, especially >> after a complicated set > of new voices or a frequently-used music >> pattern that's been put into a > variable, that the next note will be in >> the correct octave. I know that > I can do an \octaveCheck but this >> throws up an error message if it's not > right. Is there a simple way to >> force a note to be in a correct octave > without the error messages? I >> know that I can do \relative c' { music } > but this gives a lot of >> otherwise superfluous brackets. >> What I think > is really needed here is something like \forceOctave c'' >> which moves > subsequent music into the octave without any error >> messages. Or does it > exist somewhere and (as a newbie) I haven't found it? > I think > \resetRelativeOctave is what you’re looking for. > Best, Simon* > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user