Graphics, Figures & TablesOption Clash of 'graphicx' with landscaped 'supertabular'

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
hennas
Posts: 1
Joined: Thu May 26, 2011 1:09 pm

Option Clash of 'graphicx' with landscaped 'supertabular'

Post by hennas »

Hi all,
I am trying to put in a multi-page sideways table, using Texnic Center and Miktex. I have read various posts on how this can be accomplished using longtable and supertabular. I am only able to download the supertabular package through Miktex, so this is what I am attempting to use. To make it a landscape table I have been using the \begin{landscape} command before the \begin{supertabular} command, as the sidewaystable package does not seem to work with a table over multiple pages.

I have an error message which reads:
"!Latex Error: Option clash for package graphicx."
which has appeared since I added the \usepackage{isorot} so that I could use the landscape command. I could not find any lscape pakage on the ctan repository through Miktex to use as an alternative.

If anyone has any ideas about this, I would be very grateful. I do not even know if this error matters as the pdf still compiles - but I have a sneaking suspicion that if I ignore it it may cause problems elseware in my document. The document code is as follows, where the table is in the input 'A-engruns':

Code: Select all

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% HEADER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,10pt]{report}

%% Language %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[USenglish]{babel} %francais, polish, spanish, ...
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}

\usepackage{lmodern} %Type1-font for non-english texts and characters
\usepackage{supertabular}
\usepackage{isorot}

%% Packages for Graphics & Figures %%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{combinedgraphics}
\usepackage[dvips]{graphicx,color} %%For loading graphic files
\usepackage{subfigure} %%Subfigures inside a figure


%% Math Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}

%% Line Spacing %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{setspace}
\doublespacing        %% 2-spacing

\sloppy
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=20mm,bmargin=20mm,lmargin=40mm,rmargin=20mm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\pagestyle{empty} 
%% The simple version:
\title{A Novel Cryogenic Energy System for Zero Emission Vehicles}
\author{Henry Clarke}
%\date{} %%If commented, the current date is used.
\maketitle
\pagenumbering{roman}

\tableofcontents %Table of contents
%% The List of Figures
\clearpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures

%% The List of Tables
\clearpage
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables

\pagenumbering{arabic}
\pagestyle{plain} %Now display headings: headings / fancy / ...

\input{Introduction}
\singlespacing
\input{A-engruns}
\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
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Option Clash of 'graphicx' with landscaped 'supertabular'

Post by Stefan Kottwitz »

Hi,

I recommend to remove the dvips option, those packages are capable of autotetecting the needed driver. So, instead of

Code: Select all

\usepackage[dvips]{graphicx,color}
I recommend writing

Code: Select all

\usepackage{graphicx}
\usepackage{xcolor}
Furter I recommend using subfig instead of the subfigure package, which is obsolete.

Stefan
LaTeX.org admin
Post Reply