I try to write a multiplication dot and use \cdot
, 4 = 2\cdot{2}
. But I get the error message Missing $ inserted
. What have I forgotten?
[Tex/LaTex] Writing multiplication dots
errorsmath-mode
errorsmath-mode
I try to write a multiplication dot and use \cdot
, 4 = 2\cdot{2}
. But I get the error message Missing $ inserted
. What have I forgotten?
Best Answer
TeX and its various derivatives (such as LaTeX) distinguish between normal prose (text mode) and mathematics (math mode). The simplest and original way to switch between the two is to use the math switch, which is
$
.Here is a sample document to show you how it is typically used.