[texhax] Please Help with Tables

Tom Schneider toms at ncifcrf.gov
Wed Jan 21 05:36:19 CET 2004


> This file produces two tables side by side with the left table flush
> with the margin. Also there is very little space between the two
> tables. I would like to see the left table indented some, and more
> space between the two tables.  I have tried \hspace but that did not
> help.

I guessed that one could put a ~ between the tables AND IT WORKED! 
More than one spreads it more ... If there are spaces between them
there is more space ...

\documentclass[a4paper,11pt]{article}
\usepackage{pst-node}
\usepackage{amsmath}
\usepackage{latexsym}
\title {Notes On Lattices}
\author{Robert~Sherry}
\begin{document}
\maketitle
\flushleft
Here are two table that define
$\sqcup$ and $\sqcap$.
\newline
\begin{tabular}{r|rrrr}
$\sqcup$ & x & y & $\bot$ & $\top$ \\
\hline
$\bot$ & $\bot$ & $\bot$ & $\bot$ & $\top$ \\
$\bot$ & $\bot$ & $\bot$ & $\bot$ & $\top$ \\
$\bot$ & $\bot$ & $\bot$ & $\bot$ & $\top$ \\
$\top$ & $\top$ & $\top$ & $\top$ & $\top$ \\
\end{tabular}
~ ~ ~ ~ ~ ~ ~
\vspace{2cm}
\begin{tabular}{r|rrrr}
$\sqcap$ & x & y & $\bot$ & $\top$ \\
\hline
$\bot$ & $\bot$ & $\bot$ & $\bot$ & $\bot$ \\
$\bot$ & $\bot$ & $\bot$ & $\bot$ & $\bot$ \\
$\bot$ & $u\bot$ & $\bot$ & $\bot$ & $\bot$ \\
$\bot$ & $\bot$ & $\bot$ & $\bot$ & $\top$ \\
\end{tabular}
\newline
\end{document}

Tom

  Dr. Thomas D. Schneider
  National Cancer Institute
  Laboratory of Experimental and Computational Biology
  Frederick, Maryland  21702-1201
  toms at ncifcrf.gov
  permanent email: toms at alum.mit.edu (use only if first address fails)
  http://www.lecb.ncifcrf.gov/~toms/


More information about the texhax mailing list