%% 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/positioning-opposing-fermatas-on-a-bar-line.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: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Dans l'extrait suivant est construite une commande qui permet d'imprimer
un point d'orgue à la fois en surplomb et en dessous d'une barre de
mesure. Dans le cas où il n'y aurait normalement pas de barre à cet
endroit, sera ajoutée une double barre. Sémantiquement, cette commande
constuit une césure plus longue que la normale, ce qui pourrait être
considéré comme un usage abusif selon le cas.
"

  doctitlefr = "Positionnement de points d'orgue en opposition sur une barre de mesure"

%% Translation of GIT committish: 4f16fa98fd258f08e64203c793028ea3e363b1c0
  texidoces = "
Este fragmento es una demostración de una instrucción que imprime
calderones encima y debajo de la línea divisoria al mismo tiempo.
Si no hay ninguna barra de compás, añade una doble barra.
Semánticamente, la instrucción codifica una cesura más larga de lo
normal, lo que se puede considerar un mal uso dependiendo de la
situación.
"

  doctitlees = "Colocar calderones opuestos sobre la barra de compás"

  categories = "Rhythms"

  texidoc = "
This snippet demonstrates a command that prints fermatas both above and
below a bar line. If there would not otherwise be a bar line, it adds a
double bar line. Semantically, the command codes a longer-than-normal
caesura, which might be considered misuse depending on the situation.
"

  doctitle = "Positioning opposing fermatas on a bar line"
} % begin verbatim


twoWayFermata = {
  \once \set Staff.caesuraType = #'((underlying-bar-line . "||"))
  \once \set Staff.caesuraTypeTransform = ##f
  \caesura ^\fermata _\fermata
}

music = {
  f'1 \twoWayFermata
  R1
  f'2 \twoWayFermata f'2
  R1
  b'1 \twoWayFermata \fine
}

\new GrandStaff <<
  \new Staff \music
  \new Staff \music
>>



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