%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


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



\paper {
  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/user-defined-time-signatures.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it is automatically
%% generated from Documentation/snippets/new
%% Make any changes in Documentation/snippets/new/
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% Note: this file works from version 2.19.16
\version "2.19.16"

\header {
%% Translation of GIT committish: f11513f36c131dab18338d6a3a729e24a927150d
  texidocja = "
新たな拍子記号のスタイルを定義することができます。2 小節目の拍子記号は@c
どちらの譜でも上下が逆になっています。
"

  doctitleja = "ユーザ定義の拍子記号"

%% Translation of GIT committish: 600367eb76cd3f1e69afd9e595dd9f018f654bac
  texidocfr = "
Il est possible de définir de nouveaux styles de métrique. La métrique
de la deuxième mesure devrait être sens dessus dessous sur les deux
portées.

"

  doctitlefr = "Personnalisation de la métrique"

  lsrtags = "rhythms"

  texidoc = "
New time signature styles can be defined.  The time signature in
the second measure should be upside down in both staves.
"

  doctitle = "User defined time signatures"
} % begin verbatim


#(add-simple-time-signature-style 'topsy-turvy
   (lambda (fraction)
     (make-rotate-markup 180 (make-compound-meter-markup fraction))))

<<
  \new Staff {
    \time 3/4 f'2.
    \override Score.TimeSignature.style = #'topsy-turvy
    \time 3/4 R2. \bar "|."
  }
  \new Staff {
    R2. e''
  }
>>



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