m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/lilypond.md
diff options
context:
space:
mode:
Diffstat (limited to 'lilypond.md')
-rw-r--r--lilypond.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/lilypond.md b/lilypond.md
index a59c48d..993effc 100644
--- a/lilypond.md
+++ b/lilypond.md
@@ -16,6 +16,14 @@ Docs: `info LilyPond`.
tagline = ##f
}
+## Paper settings
+
+Indentation of first line:
+
+ \paper {
+ indent = 0
+ }
+
## Rhythm stuff
### Setting beat divisions
@@ -36,3 +44,30 @@ Docs: `info LilyPond`.
\time 3/4
\partial 8
e8 | a4 c8 b c4 |
+
+## Output formats
+
+### Images (PNG/SVG)
+
+ lilypond --svg file.ly
+ lilypond --png file.ly
+
+It's 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`.
+
+### MusicXML
+
+Not supported natively, but the `python-ly` package on `pip` has experimental
+support.
+
+ ly musicxml file.ly
+
+## Notation
+
+Tie:
+
+ a~ a