Skip to content

Show rules specifically for math symbols #254

@ModProg

Description

@ModProg

I was wondering if I could somehow alias * to dot.c.

First, I tried doing it through #show "*": [#sym.dot.c], but that doesn't affect math mode AFAICT.

My second attempt used #let dd = symbol("·") which does work, but only allows me to use dd as an alias for dot.c, but symbol doesn't currently allow setting a custom shorthand.

While both changes would fix this for me, I think they individually provide enough advantages to warrant implementing both of them.

I.e. some way to create a math scoped #show (e.g. #show.math or something like that) and allowing to add a custom shorthand to symbol, not sure how that syntax would work, maybe just as a named parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requestmathRelated to math category, with its syntax, layout, etc.stylingAbout set and show rules or style propertiessyntaxAbout syntax, parsing, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions