The underscores and carrots are highlighted red which is really an eyesore. How can I change/remove this?    The plugin works fine, so I don't think it's an installation issue.  Update for more details:  Vim 8.1, I doubt I have any conflicting plugins. I have a tex.vim file located at /usr/local/share/vim/vim81/syntax/.
123362
Sorry if this is the wrong place to ask this, I'm new to the site :/  My issue is this: when editing in vim, my syntax file highlights underscores and carets when found in non-math text, which is fine, except vim doesn't recognize that "align" is a math environment. What do I need to do to fix this?
104780
My Visual Studio (2008) Editor has stopped to underline Errors (this nifty wavy red lines). I can't really tell when, but it can be related to the installation of .Net Framework 3.5 SP 1 or the MVC Beta (which I guess is unlikely). Furthermore have I installed and uninstalled both CodeRush and Resharper for evaluation purposes (decided not to keep either one of them).  Does anyone know the problem and how to restore this functionality again?
57977
I'm using Emacs with AUCTeX to do all my LaTeX. When it comes to syntax highlighting it seems that all mathematics is by default just orange. Do you know of a mode or package that adds some more fine grained syntax highlighting? For example all commands (\foo), matching braces, sub- and superscripts, etc. should get a different color.
33450
I just installed the vim latex-suite plugin.  Whenever I type empty brackets, parentheses, or braces, I get an extra pair of them, and I am moved to the middle of the new pair and put into insert mode.    i.e. after typing  {}   I get  {}{}   with the cursor between the second pair of empty braces.  How can I disable this?
41219
I search for "nurple" in a file. I found it, great. But now, every occurrence of "nurple" is rendered in sick black on yellow. Forever.  Forever, that is, until I search for something I know won't be found, such as "asdhfalsdflajdflakjdf" simply so it clears the previous search highlighting.  Can't I just hit a magic key to kill the highlights when I'm done searching?
44750
Hi. I've compiled a Persian language beamer file by both luapersian and persian babel package using LuaLaTex, and in both I've the same problem in pdf bookmark as shown in the figure (some strange characters are shown instead of correct characters).
18896
I've heard that you should use \[ ... \] for displayed equations instead of  $$ ... $$, but why is that?  I'd assumed that it's so that you can more easily tell which are starting and which are ending delimiters, but if I always use a syntax-highlighting text editor, I can see that easily based on the color of the symbols.  Is there any reason for this suggestion?
100733
I'm new in LaTeX and I'm searching for solution to highlight verbatim text inside paragraph (for example, it is like on this page, where code is highlighted). Can anyone help me with this?   Let say, that I have a paragraph and inside is some words where I use \verb|| to show some code parts, but I'd like that this is highlighted or it has background color, juts like it is highlighted in this page. For normal text I can use \newcommand{\hilight}[1]{\colorbox{gray!10}{some text}}, but this command doesn't work with \verb, so I can't use it. I'm trying to find solution and searching over the internet, but I didn't fid so far.   Thanks for your help.
85604
How do I show line numbers in the editor? According to the picture in the doc (e.g. about bookmarks) there should appear by default.  I'm using Texstudio version 2.7, win8.1.
14722
Don't know if it's intentional or not, but hyperlinks are colored like a normal text in the generated PDF on careers.stackoverflow.com, which makes them indistinguishable.
26968
How do I change default settings of Vim editor such as setting auto indent, setting Tab space to 4 and changing text colors? Also how to set vim as the default code editor?
67618
I'm looking for pretty formatting for warnings, and others for some info or tips.  For the moment, I use the following formatting but maybe someone has one better idea.    To obtain this, I use the following code.  \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[x11names,svgnames]{xcolor} \usepackage{graphicx} \usepackage{fourier-orns} \usepackage[framemethod=tikz]{mdframed} \usetikzlibrary{calc}  \makeatletter % Default settings for warnings     \newcommand{\warningSymbol}{\raisebox{0.8\depth}{\danger}}      \definecolor{warningColorText}{named}{Red3}     \definecolor{warningColorLine}{named}{Red3}     \definecolor{warningColorBack}{named}{LemonChiffon1}     \definecolor{warningColorBackSymbol}{named}{white}  % Inline mode     \newcommand{\warning}[1]{%         \textcolor{warningColorText}{\warningSymbol{}\,#1}%     }  % Block mode     \tikzset{         warningsymbol/.style={             rectangle,             draw  = warningColorText,             fill  = warningColorBackSymbol,             scale = 1,             overlay         }     }      \mdfdefinestyle{warning}{%         hidealllines      = true,         leftline          = true,         skipabove         = 12,         skipbelow         = 12pt,         innertopmargin    = 0.4em,%         innerbottommargin = 0.4em,%         innerrightmargin  = 0.7em,%         rightmargin       = 0.85em,%         innerleftmargin   = 1.1em,%         leftmargin        = 0.85em,%         middlelinewidth   = .2em,%         linecolor         = warningColorLine,%         backgroundcolor   = warningColorBack,%         fontcolor         = warningColorText,%         firstextra        = {             \path let \p1=(P), \p2=(O) in ($(\x2,\y1-4)$)             node[warningsymbol] {\warningSymbol};         },%         secondextra       = {             \path let \p1=(P), \p2=(O) in ($(\x2,\y1-4)$)              node[warningsymbol] {\warningSymbol};         },%         middleextra       = {             \path let \p1=(P), \p2=(O) in ($(\x2,\y1-4)$)              node[warningsymbol] {\warningSymbol};         },%         singleextra       = {             \path let \p1=(P), \p2=(O) in ($(\x2,\y1-4)$)              node[warningsymbol] {\warningSymbol};         },%     }      \newmdenv[style=warning]{@Warning}     \newenvironment{Warning}{\let\warning\relax\begin{@Warning}}{\end{@Warning}} \makeatother  \usepackage{lipsum}  \begin{document}  \warning{IMPORTANT !} \lipsum[1]  \begin{Warning}      \lipsum[1] \end{Warning}  \end{document}
58988
According to , using §1 in an item's name should make the text colored dark blue.  However, when I copy-paste a command like this one into chat:  /give @p diamond_sword{display:{Name:"{\"text\":\"§1Sword\"}"}}   it comes out like this:  /give @p diamond_sword{display:{Name:"{\"text\":\"1Sword\"}"}}   See the problem? I can't copy § into chat!  Which means the name ends up being "1Sword" rather than "Sword" colored dark blue.  Why can't I copy § into chat? What can I do to fix it?  Note: I've tested this issue on Minecraft versions 1.14.3 and 1.12.2. It worked the same on both. Feel free to leave a comment if you need more details.
61851
I updated LyX to 2.3.0-1, and found that LyX was displaying all the "-" characters in Math Mode as "\lyxminus". No such problem occurs when entering outside of Math Mode. LyX also seems to have no problem compiling to TeX, and the PDF output looks normal.  I removed and re-installed LyX, and this issue was still there.   Does anyone have any ideas on what might be going on? I am using Linux Mint 18.2 Sonya.  Note: I previously saw this question ask about the same thing, but the author appears to have deleted their post:
116011
When I see an edit that adds backtick formatting like , the formatted view shows a lot more changed text than is actually the case. Specifically, whitespace before the opening backtick and the entire word after the whitespace after the closing backtick are highlighted, despite being in no way modified. Highlighting the enclosed text is fine, but this goes too far and is rather unhelpful.  Markdown view is sort of OK, but sometimes I want to see a more concise view without all the unchanged lines, or to see the end format more clearly.
66078
When I autocomplete an environment, I get a red box (which I now know, from  is called a placeholder.)   What are these placeholders for, what functionality is associated with them, and what is the intended workflow for using them? (I think this information is probably all on here somewhere, spread over a series of different questions/answers. But it would be great to have everything in one place and to know I'm not missing anything)
60875
Can nano do syntax highlighting like gedit and vim? How can I enable it? I need at least bash and python syntax highlights.