Graphics, Figures & Tables ⇒ Single-column Table in a multi-column Environment
-
patiobarbecue
- Posts: 13
- Joined: Tue Oct 27, 2009 3:28 pm
Single-column Table in a multi-column Environment
Since I need to mix one column and two column within one page, it seems I have to use multicol package. But this table thing really hurts! Any solution?
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
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Single-column Table in a multi-column Environment
Code: Select all
\documentclass{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{multicol}
\usepackage[font=small,labelfont=bf]{caption}
\newenvironment{Table}
{\par\bigskip\noindent\minipage{\columnwidth}\centering}
{\endminipage\par\bigskip}
\begin{document}
\begin{multicols}{2}
\blindtext[2]
\begin{Table}
\begin{tabular}{cc}
This & is \\
a & test
\end{tabular}
\captionof{table}{A test table}
\end{Table}
\blindtext
\end{multicols}
\end{document}-
patiobarbecue
- Posts: 13
- Joined: Tue Oct 27, 2009 3:28 pm