Graphics, Figures & Tablesmultirow | Merging Cells without horizontal Line

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

multirow | Merging Cells without horizontal Line

Post by 21did21 »

Hello world,

i make a tabular and i merge two line, it works nice but except for 1 columns :(

this is my code :

Code: Select all

\begin{tabular}{|c|c|c|c|}
\hline
\textbf{Input data} & \textbf{Original data} & \textbf{Sources} & \textbf{Fitted data} \\
\hline\multirow{2}{2cm}{Chimistry} & x=18 & [13] &   \\
\cline{2-2} & y=10 &  &  \\
\hline
A & A & A & A \\
\hline
\end{tabular}
it works nice but in attachment you can see a strange line between x=18 and y=10
=> can you explain to me how i can correct it ?

thank for your help
Last edited by 21did21 on Sat Feb 18, 2012 11:54 pm, edited 2 times 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: 10350
Joined: Mon Mar 10, 2008 9:44 pm

multirow | Merging Cells without horizontal Line

Post by Stefan Kottwitz »

Hi,

it's caused by \cline{2-2}, just remove that and the line would be gone.

Stefan
LaTeX.org admin
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: multirow | Merging Cells without horizontal Line

Post by 21did21 »

thanks Stefan it's very kind
Post Reply