Graphics, Figures & Tablesproblem with tabular

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
lpoth
Posts: 2
Joined: Wed Jan 02, 2013 10:44 pm

problem with tabular

Post by lpoth »

Hello,

Code: Select all

\fbox{\parbox{\textwidth}{
\noindent
De tabel\\
\begin{center}
\begin{tabular}{|c|c||c||c|} \cline{2-4}
	& \textsterling & \EURhv & \$ \\	\hline 
	\textsterling & \scriptsize{1} & \textbf{0.89} & \scriptsize{0.62} \\ hline
	\EURhv & \textbf{1.13} & \textbf{1} & \textbf{0.70} \\ \hline
	\$ & \scriptsize{1.62} & \textbf{1.43} & \scriptsize{1} \\ \hline
\end{tabular} \\ 
\end{center}
Vergelijkt enkele belangrijke munteenheden.
}}

For the moment, in the left corner there is a little vertical line, I don't need that. But I don't know how to delete it. Anyone who can help me please?
Last edited by Stefan Kottwitz on Wed Jan 02, 2013 10:53 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

problem with tabular

Post by Stefan Kottwitz »

Hi,

welcome to the board!

It would be good if you would use the code button for marking code in posts. I did it for you above.

The problem can be fixed by writing

Code: Select all

\multicolumn{1}{c|}{}
in the top left corner cell, which changes the formatting. Btw. I would not use any vertical line in tables, to not block row-by-row reading, just very few horizontal lines. The booktabs manual can tell you something about it.

Stefan
LaTeX.org admin
lpoth
Posts: 2
Joined: Wed Jan 02, 2013 10:44 pm

problem with tabular

Post by lpoth »

Stefan_K wrote:Hi,

welcome to the board!

It would be good if you would use the code button for marking code in posts. I did it for you above.

The problem can be fixed by writing

Code: Select all

\multicolumn{1}{c|}{}
in the top left corner cell, which changes the formatting. Btw. I would not use any vertical line in tables, to not block row-by-row reading, just very few horizontal lines. The booktabs manual can tell you something about it.

Stefan
Thanks, I didn't expect that it was that easy!
And from now on I will put my code in a code-box, I didn't know it was possible.
About the vertical lines, I can't choose the lay-out... It's an exercise for school.
Post Reply