\header {
lsrtags = "keyboards"
+ texidoces = "
+Los símbolos específicos de acordeón discanto se escriben mediante
+@code{\markup}. Se puede trucar la colocación vertical de los
+símbolos modificando los argumentos de @code{\raise}.
+
+"
+ doctitlees = "Símbolos de acordeón discanto"
+
texidoc = "
Accordion discant-specific symbols are added using @code{\\markup}. The
vertical placement of the symbols can be tweaked by changing the
\header {
lsrtags = "rhythms, percussion"
+ texidoces = "
+Mediante la utilización de las potentes herramientas preconfiguradas
+como la función @code{\drummode} y el contexto @code{DrumStaff}, la
+introducción de partes para percusión es muy fácil: las percusiones se
+sitúan en sus propias posiciones de pentagrama (con una clave
+especial) y tienen las cabezas correspondientes al instrumento. Es
+posible añadir un símbolo adicional a la percusión o reducir el número
+de líneas.
+
+"
+ doctitlees = "Escritura de partes de percusión"
+
texidoc = "
Using the powerful pre-configured tools such as the @code{\\drummode}
function and the @code{DrumStaff} context, inputting drum parts is
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "editorial-annotations, fretted-strings"
+
+ texidoc = "
+Fingering instructions can be entered using a simple syntax.
+
+"
+ doctitle = "Adding fingerings to a score"
+} % begin verbatim
+\relative c'' {
+ c4-1 d-2 f-4 e-3
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings"
+
+ texidoc = "
+To add fingerings to tablatures, use a combination of @code{\\markup}
+and @code{\\finger}.
+
+"
+ doctitle = "Adding fingerings to tablatures"
+} % begin verbatim
+one = \markup { \finger 1 }
+two = \markup { \finger 2 }
+threeTwo = \markup {
+ \override #'(baseline-skip . 2)
+ \column {
+ \finger 3
+ \finger 2
+ }
+}
+threeFour = \markup {
+ \override #'(baseline-skip . 2)
+ \column {
+ \finger 3
+ \finger 4
+ }
+}
+
+\score {
+ \new TabStaff {
+ \stemUp
+ e8\4^\one b\2 <e, g\3 e'\1>^>[ b\2 e\4]
+ <a\3 fis'\1>^>^\threeTwo[ b\2 e\4]
+ }
+}
\header {
lsrtags = "titles"
+ texidoces = "
+Con algo de código de Scheme, se puede añadir fácilmente la fecha
+actual a una partitura.
+
+"
+ doctitlees = "Añadir la fecha actual a una partitura"
+
texidoc = "
With a little Scheme code, the current date can easily be added to a
score.
\header {
lsrtags = "repeats"
+ texidoces = "
+El grabador @code{Volta_engraver} reside de forma predeterminada
+dentro del contexto de @code{Score}, y los corchetes de la repetición
+se imprimen así normalmente sólo encima del pentagrama superior. Esto
+se puede ajustar añadiendo el grabador @code{Volta_engraver} al
+contexto de @code{Staff} en que deban aparecer los corchetes; véase
+también el fragmento de código \"Volta multi staff\".
+
+"
+ doctitlees = "Añadir corchetes de primera y segunda vez a más pentagramas"
+
texidoc = "
The @code{Volta_engraver} by default resides in the @code{Score}
context, and brackets for the repeat are thus normally only printed
\header {
lsrtags = "text, vocal-music, spacing"
+ texidoces = "
+Este fragmento de código muestra cómo situar la línea de base de la
+letra más cerca del pentagrama.
+
+"
+ doctitlees = "Ajuste del especiado vertical de la letra"
+
texidoc = "
This snippet shows how to bring the lyrics line closer to the staff.
\header {
lsrtags = "text, paper-and-layout, titles"
+ texidoces = "
+Los nombres de instrumento se imprimen generalmente a la izquierda de
+los pentagramas. Para alinear los nombres de varios instrumentos
+distintos, sitúelos dentro de un bloque @code{\markup} y utilice una
+de las siguientes posiblidades:
+
+*
+ Nombres de instrumento alineados por la derecha: es el
+ comportamiento predeterminado
+
+*
+ Nombres de instrumento centrados: la utilización de la instrucción
+ @code{\hcenter-in #n} sitúa los nombres de instrumento dentro de
+ un rectángulo separado, donde @code{n} es la anchura del
+ rectángulo
+
+*
+ Nombres de instrumento alineados por la izquierda: los nombres se
+ imprimen en la parte superior de un rectángulo vacío, utilizando
+ la instrucción @code{\combine} con un objeto @code{\hspace #n}.
+
+"
+ doctitlees = "Alinear y centrar los nombres de instrumento"
+
texidoc = "
Instrument names are generally printed to the left of the staves. To
align the names of several different intruments, put them in a
\header {
lsrtags = "text, vocal-music"
+ texidoces = "
+La alineación horizontal de la letra se puede ajustar sobreescribiendo
+la propiedad @code{self-alignment-X} del objeto @code{LyricText}.
+@code{#-1} es izquierda, @code{#0} es centrado y @code{#1} es derecha;
+sin embargo, puede usar también @code{#LEFT}, @code{#CENTER} y
+@code{#RIGHT}.
+
+"
+ doctitlees = "Alineación de la letra"
+
texidoc = "
Horizontal alignment for lyrics cam be set by overriding the
@code{self-alignment-X} property of the @code{LyricText} object.
\header {
lsrtags = "text"
+ texidoces = "
+Si están especificadas, las marcas de texto se pueden alinear con
+objetos de notación distintos a las líneas divisorias. Entre estos
+objetos se encuentran @code{ambitus}, @code{breathing-sign},
+@code{clef}, @code{custos}, @code{staff-bar}, @code{left-edge},
+@code{key-cancellation}, @code{key-signature} y @code{time-signature}.
+
+En estos casos, las marcas de texto se centran horizontalmente sobre
+el objeto, aunque esto se puede cambiar, como se muestra en la segunda
+línea de este ejemplo (en una partitura con varios pentagramas, se
+debe hacer este ajuste para todos los pentagramas).
+
+"
+ doctitlees = "Alinear marcas con varios objetos de notación"
+
texidoc = "
If specified, text marks may be aligned with notation objects other
than bar lines. These objects include @code{ambitus},
\header {
lsrtags = "tweaks-and-overrides, paper-and-layout, spacing"
+ texidoces = "
+Mediante el establecimiento de las propiedades de
+@code{NonMusicalPaperColumn} se puede ajustar el espaciado vertical en
+cada sistema.
+
+Ajustando @code{alignment-extra-space} o
+@code{fixed-alignment-extra-space} se puede ampliar verticalmente un
+sistema individual.
+
+Por razones técnicas, se debe usar @code{\overrideProperty} para
+cambiar estas propiedades dentro de un pentagrama; aún se debe usar
+@code{\override} dentro de un bloque @code{\context} para las
+sobreescrituras globales.
+
+"
+ doctitlees = "Espaciado de la alineación vertical"
+
texidoc = "
By setting properties in @code{NonMusicalPaperColumn}, vertical spacing
can be adjusted per system.
\version "2.11.52"
\header {
- lsrtags = "editorial-annotations, spacing"
+ lsrtags = "editorial-annotations, fretted-strings, spacing"
texidoces = "
Las cifras de digitación se imprimen de forma predeterminada fuera
\header {
lsrtags = "editorial-annotations, tweaks-and-overrides"
+ texidoces = "
+De forma predeterminada se añaden corchetes de análisis sencillos
+debajo del pentagrama. El ejemplo siguiente muestra una manera de
+colocarlos por encima.
+
+"
+ doctitlees = "Corchetes de análisis encima del pentagrama"
+
texidoc = "
Simple horizontal analysis brackets are added below the staff by
default. The following example shows a way to place them above the
\header {
lsrtags = "ancient-notation"
+ texidoces = "
+Las indicaciones de compás también se pueden grabar en estilo antiguo.
+
+"
+ doctitlees = "Indicaciones de compás antiguas"
+
texidoc = "
Time signatures may also be engraved in an old style.
\new Staff {
\transpose c d
\relative c' {
- \set shapeNoteStyles = ##(do re mi fa #f la ti)
+ \set shapeNoteStyles = #'#(do re mi fa #f la ti)
\fragment
}
\relative c' {
- \set shapeNoteStyles = ##(cross triangle fa #f mensural xcircle diamond)
+ \set shapeNoteStyles = #'#(cross triangle fa #f mensural xcircle diamond)
\fragment
}
}
\header {
lsrtags = "rhythms"
+ texidoces = "
+Se pueden subdividir las barras automáticamente. Estableciendo la
+propiedad @code{subdivideBeams}, las barras se subdividen en
+posiciones de pulso (tal y como se especifica en @code{beatLength}).
+
+"
+ doctitlees = "Subdivisiones de barra automáticas"
+
texidoc = "
Beams can be subdivided automatically. By setting the property
@code{subdivideBeams}, beams are subdivided at beat positions (as
\header {
lsrtags = "rhythms"
+ texidoces = "
+En un compás sencillo como 2/2 ó 4/4, las corcheas se barran de forma
+predeterminada como dos grupos de cuatro.
+
+Utilizando un macro que seobreescribe el comportamiento automático del
+barrado, este fragmento de código cambia el barrado a pulsos de negra.
+
+"
+ doctitlees = "Barras automáticas de dos en dos en los compases de 4/4 o de 2/2"
+
texidoc = "
In a simple time signature of 2/2 or 4/4, 8th notes are beamed by
default as two sets of four.
\version "2.11.52"
\header {
- lsrtags = "editorial-annotations, chords, keyboards"
+ lsrtags = "editorial-annotations, chords, keyboards, fretted-strings"
texidoces = "
Se puede controlar con precisión la colocación de los números de digitación.
changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
grid-lines--emphasizing-rhythms-and-notes-synchronization.ly
changing-a-single-notes-size-in-a-chord.ly
+adding-fingerings-to-a-score.ly
grid-lines--changing-their-appearance.ly
default-direction-of-stems-on-the-center-line-of-the-staff.ly
allowing-fingerings-to-be-printed-inside-the-staff.ly
creating-arpeggios-across-notes-in-different-voices.ly
creating-cross-staff-arpeggios-in-other-contexts.ly
printing-hairpins-using-al-niente-notation.ly
+laissez-vibrer-ties.ly
contemporary-glissando.ly
adding-parentheses-around-an-expressive-mark-or-chordal-note.ly
line-arrows.ly
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings"
+
+ texidoc = "
+A hammer in tablature can be faked with slurs.
+
+"
+ doctitle = "Faking a hammer in tablatures"
+} % begin verbatim
+\score{
+ \new TabStaff {
+ \relative c'' {
+ c4( d) d( d)
+ d2( c)
+ }
+ }
+}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings"
+
+ texidoc = "
+This example combines left-hand fingering, string indications, and
+right-hand fingering.
+
+"
+ doctitle = "Fingerings, string indications, and right-hand fingerings"
+} % begin verbatim
+#(define RH rightHandFinger)
+
+\relative c {
+ \clef "treble_8"
+ <c-3\5-\RH #1 >4
+ <e-2\4-\RH #2 >4
+ <g-0\3-\RH #3 >4
+ <c-1\2-\RH #4 >4
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings"
+
+ texidoc = "
+For flamenco guitar, special notations are used:
+
+
+* a golpe symbol to indicate a slap on the guitar body with the nail
+of the ring finger, * an arrow to indicate (the direction of) strokes,
+* different letters for fingering (\"p\": thumb, \"i\": index finger,
+\"m\": middle finger, \"a\": ring finger and \"x\": little finger) *
+3- and 4-finger rasgueados; stroke upwards with all fingers, ending
+with an up- and down using the index finger * abanicos; strokes (in
+tuples) with thumb (down), little and index finger (both up). There's
+also an abanico 2 where middle and ring finger are used instead of the
+little finger. * alza pua fast playing with the thumb
+
+
+
+Most figures use arrows in combination with fingering and with abanicos
+and rasgueados, noteheads are printed only for the first chord.>This
+snippet contains some header-like code that can be copied as
+@samp{flamenco.ly} and included in your source.
+
+"
+ doctitle = "Flamenco notation"
+} % begin verbatim
+% This snippet was originally made for LilyPond 2.11.41
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%% Cut here ----- Start 'flamenco.ly'
+
+% Text indicators
+abanico = \markup { \italic Abanico }
+rasgueaso = \markup { \italic Ras. }
+alzapua = \markup { \italic Alzapua }
+
+% Finger stroke symbols
+strokeUp = \markup { \postscript #"
+ 0.1 setlinewidth
+ 0.5 0 moveto
+ 0.5 2 lineto
+ 0.2 1.4 lineto
+ 0.5 2 moveto
+ 0.8 1.4 lineto
+ stroke
+"}
+
+strokeDown = \markup { \postscript #"
+ 0.1 setlinewidth
+ 0.5 2 moveto
+ 0.5 0 lineto
+ 0.2 0.6 lineto
+ 0.5 0 moveto
+ 0.8 0.6 lineto
+ stroke
+"}
+
+
+
+% Golpe symbol
+golpe = \markup { \postscript #"
+ 0.2 setlinewidth
+ 0 0 moveto
+ 1 0 lineto
+ 1 1 lineto
+ stroke
+ "\postscript #"
+ 0.1 setlinewidth
+ -0.6 -0.1 moveto
+ -0.6 1.0 lineto
+ 0.5 1.0 lineto
+ stroke
+"}
+
+strokeUpGolpe = \markup { \column { \golpe \line { \strokeUp }}}
+iUpGolpe = \markup { \column { \golpe \line { \small i } \line { \strokeUp }}}
+
+% Stokes for all fingers
+pUp = \markup { \column { \small p \line { \strokeUp }}}
+pDown = \markup { \column { \small p \line { \strokeDown }}}
+iUp = \markup { \column { \small i \line { \strokeUp }}}
+iDown = \markup { \column { \small i \line { \strokeDown }}}
+mUp = \markup { \column { \small m \line { \strokeUp }}}
+mDown = \markup { \column { \small m \line { \strokeDown }}}
+aUp = \markup { \column { \small a \line { \strokeUp }}}
+aDown = \markup { \column { \small a \line { \strokeDown }}}
+xUp = \markup { \column { \small x \line { \strokeUp }}}
+xDown = \markup { \column { \small x \line { \strokeDown }}}
+
+
+% Just handy :)
+tupletOff = {
+ \once \override TupletNumber #'stencil = ##f
+ \once \override TupletBracket #'stencil = ##f
+}
+
+tupletsOff = {
+ \override TupletNumber #'stencil = ##f
+ \override TupletBracket #'bracket-visibility = #'if-no-beam
+}
+
+tupletsOn = {
+ \override TupletBracket #'bracket-visibility = #'default
+ \revert TupletNumber #'stencil
+}
+
+headsOff = {
+ \override TabNoteHead #'transparent = ##t
+ \override NoteHead #'transparent = ##t
+ \override NoteHead #'no-ledgers = ##t
+}
+
+headsOn = {
+ \override TabNoteHead #'transparent = ##f
+ \override NoteHead #'transparent = ##f
+ \override NoteHead #'no-ledgers = ##f
+}
+
+%%%%%%% Cut here ----- End 'flamenco.ly'
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+part = \relative c' {
+ <a, e' a cis e>8^\iUp
+ <a e' a cis e>8^\iDown
+ r4
+ r2^\golpe
+
+ <a e' a cis e>8^\iUp
+ <a e' a cis e>8^\iDown
+ <a e' a cis e>8^\iUpGolpe
+ <a e' a cis e>8^\iDown
+ r2
+
+ <a e' a cis e>16^\aUp
+ \headsOff
+ <a e' a cis e>^\mUp
+ <a e' a cis e>^\iUp
+ <a e' a cis e>^\iDown~
+ \headsOn
+ <a e' a cis e>2
+ r4
+
+ \tupletOff
+ \times 4/5 {
+ <a e' a cis e>16^\xUp
+ \headsOff
+ <a e' a cis e>^\aUp
+ <a e' a cis e>^\mUp
+ <a e' a cis e>^\iUp
+ <a e' a cis e>^\iDown~
+ \headsOn
+ }
+ <a e' a cis e>2
+ r4
+
+ \tupletsOff
+ \times 2/3 {
+ <a e' a cis e>8^\pDown
+ \headsOff
+ <a e' a cis e>^\xUp
+ <a e' a cis e>^\iUp
+ \headsOn
+ }
+
+ \times 2/3 {
+ <a e' a cis e>8^\pDown
+ \headsOff
+ <a e' a cis e>^\xUp
+ <a e' a cis e>^\iUp
+ \headsOn
+ }
+
+ \times 2/3 {
+ <a e' a cis e>8^\pDown
+ \headsOff
+ <a e' a cis e>^\xUp
+ <a e' a cis e>^\iUp
+ \headsOn
+ }
+ \times 2/3 {
+ <a e' a cis e>8^\pDown
+ \headsOff
+ <a e' a cis e>^\xUp
+ <a e' a cis e>^\iUp
+ \headsOn
+ }
+
+ \tupletsOff
+ \override Beam #'positions = #'(2 . 2)
+ \times 2/3 {
+ a8^\markup{ \small p }
+ <e' a>^\strokeUpGolpe
+ <e a>^\strokeDown
+ }
+ \times 2/3 {
+ a,8^\markup{ \small p }
+ <e' a>^\strokeUpGolpe
+ <e a>^\strokeDown
+ }
+ \times 2/3 {
+ a,8^\markup{ \small p }
+ <e' a>^\strokeUpGolpe
+ <e a>^\strokeDown
+ }
+ \times 2/3 {
+ a,8^\markup{ \small p }
+ <e' a>^\strokeUpGolpe
+ <e a>^\strokeDown
+ }
+ \tupletsOn
+
+ \once \override TextScript #'extra-offset = #'(0 . -1)
+ <g, b f'>1_\golpe^\mUp
+ \bar "|."
+}
+
+\score {
+ \new StaffGroup <<
+ \context Staff = part <<
+ \clef G
+ \transpose c c'
+ {
+ \part
+ }
+ >>
+ \context TabStaff {
+ \part
+ }
+ >>
+ \layout {
+ ragged-right = ##t
+ }
+}
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from input/new
+%% This file is in the public domain.
+\version "2.11.53"
+
+\header {
+ lsrtags = "fretted-strings,tweaks-and-overrides"
+ texidoc = "This snippet shows many possibilities for obtaining
+and tweaking fret diagrams."
+ doctitle = "Fret diagrams explained and developed"
+} % begin verbatim
+
+<<
+ \chords {
+ a2 a
+ c2 c
+ d1
+ }
+
+ \new Voice = "mel" {
+ \textLengthOn
+ % Set global properties of fret diagram
+ \override Voice.TextScript #'size = #1.2
+ \override Voice.TextScript #'fret-diagram-details #'finger-code = #'below-string
+ \override Voice.TextScript #'fret-diagram-details #'dot-color = #'black
+
+ %% A chord for ukelele
+ a'2^\markup {
+ \override #'(fret-diagram-details . (
+ (string-count . 4)
+ (dot-color . white)
+ (finger-code . in-dot))) {
+ \fret-diagram #"4-2-2;3-1-1;2-o;1-o;"
+ }
+ }
+
+ %% A chord for ukelele, with formatting defined in definition string
+ % 1.2 * size, 4 strings, 4 frets, fingerings below string
+ % dot radius .35 of fret spacing, dot position 0.55 of fret spacing
+ a'2^\markup {
+ \override #'(fret-diagram-details . (
+ (dot-color . white)
+ (open-string . "o"))) {
+ \fret-diagram #"s:1.2;w:4;h:3;f:2;d:0.35;p:0.55;4-2-2;3-1-1;2-o;1-o;"
+ }
+ }
+
+ %% C major for guitar, barred on third fret
+ % verbose style
+ % roman fret label, finger labels below string, straight barre
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . roman-lower)
+ (finger-code . below-string)
+ (barre-type . straight))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% C major for guitar, barred on third fret
+ % verbose style
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . arabic)
+ (dot-label-font-mag . 0.9)
+ (finger-code . in-dot)
+ (fret-label-font-mag . 0.6)
+ (fret-label-vertical-offset . 0)
+ (label-dir . -1)
+ (mute-string . "M")
+ (orientation . landscape)
+ (xo-font-magnification . 0.4)
+ (xo-padding . 0.3))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% simple D chord
+ d'1^\markup {
+ \override #'(fret-diagram-details . (
+ (finger-code . below-string)
+ (dot-radius . 0.35)
+ (dot-position . 0.5)
+ (fret-count . 3))) {
+ \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
+ }
+ }
+ }
+>>
-volta-multi-staff.ly
+how-to-change-fret-diagram-position.ly
+flamenco-notation.ly
+adding-fingerings-to-tablatures.ly
+placement-of-right-hand-fingerings.ly
+fingerings,-string-indications,-and-right-hand-fingerings.ly
+polyphony-in-tablature.ly
+jazz-combo-template.ly
+adding-fingerings-to-a-score.ly
+letter-tablature-formatting.ly
+laissez-vibrer-ties.ly
+controlling-the-placement-of-chord-fingerings.ly
+allowing-fingerings-to-be-printed-inside-the-staff.ly
+faking-a-hammer-in-tablatures.ly
+fret-diagrams-explained-and-developed.ly
+modern-tab-text-clef.ly
+stem-and-beam-behavior-in-tablature.ly
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings, tweaks-and-overrides"
+
+ texidoc = "
+If you want to move the position of a fret diagram, for example, to
+avoid collision, or to place it between two notes, you have various
+possibilities:
+
+1) modify #'padding or #'extra-offset values (as shown in the first
+snippet)
+
+2) you can add an invisible voice and attach the fret diagrams to the
+invisible notes in that voice (as shown in the second example).
+
+ If you need to move the fret according with a rythmic position inside
+the bar (in the example, the third beat of the measure) the second
+example is better, because the fret is aligned with the third beat
+itself.
+
+"
+ doctitle = "How to change fret diagram position"
+} % begin verbatim
+harmonies = \chordmode
+{
+ a8:13
+% THE FOLLOWING IS THE COMMAND TO MOVE THE CHORD NAME
+ \once \override ChordNames.ChordName #'extra-offset = #'(10 . 0)
+ b8:13 s2.
+% THIS LINE IS THE SECOND METHOD
+ s4 s4 b4:13
+}
+
+\score
+{
+ <<
+ \context ChordNames \harmonies
+ \context Staff
+ {a8^\markup { \fret-diagram #"6-x;5-0;4-2;3-0;2-0;1-2;" }
+% THE FOLLOWING IS THE COMMAND TO MOVE THE FRET DIAGRAM
+ \once \override TextScript #'extra-offset = #'(10 . 0)
+ b4.~^\markup { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" } b4. a8\break
+% HERE IS THE SECOND METHOD
+ <<
+ { a8 b4.~ b4. a8}
+ { s4 s4 s4^\markup { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" }
+ }
+ >>
+ }
+ >>
+}
+
+
\version "2.11.52"
\header {
- lsrtags = "keyboards, percussion, template"
+ lsrtags = "keyboards, percussion, fretted-strings, template"
texidoc = "
This is quite an advanced template, for a jazz ensemble. Note that all
vocal-ensemble-template-with-automatic-piano-reduction.ly
piano-template-simple.ly
controlling-the-placement-of-chord-fingerings.ly
+laissez-vibrer-ties.ly
accordion-discant-symbols.ly
fine-tuning-pedal-brackets.ly
piano-template-with-melody-and-lyrics.ly
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "expressive-marks, keyboards, fretted-strings"
+
+ texidoc = "
+Laissez vibrer ties have a fixed size. Their formatting can be tuned
+using @code{'tie-configuration}.
+
+"
+ doctitle = "Laissez vibrer ties"
+} % begin verbatim
+\relative c' {
+ <c e g>4\laissezVibrer r <c f g>\laissezVibrer r
+ <c d f g>4\laissezVibrer r <c d f g>4.\laissezVibrer r8
+
+ <c d e f>4\laissezVibrer r
+ \override LaissezVibrerTieColumn #'tie-configuration
+ = #`((-7 . ,DOWN)
+ (-5 . ,DOWN)
+ (-3 . ,UP)
+ (-1 . ,UP))
+ <c d e f>4\laissezVibrer r
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from input/new
+%% This file is in the public domain.
+\version "2.11.53"
+
+\header {
+ lsrtags = "staff-notation,fretted-strings"
+
+ texidoc = "Tablature can be formatted using letters instead of
+numbers."
+ doctitle = "Letter tablature formatting"
+} % begin verbatim
+
+#(define (letter-tablature-format str context event)
+ (let*
+ ((tuning (ly:context-property context 'stringTunings))
+ (pitch (ly:event-property event 'pitch)))
+ (make-whiteout-markup
+ (make-vcenter-markup
+ (string (integer->char
+ (+ (char->integer #\a)
+ (- (ly:pitch-semitones pitch)
+ (list-ref tuning (- str 1))))))))))
+
+music = \relative c {
+ c4 d e f
+ g4 a b c
+ d4 e f g
+}
+
+<<
+ \new Staff {
+ \clef "G_8"
+ \music
+ }
+ \new TabStaff \with {
+ tablatureFormat = #letter-tablature-format
+ } {
+ \music
+ }
+>>
--- /dev/null
+%% Do not edit this file; it is auto-generated from input/new
+%% This file is in the public domain.
+\version "2.11.53"
+
+\header {
+ lsrtags = "staff-notation, fretted-strings"
+
+ texidoc = "
+Use a markup text to replace the (TAB) clef glyph with a modern font.
+
+"
+ doctitle = "Modern TAB text clef"
+} % begin verbatim
+
+TAB = \markup {
+ \raise #1.5
+ \sans
+ \bold
+ \huge
+ \override #'(baseline-skip . 2.5)
+ \center-align {
+ T
+ A
+ B
+ }
+}
+
+\new TabStaff {
+ \override Staff.Clef #'stencil = #(lambda (grob)
+ ly:clef::print (grob-interpret-markup grob TAB))
+ a
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings"
+
+ texidoc = "
+It is possible to exercise greater control over the placement of
+right-hand fingerings by setting a specific property, as demonstrated
+in the following example.
+
+"
+ doctitle = "Placement of right-hand fingerings"
+} % begin verbatim
+#(define RH rightHandFinger)
+
+\relative c {
+ \clef "treble_8"
+
+ \set strokeFingerOrientations = #'(up down)
+ <c-\RH #1 e-\RH #2 g-\RH #3 c-\RH #4 >4
+
+ \set strokeFingerOrientations = #'(up right down)
+ <c-\RH #1 e-\RH #2 g-\RH #3 c-\RH #4 >4
+
+ \set strokeFingerOrientations = #'(left)
+ <c-\RH #1 e-\RH #2 g-\RH #3 c-\RH #4 >2
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings"
+
+ texidoc = "
+Polyphony is created the same way in a @code{TabStaff} as in a regular
+staff.
+
+"
+ doctitle = "Polyphony in tablature"
+} % begin verbatim
+upper = \relative c' {
+ \time 12/8
+ \key e \minor
+ \voiceOne
+ r4. r8 e, fis g16 b g e e' b c b a g fis e
+}
+
+lower = \relative c {
+ \key e \minor
+ \voiceTwo
+ r16 e d c b a g4 fis8 e fis g a b c
+}
+
+\score {
+ <<
+ \new StaffGroup = "tab with traditional" <<
+ \new Staff = "guitar traditional" <<
+ \clef "treble_8"
+ \context Voice = "upper" \upper
+ \context Voice = "lower" \lower
+ >>
+ \new TabStaff = "guitar tab" <<
+ \context TabVoice = "upper" \upper
+ \context TabVoice = "lower" \lower
+ >>
+ >>
+ >>
+}
} % begin verbatim
% Define the fret diagrams to be used
cFretDiagram = \markup {
- \fret-diagram #"5-3-3;4-2-2;3-o;2-1-1;1-o"
+ \fret-diagram #"6-x;5-3-3;4-2-2;3-o;2-1-1;1-o;"
}
gFretDiagram = \markup {
- \fret-diagram #"6-3-2;5-2-1;4-o;3-o;2-o;1-3-3"
+ \fret-diagram #"6-3-2;5-2-1;4-o;3-o;2-o;1-3-3;"
}
verseI = \lyricmode {
removing-the-first-empty-line.ly
quoting-another-voice.ly
volta-multi-staff.ly
+modern-tab-text-clef.ly
non-traditional-key-signatures.ly
measure-counter.ly
adding-ambitus-per-voice.ly
changing-the-staff-size.ly
use-square-bracket-at-the-start-of-a-staff-group.ly
quoting-another-voice-with-transposition.ly
+letter-tablature-formatting.ly
inserting-score-fragments-above-a-staff,-as-markups.ly
volta-below-chords.ly
nesting-staves.ly
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
+
+\header {
+ lsrtags = "fretted-strings"
+
+ texidoc = "
+The direction of stems is controlled the same way in tablature as in
+traditional notation. Beams can be made horizontal, as shown in this
+example.
+
+"
+ doctitle = "Stem and beam behavior in tablature"
+} % begin verbatim
+\new TabStaff {
+ \relative c {
+ g16 b d g b d g b
+ \stemDown
+ \override Beam #'damping = #100000
+ g,,16 b d g b d g b
+ }
+}
custodes.ly
creating-text-spanners.ly
rest-styles.ly
+how-to-change-fret-diagram-position.ly
using-the--tweak-command-to-tweak-individual-grobs.ly
suppressing-warnings-for-clashing-note-columns.ly
controlling-tuplet-bracket-visibility.ly
alignment-vertical-spacing.ly
drawing-circles-around-various-objects.ly
analysis-brackets-above-the-staff.ly
+fret-diagrams-explained-and-developed.ly
removing-the-first-empty-line.ly
caesura-railtracks-with-fermata.ly
changing-form-of-multi--measure-rests.ly
%% This file is in the public domain.
\version "2.11.52"
\header {
- lsrtags = "repeats,staff-notation,fretted-strings"
+ lsrtags = "repeats,staff-notation"
texidoc = "By adding the @code{Volta_engraver} to the relevant
staff, volte can be put over staves other than the topmost
one in a score."
--- /dev/null
+\version "2.11.53"
+
+\header {
+ lsrtags = "fretted-strings,tweaks-and-overrides"
+ texidoc = "This snippet shows many possibilities for obtaining
+and tweaking fret diagrams."
+ doctitle = "Fret diagrams explained and developed"
+}
+
+<<
+ \chords {
+ a2 a
+ c2 c
+ d1
+ }
+
+ \new Voice = "mel" {
+ \textLengthOn
+ % Set global properties of fret diagram
+ \override Voice.TextScript #'size = #1.2
+ \override Voice.TextScript #'fret-diagram-details #'finger-code = #'below-string
+ \override Voice.TextScript #'fret-diagram-details #'dot-color = #'black
+
+ %% A chord for ukelele
+ a'2^\markup {
+ \override #'(fret-diagram-details . (
+ (string-count . 4)
+ (dot-color . white)
+ (finger-code . in-dot))) {
+ \fret-diagram #"4-2-2;3-1-1;2-o;1-o;"
+ }
+ }
+
+ %% A chord for ukelele, with formatting defined in definition string
+ % 1.2 * size, 4 strings, 4 frets, fingerings below string
+ % dot radius .35 of fret spacing, dot position 0.55 of fret spacing
+ a'2^\markup {
+ \override #'(fret-diagram-details . (
+ (dot-color . white)
+ (open-string . "o"))) {
+ \fret-diagram #"s:1.2;w:4;h:3;f:2;d:0.35;p:0.55;4-2-2;3-1-1;2-o;1-o;"
+ }
+ }
+
+ %% C major for guitar, barred on third fret
+ % verbose style
+ % roman fret label, finger labels below string, straight barre
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . roman-lower)
+ (finger-code . below-string)
+ (barre-type . straight))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% C major for guitar, barred on third fret
+ % verbose style
+ c'2^\markup {
+ % 110% of default size
+ \override #'(size . 1.1) {
+ \override #'(fret-diagram-details . (
+ (number-type . arabic)
+ (dot-label-font-mag . 0.9)
+ (finger-code . in-dot)
+ (fret-label-font-mag . 0.6)
+ (fret-label-vertical-offset . 0)
+ (label-dir . -1)
+ (mute-string . "M")
+ (orientation . landscape)
+ (xo-font-magnification . 0.4)
+ (xo-padding . 0.3))) {
+ \fret-diagram-verbose #'((mute 6)
+ (place-fret 5 3 1)
+ (place-fret 4 5 2)
+ (place-fret 3 5 3)
+ (place-fret 2 5 4)
+ (place-fret 1 3 1)
+ (barre 5 1 3))
+ }
+ }
+ }
+
+ %% simple D chord
+ d'1^\markup {
+ \override #'(fret-diagram-details . (
+ (finger-code . below-string)
+ (dot-radius . 0.35)
+ (dot-position . 0.5)
+ (fret-count . 3))) {
+ \fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"
+ }
+ }
+ }
+>>
--- /dev/null
+\version "2.11.53"
+
+\header {
+ lsrtags = "staff-notation,fretted-strings"
+
+ texidoc = "Tablature can be formatted using letters instead of
+numbers."
+ doctitle = "Letter tablature formatting"
+}
+
+#(define (letter-tablature-format str context event)
+ (let*
+ ((tuning (ly:context-property context 'stringTunings))
+ (pitch (ly:event-property event 'pitch)))
+ (make-whiteout-markup
+ (make-vcenter-markup
+ (string (integer->char
+ (+ (char->integer #\a)
+ (- (ly:pitch-semitones pitch)
+ (list-ref tuning (- str 1))))))))))
+
+music = \relative c {
+ c4 d e f
+ g4 a b c
+ d4 e f g
+}
+
+<<
+ \new Staff {
+ \clef "G_8"
+ \music
+ }
+ \new TabStaff \with {
+ tablatureFormat = #letter-tablature-format
+ } {
+ \music
+ }
+>>
--- /dev/null
+\version "2.11.53"
+
+\header {
+ lsrtags = "staff-notation, fretted-strings"
+
+ texidoc = "
+Use a markup text to replace the (TAB) clef glyph with a modern font.
+
+"
+ doctitle = "Modern TAB text clef"
+}
+
+TAB = \markup {
+ \raise #1.5
+ \sans
+ \bold
+ \huge
+ \override #'(baseline-skip . 2.5)
+ \center-align {
+ T
+ A
+ B
+ }
+}
+
+\new TabStaff {
+ \override Staff.Clef #'stencil = #(lambda (grob)
+ ly:clef::print (grob-interpret-markup grob TAB))
+ a
+}
\version "2.11.36"
\header {
- lsrtags = "repeats,staff-notation,fretted-strings"
+ lsrtags = "repeats,staff-notation"
texidoc = "By adding the @code{Volta_engraver} to the relevant
staff, volte can be put over staves other than the topmost
one in a score."