0

How can I generate pdf outputs that fit best on iPad and iPhone?

I could not find the right paper sizes in Lilypond's predefined paper sizes

2

It seems like there is a public variable called paper-alist which contains all the recognized paper sizes, along with their dimensions. You can easily add your own paper type as per the Lilypond docs about paper size:

#(set! paper-alist (cons '("my size" . (cons (* 15 in) (* 3 in))) paper-alist))

\paper {
  #(set-paper-size "my size")
}

(This adds a paper size called my size which is 15 inches wide and 3 inches high.) Besides the unit of in, you can also use cm and mm.

| improve this answer | |
  • Thanks, but what sizes fit on iPhone, iPad ...? – WeSee Apr 25 at 18:28
  • 2
    @WeSee, I have no idea. I thought you knew what was the paper size you were looking for when you were saying that you couldn't find it in the predefined list... You will probably have to experiment a bit. – Ramillies Apr 25 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.