Graphics, Figures & Tableserrors with ctable

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sam.illingworth
Posts: 2
Joined: Mon May 25, 2009 4:29 pm

errors with ctable

Post by sam.illingworth »

Hi,

I am writing my PhD thesis, and am trying to use the ctable package to construct a table. However I keep getting the following error message:

Code: Select all

! Package caption Error: For a successful cooperation we need at least version '2002/01/23 v 2.1' of package subfigure , but only version '1995/03/06 v2.0 subfigure package' is available.
I have updated the subfigure package on MikTex, and am starting to pull mt hair out! Please could someone help?

Here is my preamble:

Code: Select all

\documentclass[titlepage,12pt]{report}
\usepackage[dvips]{graphicx}
\usepackage{subeqnar}
\usepackage{xthesis} %DAL Thesis Style
\usepackage{xtocinc} %Include Table of Contents as the first en
\usepackage[psamsfonts]{amssymb}
\usepackage{multicol}
\usepackage{lscape}
\usepackage[square]{natbib}
\usepackage{subfigure}
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{newlfont}
\usepackage{multirow}
\usepackage[version=3]{mhchem}
\usepackage[vmargin={3.0cm,2.5cm},hmargin={3.8cm,2.5cm},nohead]{geometry}
\usepackage{array}
\usepackage{xspace}
\usepackage{xkeyval}
\usepackage{amstext}
\usepackage{siunitx}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{ctable}
And here is my ctable:

Code: Select all

\ctable[
cap = The scientific instruments onboard the MetOp-A satellite.
caption = The eleven scientific instruments onboard the MetOp-A satellite, including the IASI. Further details on the other eight instruments can be found on the ENVISAT website: \url{http://www.eumetsat.int}.
label = tab:MetOp,
]{cc}{  \tnote[a]{Also flown on the NOAA satellites}
        \tnote[b]{The eight instruments for observing the planet}
        \tnote[c]{Communications and support services}
        {                                                                                            \FL
          & Instrument                                                                     &   Application
                                                                                                     \ML
          & GRAS (Global Navigation Satellite System Receiver for Atmospheric Sounding)[b] & A Global Positioning Satellite (GPS) that provide stratospheric and tropospheric temperature and humidity profiles.      \\
          & IASI (Infrared Atmospheric Sounding Interferometer)[b]                         & An interferometer used to provide atmospheric emission spectra to derive temperature and humidity profiles with high vertical resolution and accuracy.                                                                \\
          & HIRS (High resolution Infrared Radiation Sounder-4)[a][b]                      & a 20-channel infrared scanning radiometer that perform operational atmospheric sounding to provide calibrated vertical profiles of temperature and humidity, and information on clouds.                      \\
          & AVHRR (Advanced Very High Resolution Radiometer-3)[a][b]                       & A multipurpose imaging instrument used for global monitoring of cloud cover, sea surface temperature, ice, snow and vegetation cover characteristics.                                                        \\
          & MHS (Microwave Humidity Sounder )[a][b]                                        & Designed to collect information on various aspects of the Earth's atmosphere and surface, in particular, atmospheric humidity at various altitudes, including atmospheric ice, cloud cover and precipitation.      \\
          & AMSU-A (Advanced Microwave Sounding Unit A1 and A2 )[a][b]                     & A multi-channel microwave radiometer that will be used for measuring global atmospheric temperature profiles and provides information on atmospheric water in all of its forms.       \\
          & A-DCS (Advanced Data Collection System-2)[a][c]                                & A data collection relay system.      \NN
          & S \& R (Search and Rescue Satellite)[a][c]                                     & The Search and Rescue Satellite Programme collects accurate and timely distress alert data and location information and distributes this to search and rescue authorities.      \\
          & ASCAT (Advanced Scatterometer)[b]                                              & The prime objective of ASCAT is to measure wind speed and direction over the oceans.      \\
          & SEM (Space Environment Monitor)[a][c]                                          & A multi-channel, charged-particle spectrometer that provides measurements to determine the intensity of the Earth's radiation belts and the flux of charged particles at the satellite altitude.      \\
          & GOME-2 (Global Ozone Monitoring Experiment-2)[b]                               & GOME-2 will map concentrations of atmospheric ozone as well as nitrogen dioxide, sulphur dioxide, other trace gases and ultraviolet radiation      \\
}
Thanks in advance,

Sam

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

errors with ctable

Post by sommerfee »

Hi Sam,
sam.illingworth wrote: ! Package caption Error: For a successful cooperation we need at least version '2002/01/23 v 2.1' of package subfigure , but only version '1995/03/06 v2.0 subfigure package' is available.
This means it's definitely v2.0 (from 1995) of the subfigure package which was loaded.

Maybe there is an old subfigure.sty within your documents folder? Or within a private TeX folder? Both would prevent TeX from taken the actual one from MikTeX.

If you take a look at your documents log file you'll see where TeX has loaded subfigure.sty from. You should find something like this there:

Code: Select all

...
(C:\Programme\MiKTeX\tex\latex\subfigure\subfigure.sty
Package: subfigure 2002/07/30 v2.1.4 subfigure package
...
HTH,
Axel
sam.illingworth
Posts: 2
Joined: Mon May 25, 2009 4:29 pm

Re: errors with ctable

Post by sam.illingworth »

Axel,

What a wonderful person you are, I did indeed have an old subfigure.sty file in my directory, and all is now well with the world again. Thank you so much for your help.

Sam
adririquelme
Posts: 1
Joined: Mon Apr 11, 2016 5:39 pm

Re: errors with ctable

Post by adririquelme »

Thank you very much!
sreemoyee07
Posts: 3
Joined: Tue May 02, 2017 6:21 am

errors with ctable

Post by sreemoyee07 »

Extremely sorry, but I cannot understand how to solve this issure. I have installed every possible packages. But the problem is still there. Please help.
Post Reply