mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
lilypond.lyx : Document music fragment options.
This commit is contained in:
parent
7cc19d69a4
commit
76ed7d9269
@ -41,6 +41,7 @@ lilypond
|
||||
\pdf_colorlinks true
|
||||
\pdf_backref false
|
||||
\pdf_pdfusetitle false
|
||||
\pdf_quoted_options "linkcolor=blue,urlcolor=blue,pdfstartview=XYZ"
|
||||
\papersize default
|
||||
\use_geometry true
|
||||
\use_amsmath 1
|
||||
@ -86,6 +87,10 @@ LilyPond-book and LyX
|
||||
The LyX Team
|
||||
\end_layout
|
||||
|
||||
\begin_layout Date
|
||||
Version 2.0.x
|
||||
\end_layout
|
||||
|
||||
\begin_layout Abstract
|
||||
This document explains and demonstrates the inclusion of musical snippets
|
||||
in a LyX document, using the LilyPond syntax for music notation and the
|
||||
@ -221,6 +226,11 @@ status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
[staffsize=28]
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
relative c'' {
|
||||
@ -252,6 +262,10 @@ The previous LyX inset produces the following LaTeX-lookalike code:
|
||||
begin{lilypond}
|
||||
\end_layout
|
||||
|
||||
\begin_layout LyX-Code
|
||||
[staffsize=28]
|
||||
\end_layout
|
||||
|
||||
\begin_layout LyX-Code
|
||||
|
||||
\backslash
|
||||
@ -273,8 +287,27 @@ end{lilypond}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
This code is not, in fact, processed by LaTeX, but is preprocessed by LilyPond-b
|
||||
ook, which creates the graphics files and includes them in the LaTeX document
|
||||
What appear first inside square brackets are options to pass to LilyPond-book.
|
||||
Here, we set the dimension of the staff to 28
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
pt.
|
||||
Other options can be added by separating them by a comma, for example:
|
||||
|
||||
\family typewriter
|
||||
[staffsize=28,verbatim]
|
||||
\family default
|
||||
.
|
||||
A list of music fragment options is available in the LilyPond documentation.
|
||||
This whole block can be omitted when the default settings are desired.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
What follows after the options block is the textual representation in LilyPond
|
||||
syntax of a musical fragment.
|
||||
This code is not, in fact, processed by LaTeX, but is preprocessed by LilyPond-
|
||||
book, which creates the graphics files and includes them in the LaTeX document
|
||||
by replacing the above with a
|
||||
\family typewriter
|
||||
|
||||
@ -304,7 +337,7 @@ status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
[staffsize=12]
|
||||
\backslash
|
||||
markup {
|
||||
\backslash
|
||||
|
Loading…
Reference in New Issue
Block a user