%% 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/changing-the-interval-of-lines-on-the-stave.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 = "
音符の位置を変更するためには、@code{staffLineLayoutFunction} を使用します。@c
このスニペットは、これを @code{ly:pitch-semitones} にセットし、@c
半音が間隔 1 つ分になるクロマティック スケールを作り出しています。
"
  doctitleja = "譜線の音程を変更する"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
@code{staffLineLayoutFunction} permet de changer le positionnement des
notes.  Dans cet exemple, la valeur qui lui est attribuée --
@code{ly:pitch-semitones} -- génère une gamme chromatique où l'écart
entre chaque ligne et interligne de la portée est ramené au demi ton.
"

  doctitlefr = "Modification de l'intervalle des lignes de la portée"

%% Translation of GIT committish: 4f16fa98fd258f08e64203c793028ea3e363b1c0
  texidoces = "
Se usa @code{staffLineLayoutFunction} para cambiar la posición de las
notas.  Este fragmento de código muestra cómo ajustar su valor al de
@code{ly:pitch-semitones} para producir una escala cromática con la
distancia entre cada espacio y línea del pentagrama igual a un
semitono.

"
  doctitlees = "Cambiar el intervalo de las líneas de la pauta"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
S'usa @code{staffLineLayoutFunction} per canviar la posició de les
notes.  Aquest fragment de codi mostra com ajustar el seu valor al de
@code{ly:pitch-semitones} per produir una escala cromàtica amb la
distància entre cada espai i línia del pentagrama igual a un semitò.

"
  doctitleca = "Canviar l'interval de les línies de la pauta"

  categories = "Pitches"

  texidoc = "
@code{staffLineLayoutFunction} is used to change the position of notes.
This snippet shows setting its value to @code{ly:pitch-semitones} in
order to produce a chromatic scale with the distance between each space
and line of the stave equal to one semitone.
"

  doctitle = "Changing the interval of lines on the stave"
} % begin verbatim


scale = \relative c' {
  a4 ais b c
  cis4 d dis e
  f4 fis g gis
  a1
}

\new Staff \with {
  \remove "Accidental_engraver"
  staffLineLayoutFunction = #ly:pitch-semitones
}
{
  <<
    \scale
    \context NoteNames {
      \set printOctaveNames = ##f
      \scale
    }
  >>
}



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