Jump to content

Guitar string number: 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:
String numbers can be added to chords. They use the same positioning mechanism as finger instructions.
String numbers can be added to chords. They use the same positioning mechanism as finger instructions.


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



Revision as of 18:53, 16 November 2025

String numbers can be added to chords. They use the same positioning mechanism as finger instructions.

\version "2.24"

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

\relative c' {
  \set fingeringOrientations = #'(down left up)
  \set stringNumberOrientations = #'(down right up)
  <c\5>4
  <e\4>
  <g\3>2
  <c,\5 e\4 g\3>1
}