LaTeX Books


LaTeX Beginners Guide

Limited discount 50%
coupon code tDRet6Y

click here to read the whole story

LaTeX users online

In total there are 13 users online :: 2 registered, 0 hidden and 11 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Bing [Bot], Exabot [Bot] and 11 guests

Table Border Gap

LaTeX Forum: Graphics, Figures & Tables

Add tags Information and discussion about graphics, figures & tables in LaTeX documents.

Postby aleph_0 on Sat Sep 24th, 2011

I'm trying to make a relatively complex table and I keep getting this problem, where the borders on the side have a gap in them where they meet the top border. I've had this problem before and always have it when I try to adjust a table using vspace. I'd be happy to avoid using vspace but I don't know how else to put white space between the tables inside of tables. Here's the problem code:

Code: Select all  •  Open in writeLaTeX
\documentclass[12pt, letterpaper]{article}

        \begin{tabular}{| m{10cm} | m{4cm} |} \hline \\ \vspace{-.7cm}
                {\renewcommand{\arraystretch}{1} \begin{tabular}{| p{9.7cm} |} \hline \vspace{0cm}
                        {\renewcommand{\arraystretch}{1.5} \begin{tabular}{| p{9.3cm} |} \hline
7. $\Big(\exists y\Big)\Big(Ip \land Iy \land a = \frac{p}{y}\Big)$ \vspace{0cm} \\ \hline
                        \end{tabular}} \vspace{0cm} \\ \hline
                \end{tabular}} \vspace{0cm} &
                \vspace{-1cm} {\renewcommand{\arraystretch}{1} \begin{tabular}{| p{3.7cm} |} \hline \vspace{0cm}
                        {\renewcommand{\arraystretch}{1.5} \begin{tabular}{| p{3.4cm} |} \hline
EI 7 \\ \hline
                        \end{tabular}} \vspace{0cm} \\ \hline
                \end{tabular}} \\ \hline
Posts: 3
Joined: Thu Sep 15th, 2011

Return to Graphics, Figures & Tables

LaTeX users online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 11 guests