Sphinx lilypond extension
Project description
This plugin implements a lily role and directive to including Lilypond score.
Credits
Fabrice Salvaire 2017 (cleanup for Python 3)
Wei-Wei Guo 2009, licensed under BSD
Installation
Using pip:
pip install sphinxcontrib-lilypond
Functionalities
A lily role to include a standalone music markup. For example, a G clef can be inserted by:
:lily:`\musicglyph #"clefs.G"`
The purpose of the ‘lily’ role is writing music comments or learning notes. So only one markup is allowed.
A lily directive to include a score, for example:
.. lily:: \relative c'' { c4 a d c }
Settings
The lilypond_fontsize variable can be used to set the font size:
lilypond_fontsize = ['6', '-3']
The first value is for lily role setting in absolute font size.
The second value is for lily directive setting in relative font size.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for sphinxcontrib_lilypond-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 854ad71e15be53a57078112da4347441d23319401539483b524df115576a53f2 |
|
MD5 | 4be6a7bb2a7966325bd21e3762ab88af |
|
BLAKE2b-256 | 6bd4a63d89789932ef446fae7536cf31a0ed8fa2783accd4d43ede9db915a040 |