1

Is it possible to define a new math-delimiter for texstudio syntax highlighting ?

For example, I would like to indicate that the \begin{mblock}...\end{mblock} environment is a math-delimiter.

1 Answer 1

3

Make user.cwl file with the next contents:

\begin{mblock}#\math
\end{mblock}#\math

Move this file into the %appdata%\texstudio\completion\user or .config/texstudio/completion/user directory.

In the TeXstudio:

Options / Configure TeXstudio / Completion

Click on the checkbox of user.cwl / OK

That's all!

You must log in to answer this question.

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