Closed dlejay closed 3 years ago
I'd suggest you to open a PR though, because I don't use latex, so this file type is only basically optimized, there might be some flaws. If you often use latex, I think you can make better decisions on colors than me.
But of course if you are somewhat busy recently, I'm going to optimize latex based on your suggestions when I have time.
I am a daily user of LaTeX +
edge
.As a LaTeX user, I am super grateful that
edge
has dedicated LaTeX colouring.There is one case where the choice of colours is not optimal in my opinion: when drawing a diagram with
tikzcd
, the block of code is usually a mix of red and orange. Red because alltexMathCmd
areRedItalic
. Orange becausetexMathZone
isSpecial
andtexTabularChar
isSpecialChar
.I have a couple suggestions to make this easier to read:
texMathCmd
texTabularChar
should not be too close to the one oftexMathCmd
andtexMathZone
so that the eye can navigate easily in of tabular environments.