diff --git a/lyluatex.sty b/lyluatex.sty index fb0c808..b47ce09 100644 --- a/lyluatex.sty +++ b/lyluatex.sty @@ -97,9 +97,14 @@ dofile(kpse.find_file("lyluatex.lua"))} \directlua{ly_define_program("\luatexluaescapestring{\lyluatex@program}")}% } -\newkeyenvironment{ly}[staffsize=\staffsize,program=\lyluatex@program][other-options]{% +\newkeyenvironment{ly}[% + staffsize=\staffsize% + ,line-width=\lilywidth% + ,program=\lyluatex@program% + ][other-options]{% \directlua{ly_define_program("\luatexluaescapestring{\commandkey{program}}")}% \def\localstaffsize{\commandkey{staffsize}}% +\def\localwidth{\commandkey{line-width}}% \compilerly% }{% \endcompilerly%