X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fprinting-note-names-with-and-without-an-octave-marker.ly;fp=Documentation%2Fsnippets%2Fprinting-note-names-with-and-without-an-octave-marker.ly;h=673a31c3a8bd334c91498781e547f837fc4511a3;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/printing-note-names-with-and-without-an-octave-marker.ly b/Documentation/snippets/printing-note-names-with-and-without-an-octave-marker.ly new file mode 100644 index 0000000000..673a31c3a8 --- /dev/null +++ b/Documentation/snippets/printing-note-names-with-and-without-an-octave-marker.ly @@ -0,0 +1,54 @@ +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.14.0" + +\header { + lsrtags = "tweaks-and-overrides" + +%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c + texidoces = " +Se puede usar el contexto @code{NoteNames} para imprimir el valor +textual de las notas. La propiedad @code{printOctaveNames} activa o +desactiva la representación de la octava de las notas. + +" + doctitlees = "Impresión de los nombres de las notas con o sin indicación de la octava" + + + + texidoc = " +The @code{NoteNames} context can be used to print the text value of +notes. The @code{printOctaveNames} property turns on or off the +representation of the octave of the note. + +" + doctitle = "Printing note names with and without an octave marker" +} % begin verbatim + +scale = \relative c' { + a4 b c d + e4 f g a +} + +\new Staff { + << + \scale + \context NoteNames { + \set printOctaveNames = ##f + \scale + } + >> + R1 + << + \scale + \context NoteNames { + \set printOctaveNames = ##t + \scale + } + >> +} +