|
From: | Remy CLAVERIE |
Subject: | Re: tagline et bookpart |
Date: | Thu, 13 Feb 2014 07:29:15 +0100 (CET) |
Ca marche super ! Merci Eluze.
J'ai centré les numéro de page. la section \paper est la suivante :
\paper {
oddFooterMarkup=\markup {
\fill-line {
\center-column {
\on-the-fly #part-last-page \fromproperty #'header:tagline
\on-the-fly #not-part-last-page \fromproperty #'page:page-number-string
}
}
}
evenFooterMarkup=\oddFooterMarkup
}
Bonne journée
Rémy
> Message du 12/02/14 14:39
> De : "Eluze"
> A : address@hidden
> Copie à :
> Objet : Re: tagline et bookpart
>
> Rémy wrote
> > En effet, j'obtiens bien un numéro de page sur toutes les pages mais y
> > compris celle avec le tagline.
> >
> > Comment faire pour supprimer le numéro de page sur la dernière page du
> > bookpart ?
>
> il faut
>
> - définir ce qui se passe dans les deux cas (dernière page ou pas?):
> - définir not-part-last-page (pourquoi les négations ne sont-elles pas
> définies par LilyPond?!)
>
> \paper{
> #(define (not-part-last-page layout props arg)
> (if (chain-assoc-get 'page:is-bookpart-last-page props #f)
> empty-stencil
> (interpret-markup layout props arg)))
> oddFooterMarkup=\markup {
> \on-the-fly #part-last-page \with-color #green \box
> \fromproperty #'header:tagline
> \on-the-fly #not-part-last-page \with-color #red \circle
> \fromproperty #'page:page-number-string
> }
> evenFooterMarkup=\oddFooterMarkup
> }
>
> Eluze
>
>
>
> --
> View this message in context: http://lilypond-french-users.1298960.n2.nabble.com/tagline-et-bookpart-tp7580935p7580938.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
>
[Prev in Thread] | Current Thread | [Next in Thread] |