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

Command for lemmata #5

Open
Yokto13 opened this issue May 18, 2022 · 4 comments
Open

Command for lemmata #5

Yokto13 opened this issue May 18, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@Yokto13
Copy link

Yokto13 commented May 18, 2022

There are commands for easily displaying theorems, proofs, and definitions.

However, when writing lecture notes I find myself often writing some simple lemmata. I feel like it would be natural to have a command similar to [dfn ] for lemmata :)

@Yokto13
Copy link
Author

Yokto13 commented May 18, 2022

Generally, I can't decide on what should be in the commands by default and what would clutter it. Suddenly we could also end up having commands for stating invariants, observations, etc. All of those would do pretty much the same imo

Interested to hear your opinion.

@xigoi
Copy link
Owner

xigoi commented May 19, 2022

I didn't include lemma in the default commands because there's not really a difference between a lemma and a theorem. But yeah, it could be useful for those who like to make the distinction.

Or there could be an equivalent of LaTeX's newtheorem to make it easy to add new theorem-like commands. A potential problem I see with that is translations.

@Yokto13
Copy link
Author

Yokto13 commented May 21, 2022

I didn't include lemma in the default commands because there's not really a difference between a lemma and a theorem. But yeah, it could be useful for those who like to make the distinction.

Having only theorems, definitions and proofs is a quite minimalist approach (but not a bad one) and might not suffice for everyone. But I guess it depends on the person's taste.

Or there could be an equivalent of LaTeX's newtheorem to make it easy to add new theorem-like commands.

something like newtheorem might be great.

A potential problem I see with that is translations.

What do you think about adding an optional argument for translations? Then we might also need some map-like structure to pass it translations that concern us.

@xigoi
Copy link
Owner

xigoi commented May 25, 2022

I've added a lemma command in version 2022.5.25. I'm still considering the idea of a def-theorem-like command, so I'll leave this issue open.

@xigoi xigoi added the enhancement New feature or request label Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants