lilypond-user
[Top][All Lists]
Advanced

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

Re: print page numbers on margins


From: Thomas Morley
Subject: Re: print page numbers on margins
Date: Tue, 9 Feb 2016 19:55:21 +0100

2016-02-09 19:00 GMT+01:00 Jonathan Scholbach <address@hidden>:
> Dear all,
>
> I have margins on both sides of the page and would like to print the page
> numbers on the margin. How do I do that?
>
> My settings are
>
> \version "2.19.22"
>
> \paper {
>
> left-margin = 2\cm
>
> right-margin = 2\cm
>
> oddHeaderMarkup= \markup { \column { { \fromproperty
> #'page:page-number-string }}} %left aligned page numbers on odd pages
>
> evenHeaderMarkup = \markup { { \column { \fill-line {"" \fromproperty
> #'page:page-number-string }}}}%right aligned page numbers on even pages
>
> }
>
> \book {
>
> \score {
>
> \new Staff { R1*500 }
>
> }
>
> }
>
> I tried to play around with something like
>
> indent = 2\cm
>
> short-indent = 2\cm
>
> horizontal-shift = -1\cm
>
>
> but that's ugly, because it changes only the positioning of the systems, but
> not of, for example, the system-separators.  And there might be many other
> elements I would have to re-position if I did it that way. Is there a
> possibility the other way around - just changing the position of the
> HeaderMarkup?
>
> Thanks!
>
> Jonathan


Is one of the suggestions in the following thread of any help?
http://lilypond.1069038.n5.nabble.com/different-margins-for-footer-and-music-td185896.html

Cheers,
  Harm



reply via email to

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