%% 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)),quote]
\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))
  line-width = 160\mm - 2.0 * 10.16\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/removing-the-first-empty-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: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
@code{VerticalAxisGroup} の @code{remove-first} プロパティをセットすることで、@c
楽譜の先頭にある空の譜を削除することができます。これはグローバルの
@code{\\layout} ブロックでも行うことができますし、特定の譜を削除したい場合には@c
譜の内部で使用することもできます。後者の場合には、プロパティ名の前に@c
コンテキストを指定する必要があります
(@code{Staff} は現在の譜にしか影響しません)。

2 つ目のグループの下側の譜は削除されていません。設定が記述されている譜にのみ@c
適用されるからです。
"
  doctitleja = "先頭の空行を削除する"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Il primo rigo vuoto si può togliere dalla partitura impostando la proprietà
@code{remove-first} di @code{VerticalAxisGroup}.  Questa impostazione
agisce a livello globale se posta nel blocco @code{\\layout}, a livello
locale se posta nel rigo specifico che deve essere tolto.  Nel secondo
caso, si deve specificare il contesto (@code{Staff} si applica solo al
rigo corrente) prima della proprietà.

Il rigo inferiore del secondo gruppo di righi non viene rimosso, perché
l'impostazione ha effetto solo sul rigo in cui si trova.

"
  doctitleit = "Eliminare la prima linea vuota"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Par défaut, le premier système comportera absolument toutes les portées.
Si vous préférez masquer les portées vides y compris pour le premier
système, vous devrez activer la propriété @code{remove-first} de l'objet
@code{VerticalAxisGroup}. Mentionnée dans un bloc @code{\\layout}, cette
commande agira de manière globale. Pour qu'elle ne soit effective que
pour une portée particulière, vous devrez également spécifier le
contexte (@code{Staff} pour qu'il ne concerne que la portée en cours) en
préfixe de la propriété.

La première ligne inférieure du deuxième @code{StaffGroup} est bien
présente, pour la simple raison que le réglage en question ne s'applique
qu'à la portée dans laquelle il a été inscrit.
"

  doctitlefr = "Masquage de la première ligne si elle est vide"

%% Translation of GIT committish: cd3e2b0177d366d0a25b4c7628b26455e52175cd
  texidoces = "
Para eliminar el primer pentagrama vacío de una aprtitura,
establecemos la propiedad @code{remove-first} del objeto gráfico
@code{VerticalAxisGroup} al valor @code{#t}.  Esto se puede hacer
globalmente dentro del bloque @code{\\layout}, o localmente dentro
del pentagrama concreto que se quiere suprimir.  En este último
caso, tenemos que especificar el contexto (@code{Staff} se aplica
solo al pentagrama actual) delante de la propiedad.

El pentagrama inferior del segundo grupo no se elimina, porque el
ajuste solo se aplica al pentagrama concreto dentro del que se
escribe.

"
  doctitlees = "Quitar la primera línea vacía"

%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
  texidocde = "
Ein leeres Notensystem kann auch aus der ersten Zeile einer Partitur
entfernt werden, indem die Eigenschaft @code{remove-first} der
@code{VerticalAxisGroup}-Eigenschaft eingesetzt wird.  Das kann
man global in einer @code{\\layout}-Umgebung oder lokal in dem
bestimmten Notensystem machen, das entfernt werden soll.  In letzterem
Fall muss man den Kontext angeben.

Das untere Notensystem der zweiten Systemgruppe wird nicht entfernt,
weil in die Einstellungen in dem Schnipsel nur für das eine Notensystem
gültig sind.

"
  doctitlede = "Die erste leere Notenzeile auch entfernen"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
El primer pentagrama buit també es pot suprimir de la partitura
establint la propietat @code{remove-first} de
@code{VerticalAxisGroup}.  Això es pot fer globalment dins del bloc
@code{\\layout}, o localment dins del pentagrama concret que es vol
suprimir.  En aquest últim cas, hem d'especificar el contex
(@code{Staff} s'aplica sols al pentagrama actual) davant de la
propietat.

El pentagrama inferior del segon grup no s'elimina, perquè
l'ajustament sols s'aplica al pentagraa concret dins del que
s'escriu.

"
  doctitleca = "Supressió de la primera línia buida"

  categories = "Breaks, Staff notation, Tweaks and overrides"

  texidoc = "
To remove the first empty staff from a score, set the
@code{remove-first} property of the @code{VerticalAxisGroup} grob to
@code{#t}. This can be done globally inside the @code{\\layout} block
or locally inside the specific staff that should be removed. In the
latter case, you have to specify the context (@code{Staff} applies only
to the current staff) in front of the property.

The lower staff of the second staff group is not removed, because the
setting applies only to the specific staff inside of which it is
written.
"

  doctitle = "Removing the first empty line"
} % begin verbatim


\layout {
  \context {
    \Staff \RemoveEmptyStaves
    % To use the setting globally, uncomment the following line:
    % \override VerticalAxisGroup.remove-first = ##t
  }
}
\new StaffGroup <<
  \new Staff \relative c' {
    e4 f g a \break
    c1
  }
  \new Staff {
    % To use the setting globally, comment this line,
    % uncomment the line in the \layout block above
    \override Staff.VerticalAxisGroup.remove-first = ##t
    R1 \break
    R
  }
>>

\new StaffGroup <<
  \new Staff \relative c' {
    e4 f g a \break
    c1
  }
  \new Staff {
    R1 \break
    R
  }
>>



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