Jump to content

Putting parentheses around a note inside a chord: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
As children do not always have hands large enough, say, to plays octavas when studying piano, or anything else, it can be useful to add parentheses around a low note for example. In this snippet, the “parenthesized” note is made a bit smaller using the <code>\tweak</code> command on the <code>#'font-size property</code>.
As children do not always have hands large enough, say, to plays octavas when studying piano, or anything else, it can be useful to add parentheses around a low note for example. In this snippet, the “parenthesized” note is made a bit smaller using the <code>\tweak</code> command on the <code>#'font-size property</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=283
%% http://lsr.di.unimi.it/LSR/Item?id=283


Line 16: Line 16:
[[Category:Keyboards]]
[[Category:Keyboards]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Snippet]]

Latest revision as of 23:35, 21 November 2025

As children do not always have hands large enough, say, to plays octavas when studying piano, or anything else, it can be useful to add parentheses around a low note for example. In this snippet, the “parenthesized” note is made a bit smaller using the \tweak command on the #'font-size property.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=283


{ 
  \clef bass
  < f \parenthesize \tweak font-size #-1 f, >2
}