GeneralWarnings in console

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Warnings in console

Post by Cham »

I'm getting tons of warnings in the console, about something that I don't think I used at all in my code. I'm wondering what this is about. The document is compiling fine, though.

Here's a sample of the warnings :
LaTeX Warning: Command \' invalid in math mode on input line 1908.
Anyone has an idea of what this is about ? What is this \' ?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Warnings in console

Post by Cham »

Got it !

I was using some French letters with accent (é, è, ...) under the \mathrm{} command, and this is what caused the warnings, apparently. I replaced that command with \text{}, and the warnings are all gone now. 8-)

But then, what is the difference between these two commands ?

EDIT : Ok, I got the answer to my last question there :

http://tex.stackexchange.com/questions/ ... and-mathrm
Post Reply