]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-objects-created-with-the--mark-command.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / aligning-objects-created-with-the--mark-command.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.10"
5
6 \header {
7   lsrtags = "text"
8
9   texidoc = "
10 By default the @code{\\mark} command centers objects over a bar line.
11 This behavior can be modified to align at right or left.
12
13 "
14   doctitle = "Aligning objects created with the \\mark command"
15 } % begin verbatim
16
17 \relative c' {
18   c1 \mark "(Center)"
19   c1
20   \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
21   \mark "(Left)"
22   c4 c c c
23   c4 c c c
24   \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
25   \mark "(Right)"
26   c1
27 }
28
29