Jump to content

Using the \tweak command to tweak individual grobs: Difference between revisions

From LilyPond wiki
No edit summary
m New category
 
Line 16: Line 16:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 23:34, 21 November 2025

With the \tweak command, every grob can be tuned directly. Here are some examples of available tweaks.

\version "2.24"

\relative c' {
  \time 2/4
  \set fingeringOrientations = #'(right)
  <
    \tweak font-size #3 c
    \tweak color #red d-\tweak font-size #8 -4
    \tweak style #'cross g
    \tweak duration-log #2 a
  >2
}