Math & ScienceWarning: Command \textfractionsolidus invalid in math mode

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
doya
Posts: 1
Joined: Tue Mar 26, 2013 5:04 pm

Warning: Command \textfractionsolidus invalid in math mode

Post by doya »

Hello,

my problem is, that my formula appears to be correct but produces 6 warnings. I don't find any useful help in internet and hope somebody here could tell me what my mistake ist. Here is the code:

Code: Select all

\begin{equation}
\delta^{18}O\ [\text\textperthousand]= \frac{(\delta^{18}O⁄\delta^{16}O)_{sample}-(\delta^{18}O⁄\delta^{16}O)_{standard}}{(\delta^{18}O⁄\delta^{16}O)_{standard}}\times1000
\label{DeltaNotation18O}
\end{equation}

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Warning: Command \textfractionsolidus invalid in math mode

Post by localghost »

Please always provide a self-contained and minimal example that shows which packages you load to create the output. It's always hard to guess what is needed because nobody ca remember all packages.

As the name of the command suggests, it can only be use in text mode. The problem is caused by a forgotten pair of curly braces for the \text command (from amsmath) around \textperthousand.


Best regards and welcome to the board
Thorsten
Post Reply