## LaTeX forum ⇒ Texmaker and TeXstudio ⇒ Green coloured text in Texmaker editor Topic is solved

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Maks71
Posts: 6
Joined: Wed Aug 02, 2017 12:02 pm

### Green coloured text in Texmaker editor

My text in the Texmaker editor is turning green halfway down the page in one of my chapter.tex files.

I don't know why it is doing this but it seems to also affect the pdf document changing the normal formatting to italics.

Any help is appreciated

Melanie

thomasb
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am
There must be a \textit{ somewhere...

rais
Posts: 179
Joined: Sun Nov 16, 2014 8:51 pm
I don't know Texmaker, much less its coloring scheme, but I'd suspect a math shift somewhere just prior to the italics', either direct (e.g., a dollar sign) or indirect (e.g., an underscore), the latter is usually accompanied by a message like missing \$ inserted' in the log file.
Whatever the case, it should be fairly easy to produce a minimal working example from the source: just leave a single word each, before and after the `turning point'...

KR
Rainer