Graphics, Figures & TablesPackages fix2col and subfigure incompatible

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

Packages fix2col and subfigure incompatible

Post by neumannturing »

Hello,
I need to use both the package fix2col and subfigure. However, it seems that these two package are incompatible which lead to the failure to display a figure cross two columns. The code is as follows. If I do not include the fix2col, everything is fine. However, I need this package(quoted by another package I need). How can I fix that problem?

Code: Select all

   \documentclass[twoside,twocolumn]{article}

\RequirePackage{ifpdf}
\RequirePackage[pdftex]{graphicx}
\RequirePackage[pdftex]{color}
\RequirePackage{subfigure}
\usepackage{fix2col} 
\title{problem LaTeX file}


\usepackage{url}
\urlstyle{tt}

% Donald Arsenau's fix for missing kerning of "//" and ":/" 
\begin{document}

\begin{figure}[ht]
\centering
\subfigure[Case I]{
  \includegraphics[scale=0.3]{grid_curve1}
}
\subfigure[Case II]{
  \includegraphics[scale=0.3]{grid_curve2}
}
\subfigure[Case III]{
  \includegraphics[scale=0.3]{grid_curve1_curve2_2}
}
\caption{Effect of thresholds}
\label{fig:thresholdEffect}
\end{figure}
\
\begin{figure*}
   \centering
   \includegraphics[scale=0.83]{bbIso}
   \caption{Figure across two columns.}
    \label{fg:timings}
\end{figure*}
\section{Conclusion and Future Work}
\label{sc:conclusion}

\end{document}

Recommended reading 2024:

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

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

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

Packages fix2col and subfigure incompatible

Post by localghost »

fix2col is superseded by [url=htp://ctan.org/pkg/fixltx2e]fixltx2e[/url]. Load packages exclusively with the \usepackage command. Get rid of the pdftex driver option. Packages like graphicx, hyperref or xcolor detect on their own which compiler engine is running.


Best regards
Thorsten
Post Reply