uliska / lilyglyphs

Make LilyPond's notational elements available in Lua- and XeLaTeX
30 stars 13 forks source link

Add 'variant' key to optional argument #64

Open uliska opened 11 years ago

uliska commented 11 years ago

Create a new key to the optional arguments: variant=. This should implement some kind of index lookup so one doesn't have to create individual commands for related glyphs.

An example could be the existing \twoBeamedQuavers which could make use of variants with different beam slopes.

Probably this shouldn't (only) be implemented as an integer lookup but through named key.

I think of command invocations like:

uliska commented 11 years ago

With image commands one could easily map the option's value to a file name suffix.
But what about glyphs? should be real lookup.

uliska commented 10 years ago

See also comments in #38