I noticed something I was typesetting recently:

Whenever I mark my margins inside \paper{} before setting the #(set-paper-size
"x"), it ignores any indent, top-margin, or bottom-margin commands. But,
whenever I set the paper size before the margins, it obeys the other
commands.

How come? I glanced over the reference, and couldn't find anything about it.

Snippet below:

\paper {

  #(set-paper-size "letter")

  right-margin = 1\in

  left-margin = 1\in

  top-margin = 1\in

  bottom-margin = 1\in

  indent = 0\in

  }


= correct output


\paper {

  right-margin = 1\in

  left-margin = 1\in

  top-margin = 1\in

  bottom-margin = 1\in

  indent = 0\in

  #(set-paper-size "letter")

  }


= incorrect output

Sincerely,

Josh
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to