In LaTeX I can use the paper only fitting the contents by using standalone class. Lilypond always creates an A4 document for me. I tried the following code:
\version "2.16.0" % necessary for upgrading to future LilyPond versions.
\paper {
indent = 0\mm
line-width = 110\mm
oddHeaderMarkup = ""
evenHeaderMarkup = ""
oddFooterMarkup = ""
evenFooterMarkup = ""
}
\relative c' {
c d e f g a b c
}
But it didn't help. How can I use something like "\documentclass{standalone}" from LaTeX in lilypond?