In mathematical notation, parenthesis and brackets have overloaded meaning, and when it comes to represent intervals, the parenthesis/brackets don't have to match. For example,
(1, 2]
means an interval with left open and right closed. But unfortunately, in math mode in latex mode, this becomes fairly annoying that whenever notation likes this is used, emacs highlights it as error.
For example,
But outside of math mode, it's really not normal if any mismatches happen. I am wondering if you guys got a way to fix it?
enabled minor modes:
Enabled minor modes: Async-Bytecomp-Package Auto-Composition Auto-Compression
Auto-Encryption Auto-Fill Auto-Revert Company Diff-Auto-Refine Electric-Indent
File-Name-Shadow Flyspell Font-Lock Global-Eldoc Global-Font-Lock Global-Git-Commit
Global-Hi-Lock Global-Undo-Tree Hi-Lock Latex-Preview-Pane Line-Number Linum
Magit-Auto-Revert Magit-File Menu-Bar Mouse-Wheel Origami Override-Global Projectile
Pyvenv Rainbow-Delimiters Save-Place Shell-Dirtrack Show-Smartparens
Show-Smartparens-Global Tex-Pdf Tool-Bar Tooltip Transient-Mark Undo-Tree Yas