[texhax] Problems specifying captions (with the captions package)

Philip Ratcliffe philip.ratcliffe at email.it
Mon Mar 28 16:43:38 CEST 2005


Try this

\documentclass{amsart}
\usepackage{caption}
\DeclareCaptionFormat{centred-ds}
  {{\hfil#1}#2{\linespread{2}\selectfont#3}}
\captionsetup[table]{%
  format=centred-ds,
  justification=centering,
  labelsep=newline,
  font=small,
}
\renewcommand{\thetable}{C-\arabic{table}}
\renewcommand{\tablename}{TABLE} % Explained in most LaTeX manuals
\begin{document}
\begin{table}
  \centering
  \caption{TABLE IDENTIFYING THE NUMBER OF FAILURES THAT
  OCCURRED IN THE SIMULATION STUDY FOR EACH OF THE SITUATIONS
  (CONDITION BY SCENARIO)}
  \label{Failure.Table}
  \begin{tabular}{|c|c|c|c|}
    \hline
    Condition & Scenario 1 & Scenario 2 & Scenario 3 \\ \hline
    1 & 0 & 0 & 2 \\
    2 & 2 & 1 & 2 \\
    3 & 2 & 1 & 2 \\
    4 & 2 & 0 & 2 \\
    5 & 0 & 0 & 0 \\
    6 & 0 & 0 & 0 \\
    7 & 0 & 0 & 2 \\
    8 & 2 & 1 & 3 \\ \hline
    9 & 0 & 1 & 2 \\
    10 & 2 & 1 & 0 \\
    11 & 0 & 1 & 3 \\
    12 & 1 & 2 & 4\\
    13 & 1 & 0 & 3 \\
    14 & 0 & 0 & 2 \\
    15 & 8 & 4 & 6 \\
    16 & 1 & 4 & 7 \\ \hline
    17 & 0 & 0 & 0 \\
    18 & 0 & 0 & 0 \\
    19 & 0 & 1 & 6 \\
    20 & 1 & 1 & 0 \\
    21 & 0 & 0 & 3 \\
    22 & 0 & 0 & 1 \\
    23 & 1 & 4 & 16 \\
    24 & 2 & 3 & 12 \\ \hline
  \end{tabular}
\end{table}
\end{document}

Cordialmente,  Philip G. Ratcliffe
_________________________________________

Professor of Nuclear & Subnuclear Physics
Dipartimento di Fisica e Matematica
Universita degli Studi dell'Insubria
via Valleggio 11
22100 Como (CO)
Italy

Tel. +39 (031) 238.6231
Fax  +39 (031) 238.6119
Cell +39 (340) 2346580
Web  http://www.unico.it/~pgr

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Manuali.net ti REGALA decine di corsi, da Dreamweaver a Photoshop, da WindowsXP ad Office. 
* Non devi far altro che cliccare e... scaricare!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2735&d=28-3



More information about the texhax mailing list