The LaTeX3 syntax is not recognized by TeXstudio, and I'm looking for ways to solve it.
The problem comes from (IMHO) the underscores being taken as "separators"...
Here is an example:
The macro is \__test_choose_value
and should be highlighted accordingly, the same for \str_case
, and the others
How can I make TeXstudio understands _
as regular string and not a special char?
By analyzing it, a LaTeX3 macro starts with \
and end before :
. Any ideas how to implement that in the syntax processor of TeXstudio?
:
and the parameter specifation are also part of the macro. So\str_case:nnF
is one macro name.\ExplSyntaxOn
should be a recognized command unless you've uncheckedlatex-document.cwl
in the menu, or your version of TeXstudio is old.Latex Workshop
extension and madeLaTeX-Expl3
the standard language for.tex
,.cls
,.sty
files etc. Syntax highlighting works really well and it has a extensive command preview/suggestion forexpl3
too. So, goodbye TexStudio...