GeneralCross column images

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
helpercenter
Posts: 4
Joined: Fri May 09, 2008 9:49 pm

Cross column images

Post by helpercenter »

Hi!

I have following problem in latex : I want to have a figure which spans over both columns of my document, like here on page 11:

http://www.systems.caltech.edu/dsp/stud ... o_stap.pdf

How should I realize that ?

Thank you very much !

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Cross column images

Post by gmedina »

That depends. Why don't you please post your document settings? I mean at least, provide your preamble.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Cross column images

Post by Stefan Kottwitz »

Hi helpercenter,

welcome to the LaTeX Community board!
Have a look here in the UK TeX FAQ: Floats in multicolumn setting

Stefan
LaTeX.org admin
helpercenter
Posts: 4
Joined: Fri May 09, 2008 9:49 pm

Re: Cross column images

Post by helpercenter »

Hey, thank you!

My preamble is :

\makeatletter
\def\input@path{{\string"/dadas\string"/}}
\makeatother
\documentclass[10pt,french]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=2.5cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.5cm}
\usepackage{float}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\setstretch{1.1}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\lyxline}[1][1pt]{%
\par\noindent%
\rule[.5ex]{\linewidth}{#1}\par}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{multicol}
\usepackage{geometry}
\usepackage{wrapfig}

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}}
\makeatother



However : I used the thing with {figure*}, but it does not work!

it's so strange, and I absolutely need it because I have to finish the document for tomorrow!
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Cross column images

Post by gmedina »

Maybe I was misunderstood when I said "your document settings". I really meant "the relevant parts of your code" (as in a minimal working example).

Just a casual note: twice in this day I've seen this very same article referenced:
http://www.cqf.info/forum/viewtopic.php ... 5aa62a775e
1,1,2,3,5,8,13,21,34,55,89,144,233,...
helpercenter
Posts: 4
Joined: Fri May 09, 2008 9:49 pm

Re: Cross column images

Post by helpercenter »

\begin{figure*}[H]
\begin{centering}
\includegraphics[scale=0.7]{\string"images Michael/fig7\string".png}
\par\end{centering}

\caption{.}

\end{figure*}

Yep, I found this file I referenced to, because I searched on the forum before and found that this document really describes what I need. The problem in fact is if I use the {figure*}, the images disappears or appears at the end of the document. I use LyX.

Thanks!
Last edited by helpercenter on Fri May 09, 2008 11:52 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Cross column images

Post by localghost »

helpercenter wrote:

Code: Select all

\begin{figure*}[H]
\begin{centering}
\includegraphics[scale=0.7]{\string"images Michael/fig7\string".png}
\par\end{centering}
\caption{Chantier de moulage.}
\end{figure*}
This is not what gmedina expects to be a minimal working example (MWE). And so do I. So, please follow the link and get familiar with creating such a MWE. Otherwise giving specific help becomes very difficult.


Best regards
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Cross column images

Post by Stefan Kottwitz »

Hi,
helpercenter wrote:\includegraphics[scale=0.7]{\string"images Michael/fig7\string".png}
perhaps the grffile package could be useful for you.

Stefan
LaTeX.org admin
helpercenter
Posts: 4
Joined: Fri May 09, 2008 9:49 pm

Re: Cross column images

Post by helpercenter »

problem solved, thanks!
Post Reply