Re: print page numbers on margins

2016-02-09 Thread Thomas Morley
2016-02-09 19:00 GMT+01:00 Jonathan Scholbach :
> 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

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


print page numbers on margins

2016-02-09 Thread Jonathan Scholbach
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


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