TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any easy way to embed musical notation into lualatex projects without too much hassle? (hopefully complete transparency)

I was thinking something like lilypond without having to do multiple compilations/etc.

I simply want to seemlessly add nice looking musical notation to some pre-existing lualatex code without too much trouble.

I've quickly did a search and it seems abc allows direct integration(used as a latex package) but does not have the look I'm after. lilypond requires external compilation and I have no ideas how it will interact with lualatex. Is there anything else out there, some lua like wrapper to directly integrate lilypond into lualatex?

share|improve this question
up vote 3 down vote accepted

I am not aware of any lua like wrapper for lilypond, but I guess you
could use lilypond-book with lualatex, isn't it?

IIUC it should work if you invoke lilypond-book with the option

lilypond-book --latex-program=lualatex yourfile.lytex
lualatex yourfile.tex

or something alike.

More info about lilypond-book in LilyPond Application Usage manual:
AU 3. Running lilypond-book
and especially example AU 3.1 An example of a musicological document ,
AU 3.2.1 LaTeX and AU 3.4 Invoking lilypond-book .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.