
Originally Posted by
matheagle
Thanks
That's decent.
But all I think they did was print
----------------------
and |
there must be a command for it in TeX, u'd think
How do these textbook make these tables?
Probably not in TeX.
I'm gonna recreate one of the tables on that site I gave you:
 \\ \hline<br />
-\text{Smoke} & 0.06 & 0.91 & 0.097 = P\!\left(\text{Smoke}\right)\\ \hline<br />
\hspace{1pc} & 0.08 = P\!\left(\text{Broken}\right) & <br />
0.92= P\!\left(-\text{Broken}\right) & \hspace{1pc}\\ \hline<br />
\end{array}<br />
)
The code:
Code:
\begin{array}{| l || c | c | c |}
\hline
\hspace{1pc} & \text{Broken} & -\text{Broken} & \hspace{1pc} \\ \hline
\text{Smoke} & 0.02 & 0.01 & 0.03 = P\!\left(\text{Smoke}\right) \\ \hline
-\text{Smoke} & 0.06 & 0.91 & 0.097 = P\!\left(\text{Smoke}\right)\\ \hline
\hspace{1pc} & 0.08 = P\!\left(\text{Broken}\right) &
0.92= P\!\left(-\text{Broken}\right) & \hspace{1pc}\\ \hline
\end{array} In TeX editors like TeXnic Center, the
environment is better.