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

Thmtool's \declaretheorem should also accept list of environment names #1075

Closed
jdujava opened this issue Apr 8, 2024 · 1 comment · Fixed by #1100
Closed

Thmtool's \declaretheorem should also accept list of environment names #1075

jdujava opened this issue Apr 8, 2024 · 1 comment · Fixed by #1100

Comments

@jdujava
Copy link
Contributor

jdujava commented Apr 8, 2024

The command \declaretheorem should accept comma separated list of environment names, see end of page 3 of the thmtools documentation https://mirrors.nic.cz/tex-archive/macros/latex/contrib/thmtools/doc/thmtools-manual.pdf#page=3.

As of now, for example a following code snippet

\declaretheorem[sibling=table, style=thmbox]{definition, theorem, lemma, corollary, proposition}

results in errors Expecting a curly bracket: "}" and Unexpected "}".

Also, the treesitter isn't handling it properly, should I raise a separate issue, or is this enough?

@pfoerster
Copy link
Member

Also, the treesitter isn't handling it properly, should I raise a separate issue, or is this enough?

tree-sitter-latex is now up to date: latex-lsp/tree-sitter-latex#121

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

Successfully merging a pull request may close this issue.

2 participants