%% 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/time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from `Documentation/snippets/new/`.
%%
%% Make any changes in `Documentation/snippets/new/`,
%% then run `scripts/auxiliar/makelsr.pl --new`.
%%
%% This file is in the public domain.
%%
%% Note: this file needs at least LilyPond version 2.25.12.

\version "2.25.12"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
拍子記号の分数全体を表示せず、分子のみ (今回は 7) を表示したい場合があります。@c
これは @code{\\override Staff.TimeSignature.style = #'single-number} を用いて@c
スタイルを永続的に変更することで簡単に実現できます。@c
@code{\\revert Staff.TimeSignature.style} を使用することで、この設定を@c
元に戻すことが出来ます。1 つの拍子記号に対してのみ単一の数字で表示したい@c
場合は、@code{\\override} の前に @code{\\once} を記述します。
"
  doctitleja = "拍子記号の (分数ではなく) 分子のみを数字で表示する"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Talvolta un'indicazione di tempo non deve mostrare la frazione intera (ad esempio
7/4), ma solo il numeratore (numero@tie{}7 in questo caso). Si può ottenere
facilmente con @code{\\override Staff.TimeSignature.style = #'single-number},
che cambia lo stile in modo permanente. Con @code{\\revert
Staff.TimeSignature.style}, questa impostazione può essere annullata. Per
applicare lo stile a cifra singola (@code{single-number}) a una sola indicazione
di tempo, si usa il comando @code{\\override} preceduto da @code{\\once}.

"
  doctitleit = "Indicazione di tempo che mostra solo il numeratore (invece della frazione)"

%% Translation of GIT committish: 1abe87de51b9b00a391da1be4cf4b5ebe4021ca9
  texidocfr = "
La métrique est parfois indiquée non pas par une fraction (par ex. 7/4)
mais simplement par son numérateur (le chiffre 7 dans ce cas).
L'instruction
@code{\\override Staff.TimeSignature.style = #'single-number} permet de
déroger au style par défaut de manière permanente -- un
@code{\\revert Staff.TimeSignature.style} annulera ces modifications.
Lorsque cette métrique sous la forme d'un seul chiffre ne se présente
qu'une seule fois, il suffit de recourir à un @code{\\tweak}.
"

  doctitlefr = "Affichage seulement du numérateur d'une métrique (au lieu d'une fraction)"

%% Translation of GIT committish: 2dbd7c68d29e97631d7ef0d5f324fdc0ad92eccf
  texidoces = "
A veces, la indicación de compás no debe imprimir la fracción
completa (p.ej.  7/4), sino solo el numerador (el dígito@tie{}7 en
este caso).  Esto se puede hacer fácilmente utilizando
@code{\\override Staff.TimeSignature.style = #'single-number} para
cambiar el estilo permanentemente. Usando @code{\\revert
Staff.TimeSignature.style}, se puede revertir el cambio.  Para
aplicar el estilo de un número único a una sola indicación de
compás, use @code{\\tweak}.

"
  doctitlees = "Indicación de compás imprimiendo solo el numerador (en lugar de la fracción)"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
A vegades, la indicació de compàs no ha d'imprimir la fracció
completa (per exemple 7/4), sinó sols el numerador (7 en aquest
cas).  Això es pot fer fàcilment utilitzant @code{\\override
Staff.TimeSignature.style = #'single-number} per canviar l'estil
permanentment.  Usant @code{\\revert Staff.TimeSignature.style},
es pot revertir el canvi.  Per aplicar l'estil d'un dígit únic a
una sola indicació de compàs, utilitzeu l'ordre @code{\\override}
i anteposeu l'ordre @code{\\once}.

"
  doctitleca = "Indicació de compàs imprimint sols el numerador (en lloc de la fracció)"

  categories = "Rhythms, Tweaks and overrides"

  texidoc = "
Sometimes, a time signature should not print the whole fraction (for
example, 7/4), but only the numerator (digit@tie{}7 in this case). This
can be easily done by using
@code{\\override Staff.TimeSignature.style = #'single-number} to change
the style permanently. By using
@code{\\revert Staff.TimeSignature.style}, this setting can be
reversed. To apply the single-number style to only one time signature,
use @code{\\tweak}.
"

  doctitle = "Time signature printing only the numerator as a number (instead of the fraction)"
} % begin verbatim


\relative c'' {
  \time 3/4
  c4 c c
  % Change the style permanently
  \override Staff.TimeSignature.style = #'single-number
  \time 2/4
  c4 c
  \time 3/4
  c4 c c
  % Revert to default style:
  \revert Staff.TimeSignature.style
  \time 2/4
  c4 c
  % single-number style only for the next time signature
  \tweak style #'single-number \time 5/4
  c4 c c c c
  \time 2/4
  c4 c
}



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