Re: change caption of table

"Sridhar M.A." <[email protected]>
Newsgroups gmane.comp.tex.tetex.general
Message-ID <[email protected]>
On Thu, 17 Feb 2005 23:34:32 +0100, Martin Schröder <[email protected]> wrote:
> On 2005-02-17 17:33:13 -0000, Christian Setzkorn wrote:
> > Is it possible to change the caption of a table so that I obtain
> >
> > "TABLE 1 - bla bla"
> >
> > rather than
> >
> > "Table 1: bla bla"
> >
> > (TABLE has to be in capitals and the colon changed to a hyphen)
> 
> No. This is absolutely hard coded. You'll have to use Word
> instead.
> 
I do not think so. The OP can try this:


\documentclass{article}
%
\renewcommand{\tablename}{MY\_TABLE\_CAPTION}
\makeatletter
\def\fnum@table{\tablename - \thetable}
\makeatother

\begin{document}

  \begin{table}
    Some data.

    \caption{Test}
  \end{table}

\end{document}

HTH,

Regards,

-- 
Sridhar M.A.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.