[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    different margins for headers/footers than systems/score
From:       Kieren MacMillan <kieren_macmillan () sympatico ! ca>
Date:       2017-05-24 15:16:58
Message-ID: 5E75B1D8-F556-411B-9AD5-464EC9003472 () sympatico ! ca
[Download RAW message or body]

Hello all,

In the snippet below, I'm trying to have a "fancy header", where the inside edge \
(barline) of the score is aligned with the inside edge of the header, but the outside \
edge (barline) of the score is aligned to a line in the header *outside of which the \
page number appears*. I've tried horizontal-shift, but that's trial-and-error-y, and \
anyway appears not to observe two-sided mode.

Any thoughts on how I can accomplish what I want here?

Thanks,
Kieren.

%%%  SNIPPET BEGINS
\version "2.19.61"

\layout {
  \context {
    \Score
    \omit BarNumber
  }
}

\paper {
  paper-width = 8.5\in
  paper-height = 11\in
  two-sided = ##t
  inner-margin = 0.75\in
  outer-margin = 0.75\in
  indent = 0.5\in
  short-indent = 0\in

  oddHeaderMarkup = \markup \bold
    \fill-line {
      Inside
      Centre
      \line {
        Fancy Outside \hspace #1
        \raise #2 \draw-line #'(0 . -3)
        \hcenter-in #3 1
      }
    }

  evenHeaderMarkup = \markup \bold
    \fill-line {
      \line {
        \hcenter-in #3 1
        \raise #2 \draw-line #'(0 . -3)
        \hspace #1 Fancy Outside
      }
      Centre
      Inside
    }

  tagline = ##f
}

\repeat unfold 20 { c''1 \break }
%%%  SNIPPET ENDS
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: info@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic