Closed jdujava closed 6 months ago
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.
\declaretheorem
thmtools
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 "}".
Expecting a curly bracket: "}"
Unexpected "}"
Also, the treesitter isn't handling it properly, should I raise a separate issue, or is this enough?
treesitter
tree-sitter-latex is now up to date: https://github.com/latex-lsp/tree-sitter-latex/pull/121
tree-sitter-latex
The command
\declaretheorem
should accept comma separated list of environment names, see end of page 3 of thethmtools
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
results in errors
Expecting a curly bracket: "}"
andUnexpected "}"
.Also, the
treesitter
isn't handling it properly, should I raise a separate issue, or is this enough?