lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: écarter les noms des systèmes et instruments dans une partition à de


From: daniel.bernair
Subject: RE: écarter les noms des systèmes et instruments dans une partition à deux chœurs
Date: Sun, 23 Jul 2023 10:16:43 +0200

Merci Jean cela fonctionne parfaitement. Fin de mes sueurs froides.

Daniel Bernair

 

 

De : Jean Abou Samra <jean@abou-samra.fr>
Envoyé : samedi 22 juillet 2023 19:31
À : daniel.bernair@belgacom.net; 'lilypond-user-fr' <lilypond-user-fr@gnu.org>
Objet : Re: écarter les noms des systèmes et instruments dans une partition à deux chœurs

 

Bonjour,

Le code suivant m'a l'air de fonctionner :

\version "2.24.1"
 
\paper {
  indent = 50
}
 
scoreASopranoIChoirI = { c' }
scoreASopranoIVerseChoirI = \lyricmode { aah }
scoreASopranoIIChoirI = { c' }
scoreASopranoIIVerseChoirI = \lyricmode { aah }
 
 
scoreAChoirIPart = \new ChoirStaff \with {
  \consists "Instrument_name_engraver"
  instrumentName =  \markup {
    \column    { \abs-fontsize #16 \bold  "Chœur"
                 \null               
                 \line  { \abs-fontsize #16 \bold "I" }
    }
  }
  shortInstrumentName =  \markup {
    \column  {\abs-fontsize #16 \bold  "CH."
              \null              
              \line { \abs-fontsize #16 \bold "I" }
    }
  }
  \override InstrumentName.self-alignment-X = #-0.8
  %%%%%%%%% "Ch. I"
}
<< 
  \new StaffGroup \with {
    \override InstrumentName.self-alignment-X = #0.8
  } <<
    \set StaffGroup.systemStartDelimiter = #'SystemStartSquare
    \new Staff \with {
      midiInstrument = "choir aahs"
      instrumentName = "Soprano I"
      shortInstrumentName = "S.I"
    } { \scoreASopranoIChoirI }
    \addlyrics { \scoreASopranoIVerseChoirI }
    \new Staff \with {
      midiInstrument = "choir aahs"
      instrumentName = \markup {
        \column { "Soprano II"
                  \line {\abs-fontsize #8 "XVI" }
        }
      }
      shortInstrumentName =  \markup {
        \column { "S.II"
                  \line {\abs-fontsize #8  "XVI" }
        }
      }
    } { \scoreASopranoIIChoirI }
    \addlyrics { \scoreASopranoIIVerseChoirI }
  >>
>> 
 
{ \scoreAChoirIPart }

Cordialement,

Jean


reply via email to

[Prev in Thread] Current Thread [Next in Thread]