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

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

RE: Re : entête différente entre page 1 et suivantes


From: CHARADE Olivier
Subject: RE: Re : entête différente entre page 1 et suivantes
Date: Sun, 2 Jul 2023 09:51:18 +0000

Pardon. Comme j'ai “joué avec“, je suis un peu plus  loin de  la proposition originale et ce bold là n'est plus là.

\book {
  \bookOutputSuffix "alto"
  \header {
    instrument = \markup {\pad-markup #2 \larger "Alto"}
  }
  #(set-global-staff-size 20)
  \score {
    \new Staff = "alto" <<
            \new Voice \alto_tango
            \new Voice \structure_tango   
    >>
    \header {
      piece = \markup "Tango"
    }
  }
  \score {
    \new Staff = "alto" <<
            \new Voice \alto_valse
            \new Voice \structure_valse   
    >>
    \header {
      piece = \markup "Valse"
      breakbefore = ##t
    }
  }
  \score {
    \new Staff = "alto" <<
            \new Voice \alto_final
            \new Voice \structure_final   
    >>
    \header {
      piece = \markup "Final filmique"
      breakbefore = ##f
    }
  }
  \paper {
    #(set-paper-size "a4" )
    scoreTitleMarkup = \markup {
      \fill-line {
        \fontsize #4 \bold \fromproperty #'header:piece
      }
    }
     evenHeaderMarkup = \markup  %% pour les pages impaires
     \fill-line {
      \if \should-print-page-number \fromproperty #'page:page-number-string
      \unless \on-first-page-of-part \smaller \italic \concat { "– " \fromproperty #'header:title " –" }
      \unless \on-first-page-of-part \smaller \italic \fromproperty #'header:instrument
    }
    oddHeaderMarkup = \markup %% pour les pages paires
    \fill-line {
      \unless \on-first-page-of-part \smaller \italic \fromproperty #'header:instrument
     \unless \on-first-page-of-part \smaller \italic \concat { "– " \fromproperty #'header:title " –" }
      \if \should-print-page-number \fromproperty #'page:page-number-string
    }
  }
}


De : Martial R <martialr@gmail.com>
Envoyé : dimanche 2 juillet 2023 10:03:14
À : CHARADE Olivier
Cc : Frédéric Moinard; lilypond-user-fr@gnu.org
Objet : Re: Re : entête différente entre page 1 et suivantes
 
Bonjour,

> Si j'enlève le \bold, il n'est plus gras sur les entêtes de pages suivantes mais le reste sur la première.
> D'où ça sort?

il faut retirer le \bold dans \bookTitleMarkup
 bookTitleMarkup = \markup { %% définit l'affichage de titre du \book
    \fill-line {
      \fontsize #1  \fromproperty #'header:instrumentTitre
      \fontsize #2  \fromproperty #'header:title
      \null
    }
--
Martial Rameaux

reply via email to

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