]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/using-the--tweak-command-to-tweak-individual-grobs.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / using-the--tweak-command-to-tweak-individual-grobs.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.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.14.2"
8
9 \header {
10   lsrtags = "really-simple, tweaks-and-overrides"
11
12   texidoc = "
13 With the @code{\\tweak} command, every grob can be tuned directly.
14 Here are some examples of available tweaks.
15
16 "
17   doctitle = "Using the \\tweak command to tweak individual grobs"
18 } % begin verbatim
19
20
21 \relative c' {
22   \time 2/4
23   \set fingeringOrientations = #'(right)
24   <
25     \tweak #'font-size #3 c
26     \tweak #'color #red d-\tweak #'font-size #8 -4
27     \tweak #'style #'cross g
28     \tweak #'duration-log #2 a
29   >2
30 }