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

FR: Predefined theorems #31

Open
muzimuzhi opened this issue Jan 24, 2023 · 5 comments
Open

FR: Predefined theorems #31

muzimuzhi opened this issue Jan 24, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@muzimuzhi
Copy link
Owner

With package options standard, ntheorem will define "a standard set of theorems", see texdoc ntheorem, sec. 2.3.6. thmtools could have this feature too, as requested (softly) by @dbitouze in texstudio-org/texstudio#2875.

To be honest I'm not a big fan of this sort of predefined things. Users always want to partially overwrite the "default" settings. Support for inheritable theorem styles (#15) has higher precedence than current feature request.

Also note that a modern set of standard theorem should be integrated with localization and
internationalization, e.g., babel and/or translations.

@muzimuzhi muzimuzhi added the enhancement New feature or request label Jan 24, 2023
@dbitouze
Copy link

With package options standard, ntheorem will define "a standard set of theorems", see texdoc ntheorem, sec. 2.3.6. thmtools could have this feature too, as requested (softly) by @dbitouze in texstudio-org/texstudio#2875.

Sorry for this 😉!

To be honest I'm not a big fan of this sort of predefined things.

Too bad!

Users always want to partially overwrite the "default" settings.

Indeed, but predefined things often are a good starting point. BTW, beamer provides such predefined “theorems”.

Also note that a modern set of standard theorem should be integrated with localization and internationalization, e.g., babel and/or translations.

Indeed. This could be collectively done by the community. BTW, beamer provides such predefined localized “theorems”.

@muzimuzhi
Copy link
Owner Author

BTW, beamer provides such predefined localized “theorems”.

That's because beamer makes an extensive use of \translate from translations package.

@dbitouze
Copy link

BTW, beamer provides such predefined localized “theorems”.

That's because beamer makes an extensive use of \translate from translations package.

Indeed but IMO, translations is not a big deal since, I guess, volunteers would be happy to help.

Nevertheless, the fact remains that beamer provides such predefined “theorems”. 😉

@muzimuzhi
Copy link
Owner Author

Since \declaretheorem{<list of thm envs>} accepts a comma-separated list of theorem-like env names, defining groups of "default theorems" can be done in small number of lines, maybe only three lines. Thus new I tend to add these lines to package document, with discussion about i18n translations.

@muzimuzhi muzimuzhi added the documentation Improvements or additions to documentation label Jan 31, 2023
@dbitouze
Copy link

Since \declaretheorem{<list of thm envs>} accepts a comma-separated list of theorem-like env names, defining groups of "default theorems" can be done in small number of lines, maybe only three lines. Thus new I tend to add these lines to package document, with discussion about i18n translations.

Only in the documentation? Too bad! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants