m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-10 13:14:07 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-10 13:14:07 +0200
commit42b03aef901586f3a313a0cd609bb7f9718b2323 (patch)
tree26ffe46e5e524ed9249201fe6c1705deabade6b0
parentadfa32728262bf0f92135f6a766ef197c66e81c2 (diff)
Add lilypond cropping
-rw-r--r--lilypond.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/lilypond.md b/lilypond.md
index a59c48d..8002a11 100644
--- a/lilypond.md
+++ b/lilypond.md
@@ -36,3 +36,15 @@ Docs: `info LilyPond`.
\time 3/4
\partial 8
e8 | a4 c8 b c4 |
+
+## Output formats
+
+ lilypond --svg file.ly
+ lilypond --png file.ly
+
+Its useful to have these cropped:
+
+ lilypond --svg -dcrop file.ly
+
+Will output both an A4-sized file.svg, and the cropped file.cropped.svg.
+Suppress the non-cropped output with `-dno-print-pages`.