]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/moving-dotted-notes-in-polyphony.ly
Add '-dcrop' option to ps and svg backends
[lilypond.git] / Documentation / snippets / moving-dotted-notes-in-polyphony.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
11
12   texidoc = "
13 When a dotted note in the upper voice is moved to avoid a collision
14 with a note in another voice, the default is to move the upper note to
15 the right.  This behaviour can be over-ridden by using the
16 @code{prefer-dotted-right} property of @code{NoteCollision}.
17
18 "
19   doctitle = "Moving dotted notes in polyphony"
20 } % begin verbatim
21
22 \new Staff \relative c' <<
23   {
24     f2. f4
25     \override Staff.NoteCollision.prefer-dotted-right = ##f
26     f2. f4
27     \override Staff.NoteCollision.prefer-dotted-right = ##t
28     f2. f4
29   }
30   \\
31   { e4 e e e e e e e e e e e }
32 >>