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: Jean Abou Samra
Subject: Re: écarter les noms des systèmes et instruments dans une partition à deux chœurs
Date: Sat, 22 Jul 2023 19:30:37 +0200
User-agent: Evolution 3.48.4 (3.48.4-1.fc38)

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

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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