Text FormattingMerge two Columns only for a Table or Figure

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Merge two Columns only for a Table or Figure

Post by 21did21 »

hello world :D

i write a document with this form:

Code: Select all

\documentclass[a4paper,10pt,twocolumn]{article}
it's works nice but in the middle of the article i want to merge columns to center my figure and continue on two columns and make a table again on one columns and continue writing on two columns.

How i can perform this please?
Last edited by 21did21 on Tue Feb 21, 2012 12:23 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Merge two Columns only for a Table or Figure

Post by localghost »

Take a look at the cuted package.


Thorsten
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: Merge two Columns only for a Table or Figure

Post by 21did21 »

thanks for your help :D

but i am not sure that i have understood this :( (i am beginner with latex)

1°) i have to install : "stfloats.sty" ?

2°) and i put my picture between this balise : \begin{strip}<. . . >\end{strip} ?

can you show me an example please ?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Merge two Columns only for a Table or Figure

Post by localghost »

21did21 wrote:[…] can you show me an example please ?
Actually this is homework for you. I can't know what you are after. And furthermore at the moment I don't have the time to work out a complete solution. I suggest to do a Forum Search for the cuted package to obtain possible solutions.

Package installation is usually done by the package manager of your TeX distribution. And I don't know why you should have to install the stfloats package in this context.
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Merge two Columns only for a Table or Figure

Post by 21did21 »

hello !

i have found this :

Code: Select all

\begin{strip} %with cutted package
\centering\noindent
\rule{0.75\linewidth}{0.5\linewidth}
\includegraphics[scale=0.2]{myfigure.ps}
%\captionof{figure}{\blindtext}
\end{strip}
it almost works : i have a square centered on the page but it's whole black :(
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Merge two Columns only for a Table or Figure

Post by localghost »

21did21 wrote:[…] it almost works : i have a square centered on the page but it's whole black […]
What do you think does the \rule command probably?
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: Merge two Columns only for a Table or Figure

Post by 21did21 »

now it works why cuted package, thanks

=> i use "strip" environmnent and figure* environment (i don't know why * but it works)
Post Reply