Graphics, Figures & Tables ⇒ Problem with my tables!
-
- Posts: 36
- Joined: Tue Oct 09, 2018 1:01 pm
Problem with my tables!
Hi. So I created a bunch of tables for my document, but when I zoom in I can see that line don't really touch each other perfectly. Is there any way to get rid of this? I mean to make a table as one full line all-around? It is really annoying me and I hope there is a way to fix it with some kind of package.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Problem with my tables!
How are you generating the table? What is the code for it?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Posts: 36
- Joined: Tue Oct 09, 2018 1:01 pm
Problem with my tables!
Code: Select all
\begin{table}[!ht]
\begin{center}
\begin{tabular}{ | c | c | c |}
\hline
\multirow{2}{*}{Parameter} & \multirow{2}{*}{Undrained Conditions} & \multirow{2}{*}{Drained Conditions} \\
& & \\ \hline
Friction angle - \( \phi \) & \( \phi = \phi_{u} = 0 \) & \( \phi = \phi' > 0 \) \\ \hline
Cohesion - \(c\) & \( c = s_{u} > 0 \) & \( c = c' = 0 \) \\ \hline
Surcharge - \(q\) & \(q\) (total stress) & \( q'\) (effective stress) \\ \hline
Unit weight - \( \gamma \) & \( \gamma \) (total weight) & \( \gamma'\) (effective weight) \\
\hline
\end{tabular}
\end{center}
\caption{\label{tab:table-name}Undrained and drained parameters}
\end{table}
-
- Posts: 36
- Joined: Tue Oct 09, 2018 1:01 pm
Problem with my tables!
Ok, I changed all \hline into \cline{1-3} and seems like the problem is gone for all upper lines, however there is still that problem at the bottom. See picture. Any ideas how to change that? I mean I can live with that but would like to know if there's a way.
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
-
- Posts: 36
- Joined: Tue Oct 09, 2018 1:01 pm
Problem with my tables!
Thanks! It works now!
And there is no need to change to \cline{1-3}.
And there is no need to change to \cline{1-3}.