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 controls for shorthand #4

Open
jdutant opened this issue Mar 2, 2021 · 0 comments
Open

Add controls for shorthand #4

jdutant opened this issue Mar 2, 2021 · 0 comments

Comments

@jdutant
Copy link
Collaborator

jdutant commented Mar 2, 2021

Each (document-level) theorem kind should have a shorthand option that allows the user to enter theroem of that kind via a shorthand. Use cases:

  • a user could specify that statements of a certain kinds are jokes and enter them as follows:
::: joke
Decimals have a point.
:::
  • perhaps some users may want to use our predefined styles but deactivate their shortands, so that the following isn't interpreted as a mathematical proposition?
::: proposition
Decimals have a point.
:::

But that at the same time they could still write:

::: {.statement kind=proposition}
Substracting the same from the same yields the same.
:::

Proposal: add a property shorthand to statement kinds. Question: should that be a switch (yes / no, and the shorthand is the kind name?) or a string (so that user could set up jk as a shorthand for joke)?

I favour the switch.

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

No branches or pull requests

1 participant