%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt))]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/adding-an-ottava-marking-to-a-single-voice.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Wiki
%% (https://wiki.lilypond.community).
%%
%% Make any changes in the Wiki itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.24.0"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
譜に 2 つ以上のボイスがある場合、オッターバを設定すると、囲みの中にある@c
全てのボイスの音符が移動してしまいます。オッターバを単一のボイスに対して@c
適用したい場合には、middleCPosition とオッターバ囲みを明示的にセットする@c
必要があります。ヘ音記号の middleCPosition は本来 6 に@c
セットされており、これは譜の中央の線から 6 つ上であることを示しています。@c
このスニペットでは、オッターバ部分の middleCPosition を 7 加算して、@c
1 オクターブ移動しています。
"
  doctitleja = "オッターバを単一のボイスに対して適用する"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Se il rigo ha più di una voce, l'ottavazione in una voce trasporrà
la posizione delle note in tutte le voci per la durata della parentesi
dell'ottava.  Se si intende applicare l'ottavazione a una sola voce,
occorre spostare l'incisore @code{Ottava_spanner_engraver} nel
contesto @code{Voice}.
"
  doctitleit = "Aggiungere un segno di ottava a una sola voce"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Lorsque plusieurs voix cohabitent sur une même portée, déterminer
l'octaviation d'une voix affecte la position des notes de toutes les
voix, jusqu'à la fin du crochet d'octaviation. Si l'octaviation ne doit
s'appliquer qu'à une seule voix, le @code{Ottava_spanner_engraver}
devrait être déplacé dans le contexte @code{Voice}.
"

  doctitlefr = "Ajout d'une indication d'octave pour une seule voix"

%% Translation of GIT committish: 4f16fa98fd258f08e64203c793028ea3e363b1c0
  texidoces = "
Si tiene más de una voz en el mismo pentagrama, el cambio de
octavación de una voz transportará la posición de las notas en
todas las voces mientras dure el corchete de octava.  Si la
octavación se quiere aplicar a una voz solamente, hay que
trasladar el grabador @code{Ottava_spanner_engraver} al contexto
@code{Voice}.

"
  doctitlees = "Añadir una indicación de octava alta a una sola voz"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
Si teniu més d'una veu al mateix pentagrama, el canvi d'octavació
d'una veu transportarà la posició de les notes en totes les veus
mentre duri la clau de l'octava.  Si l'octavació es vol aplicar
sols a una veu, s'han d'ajustar explícitament la middleCPosition i
la clau d'octava.  En aquest fragment de codi el valor de
middleCPosition per a la clau de Fa és normalment 6, sis posicions
per sobre de la línia del Do central, de manera que en la porció
de 8va el valor de middleCPosition és encara 7 posicions (una
octava) més alta.

"
  doctitleca = "Afegir una indicació d'octava alta a una sola veu"

  categories = "Pitches, Tweaks and overrides"

  texidoc = "
If you have more than one voice on the staff, setting octavation in one
voice transposes the position of notes in all voices for the duration
of the ottava bracket. If the octavation is only intended to apply to
one voice, the @code{Ottava_spanner_engraver} should be moved to
@code{Voice} context.
"

  doctitle = "Adding an ottava marking to a single voice"
} % begin verbatim


\layout {
  \context {
    \Staff
    \remove Ottava_spanner_engraver
  }
  \context {
    \Voice
    \consists Ottava_spanner_engraver
  }
}

{
  \clef bass
  << { <g d'>1~ q2 <c' e'> }
  \\
    {
      r2.
      \ottava -1
      <b,,, b,,>4 ~ |
      q2
      \ottava 0
      <c e>2
    }
  >>
}



% ****************************************************************
% end ly snippet
% ****************************************************************
