Texmaker and TeXstudio ⇒ Texmaker customise syntax highlighting.
-
- Posts: 1
- Joined: Wed Feb 10, 2016 1:18 pm
Texmaker customise syntax highlighting.
I've been using Texworks for years and I love that special characters $ & { [ etc are highlighted differently form everything else. The rest of the Texworks editor is a little minimalist though and I've been thinking of changing to a more feature rich editor. In particular, I love the "structure" and code folding that Texmaker offers.
In Texworks you can define custom syntax patterns by editing the "syntax-patterns.txt" file. Is there a similar thing hidden in Texmaker somewhere? I've obviously found the custom syntax colouring menu in Preferences>colour but this has a very prescriptive set of categories with no option to highlight custom strings differently.
Alternatively, does anybody know of another editor which offers customisable or Texworks-style syntax highlighting and code folding.
Failing that, Texmaker is open source right? Does anybody know about how syntax highlighting is taken care of? Perhaps I could hack a solution implementing customisable syntax highlighting for Texmaker.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis