Code: Select all
\[Q_O^D = 75 – 5 P_O + P_C + 2I\]
(34 is the line of this code in my file)
But it can still give my pdf. Why is this warning? What's the meaning? Should I just ignore it?
Code: Select all
\[Q_O^D = 75 – 5 P_O + P_C + 2I\]
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
–
, instead of a minus: -
, in your equation. You should not ignore the message, but change your equation like here:Code: Select all
\documentclass{article}
\begin{document}
\[Q_O^D = 75 - 5 P_O + P_C + 2I\]
\end{document}
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
Q_O^D &= 75 – 5 P_O + P_C + 2I \\
Q_O^D &= 75 – 5 P_O + 5 + (2\times 10)
\end{align*}
\end{document}
–
instead of -
. With -
it works: Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
Q_O^D &= 75 - 5 P_O + P_C + 2I \\
Q_O^D &= 75 - 5 P_O + 5 + (2\times 10)
\end{align*}
\end{document}
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