Bonjour,
J'ai un petit problème dont je ne trouve pas la solution après une heure de
recherche.
Le code suivant fait deux mesures et, pour des raisons de lisibilité, je
voudrais que ces deux mesures s'étalent sur toute la largeur de la ligne.
J'ai essayé avec ragged-right (et ragged-last), à ##f et ##t, dans le \paper
et dans le \layout, rien y fait.
Si une âme charitable peut m'aider....
Merci d'avance
% necessary for upgrading to future LilyPond versions
\version "2.18.2"
% Définitions à la française
#(define ma_notation '(
(openhihat xcircle #f 5)
(bassdrum () #f -5)
(snare () #f 0)
(pedalhihat cross #f -5)
(closedhihat cross #f 5)
(hihat cross #f 5)
(lowtom () #f -3)
(hightom () #f 3)
))
% Suppression du fichier temporaire à la création du pdf
%#(ly:set-option 'delete-intermediate-files #t)
\paper {
% espace entre portées
system-system-spacing #'basic-distance = #15
% espace entre notes/exercice et portee
markup-system-spacing #'basic-distance = #20
%system-system-spacing #'space = 3\cm
score-system-spacing = #10
#'((basic-distance . 12)
(minimum-distance . 1)
(padding . 1)
(stretchability . 1))
% Supprimer l'indentation
indent=0
}
\layout {
% Pleine largeur
ragged-right = ##f
}
\header {
title = "Sous ta véranda"
% juste pour l'espacement
composer = "Véronique Mula"
}
mains= \drummode
{
\time 4/4
%#(override-auto-beam-setting '(end * * 4 4) 3 4)
%#(override-auto-beam-setting '(end * * 4 4) 1 4)
\override Staff.TimeSignature #'stencil = ##f
\stemUp % queues en haut
hh8 [hh]-> hh8 [hh]->
hh8 [hh]-> hh8 [hh]->
hh8 hh16 hh ~hh8 [hh]->
hh8 [hh]-> hh8 [hh]->
}
pieds = \drummode
{
\stemDown % queues en bas
bd16 bd ~bd8 r16 sn8-> \tiny \parenthesize sn16 \normalsize
r 16 \tiny \parenthesize sn16 \normalsize r8 sn8-> bd
bd bd16 sn8.
r 16 \tiny \parenthesize sn16 \normalsize r8 sn8-> bd
bd bd16 sn8.
\bar "|."
}
\score
{
<<
\new DrumStaff \with {
drumStyleTable = #(alist->hash-table ma_notation)
%\override DrumStaff #'TimeSignature #'style = #'()
%\consists "Parenthesis_engraver"
}
<<
\new DrumVoice { \voiceOne \mains }
\new DrumVoice { \voiceTwo \pieds }
\override Staff.NoteCollision #'merge-differently-headed = ##t
\override Staff.NoteCollision #'merge-differently-dotted = ##t
>>
>>
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 70 4)
}
}
} % fin de score
--
View this message in context:
http://lilypond-french-users.1298960.n2.nabble.com/Largeur-de-ligne-tp7584203.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.
_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr