Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'variant' key to optional argument #64

Open
uliska opened this issue Sep 13, 2013 · 2 comments
Open

Add 'variant' key to optional argument #64

uliska opened this issue Sep 13, 2013 · 2 comments

Comments

@uliska
Copy link
Owner

uliska commented Sep 13, 2013

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:

  • ţwoBeamedQuavers[variant=01] -> different slopes
  • twoBeamedNotes[variant=semiquaver] -> different number of beams
@uliska
Copy link
Owner Author

uliska commented Sep 13, 2013

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
Copy link
Owner Author

uliska commented Sep 17, 2013

See also comments in #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant