]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-a-single-notes-size-in-a-chord.ly
Doc-it: chapter 1 completed
[lilypond.git] / Documentation / snippets / changing-a-single-notes-size-in-a-chord.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.17.25"
8
9 \header {
10   lsrtags = "editorial-annotations, really-simple, simultaneous-notes, specific-notation, tweaks-and-overrides"
11
12   texidoc = "
13 Individual note heads in a chord can be modified with the
14 @code{\\tweak} command inside a chord, by altering the @code{font-size}
15 property.
16
17
18 Inside the chord (within the brackets @code{< >}), before the note to
19 be altered, place the @code{\\tweak} command, followed by
20 @code{#'font-size} and define the proper size like @code{#-2} (a tiny
21 note head).
22
23
24
25 "
26   doctitle = "Changing a single note's size in a chord"
27 } % begin verbatim
28
29
30 \relative c' {
31   <\tweak font-size #+2 c e g c \tweak font-size #-2 e>1^\markup { A tiny e }_\markup { A big c }
32 }