Graphics, Figures & Tables ⇒ Hline in a table
-
- Posts: 2
- Joined: Wed Mar 30, 2011 6:55 pm
Hline in a table
When I insert a figure in my table it makes the Hline disappear, can anyone tell my how I can fix this.
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
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Hline in a table
don't nest figure and table environments.
Perhaps you're just using \includegraphics without a figure environment? Please show the code which is not working.
Stefan
-
- Posts: 2
- Joined: Wed Mar 30, 2011 6:55 pm
Re: Hline in a table
\begin{table}[h]
\centering
\begin{tabular}{ |m{3cm}| m{7.5cm}| m{3cm}| }
\hline alkaan & \includegraphics[scale=0.08]{alkaan} \centering &-aan \\
\hline alkeen & \includegraphics[scale=0.08]{alkeen}\centering& -een \\
\hline alkyn & \includegraphics[scale=0.08]{alkyn}\centering & -yn \\
\end{tabular}
\end{table}