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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
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