[Tex/LaTex] Tables: Missing $ inserted


I'm trying to learn how to use Latex so I've got a little bit of problems in understanding what is the mistake that I've made.

In this case I'm compiling a Table containing multiple datas about currents, voltages and resistences of a circuit and the programme gives back a houndred mistakes about Missing $ or Extra {, then there is a fatal mistake at lines 1, but by putting everything under the % comment sign I've discovered that the problems still lies in the way I've encoded the lines of the table…

Error in main.tex (line 29): Missing $ inserted.

l.29 {\Large R_
B}& {\Large 2.2 M\Omega}& {\Large 2.237 M\Omega}& {\Large 2.2…
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

LaTeX Font Info: External font `cmex10' loaded for size (Font)
<17.28> on input line 29. ! Extra }, or forgotten $. l.29 {\Large R_B}
& {\Large 2.2 M\Omega}& {\Large 2.237 M\Omega}& {\Large 2.2…

I've deleted a group-closing symbol because it seems to be spurious,
as in $x}$'. But perhaps the } is legitimate and you forgot something
else, as in
\hbox{$x}'. In such cases the way to recover is to insert
both the forgotten and the deleted material, e.g., by typing `I$}'.

Error in main.tex (line 29): Missing } inserted.

l.29 {\Large R_B}&
{\Large 2.2 M\Omega}& {\Large 2.237 M\Omega}& {\Large 2.2…

I've put in what seems to be necessary to fix the current column of
the current alignment. Try to go on, since this might almost work.

! Extra }, or forgotten $. }

Error in main.tex: ==> Fatal error occurred, no output PDF file produced!*

These are the Errors.

Here you can find the code that I've written. The troubled linesare the ones are the ones presenting numeric Result…they should all contain the same mistake because I've copy/paste them since I've to create 6 Tables, all with the same Layout.

\title{Relazione - Circuiti con BJT e Punti di Bias}
\date{Laboratory of April, 14th 2014}

\multicolumn{4}{c}{\Large Tabella Circuito 1}\\
{\Large }& {\Large Teorico}& {\Large Reale}& {\Large Spice}\\
{\Large R_{B}}& {\Large 2.2 M\Omega}& {\Large 2.237 M\Omega}& {\Large 2.2 M\Omega}\\
{\Large R_{C}}& {\Large 5.6 k\Omega}& {\Large 5.555 k\Omega}& {\Large 56 k\Omega}\\
{\Large I_{B}}& {\Large 5 \mu A}& {\Large k\Omega}& {\Large 5.15622 \mu A}\\
{\Large I_{C}}& {\Large 1 \mu A}& {\Large  k\Omega}& {\Large 1.082 \mu A}\\
{\Large V_{RC}}& {\Large V}& {\Large 7.079 V}& {\Large 6.0594 V}\\
{\Large V_{RB}}& {\Large 11.3 V}& {\Large 11.388 V}& 11.344 V}\\
{\Large V_{BE}}& {\Large 0.7 V}& {\Large 0.615 V}& {\Large 0.656 V}\\
{\Large V_{CE}}& {\Large V}& {\Large 4.896 V}& {\Large 5.94 V}\\


Best Answer

Things like \Large R_B (as seen in your error message) are only possible in math mode. Write instead

\Large $R_B$

and {\Large R_C} needs no {...} Write it as \Large $R_C$ and so on. Everything inside a tabular cell is local. And if your whole tabular should be written with the \Large setting use:


If you have only math expressions in your tabular use

\begin{tabular}{>{$}c<{$} ... }

or use the environment array instead of tabular. I both cases you can insert normal text with \text{...} (amsmath), \textrm{...}, and/or \mbox{...}. The first one is the best choice.

Related Question