I want to have Texstudio add completions for some ntheorem package commands, including:




I looked at the CWL file and could not find references to any of the \begin{} and \end{} environment definitions, so I was not sure how to add these. Any suggestions on how to include this syntax in the ntheorem.cwl file?

As a reference, I looked at some other posted questions on related topics, but they were just directing users to include the ntheorem.cwl file in the list of completions, but were not asking about syntax.

Add to TexStudio autocompletion

TexStudio autocompletion

Autocompletion in Texstudio

1 Answer 1


The format is documented in the user manual. Just write the commands as you've done in your examples.

See other cwl files for examples, e.g. latex-document.cwl

  • Okay cool. yeah, I looked over the example in latex-document.cwl and looks much easier than I thought. Thanks for the help.
    – krishnab
    Commented Jun 12, 2016 at 16:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .