Jump to content

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

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
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



Revision as of 18:52, 16 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
}