summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/lyluatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-27 22:37:58 +0000
committerKarl Berry <karl@freefriends.org>2017-11-27 22:37:58 +0000
commit68269883bdbfd89d17c6e696df91405a5f799cb5 (patch)
tree694e33d7b51b3d831dcfa8e40ea1df2dc428c7c4 /Master/texmf-dist/doc/support/lyluatex
parent8e0eae4d134b4f58cf59c0ff736b9e31f58d6666 (diff)
lyluatex (27nov17)
git-svn-id: svn://tug.org/texlive/trunk@45926 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/lyluatex')
-rw-r--r--Master/texmf-dist/doc/support/lyluatex/README.md12
-rw-r--r--Master/texmf-dist/doc/support/lyluatex/lyluatex.pdfbin123820 -> 147008 bytes
-rw-r--r--Master/texmf-dist/doc/support/lyluatex/lyluatex.tex16
3 files changed, 24 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/support/lyluatex/README.md b/Master/texmf-dist/doc/support/lyluatex/README.md
index d69f9e3f7f8..d331ae9a6c2 100644
--- a/Master/texmf-dist/doc/support/lyluatex/README.md
+++ b/Master/texmf-dist/doc/support/lyluatex/README.md
@@ -14,7 +14,7 @@ The `program` option permits the definition of an alternative path to
Thereafter, you can include a lilypond file with the command:
- \includely[staffsize=17]{CHEMIN/VERS/LA/PARTITION}
+ \includely[staffsize=17]{PATH/TO/THE/FILE}
The argument `staffsize`, which is optional, changes the size of the score. You
can change the size for all the subsequent scores in a document by placing the
@@ -36,12 +36,20 @@ On systems with low RAM, when working on big documents, you could encounter
`-draftmode`, then compile again without this option.
You can also input music directly into your docoment with the `ly` environment.
-This is only recommended for very short snippets. For example:
+This is only recommended for relatively short snippets. For example:
\begin{ly}
\relative c' { c d e f g a b c }
\end{ly}
+Finally, for truly short snippets, there is also the `\lily` command. Example:
+
+ \lily[staffsize=12]{c' d' g'}
+
+**Nota bene:** The `\lily` command *does not* support blocks of LilyPond code
+with explicit `\score` blocks. Such code must be included with the `ly`
+environment or as a separate file.
+
## Migration from `lilypond-book`
diff --git a/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf b/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
index 7a91f2751ec..234671c93ca 100644
--- a/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
+++ b/Master/texmf-dist/doc/support/lyluatex/lyluatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex b/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
index 46d975cdb4c..d3617d0cfe5 100644
--- a/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
+++ b/Master/texmf-dist/doc/support/lyluatex/lyluatex.tex
@@ -77,7 +77,7 @@ path to \texttt{lilypond}, for example:
Thereafter, you can include a lilypond file with the command:
\begin{verbatim}
-\includely[staffsize=17]{CHEMIN/VERS/LA/PARTITION}
+\includely[staffsize=17]{PATH/TO/THE/FILE}
\end{verbatim}
The argument \texttt{staffsize}, which is optional, changes the size of
@@ -109,7 +109,7 @@ case, first compile with option \texttt{-draftmode}, then compile again
without this option.
You can also input music directly into your docoment with the
-\texttt{ly} environment. This is only recommended for very short
+\texttt{ly} environment. This is only recommended for relatively short
snippets. For example:
\begin{verbatim}
@@ -118,6 +118,18 @@ snippets. For example:
\end{ly}
\end{verbatim}
+Finally, for truly short snippets, there is also the
+\texttt{\textbackslash{}lily} command. Example:
+
+\begin{verbatim}
+\lily[staffsize=12]{c' d' g'}
+\end{verbatim}
+
+\textbf{Nota bene:} The \texttt{\textbackslash{}lily} command \emph{does
+not} support blocks of LilyPond code with explicit
+\texttt{\textbackslash{}score} blocks. Such code must be included with
+the \texttt{ly} environment or as a separate file.
+
\subsection{\texorpdfstring{Migration from
\texttt{lilypond-book}}{Migration from lilypond-book}}\label{migration-from-lilypond-book}