[Tex/LaTex] How to change the numbering system of table captions

captionsformattingnumberingtables

Normally when a table is captioned, it comes out as "Table 1: Blah blah…", but I want to change it to "TABLE I. Blah blah…" How do I do that? So far, I've figured out how to change the title and period, but not the number to a roman numeral:

\usepackage[labelsep=period]{caption}
\captionsetup[table]{name=TABLE}

Best Answer

\documentclass{article}
\usepackage[labelsep=period]{caption}
\captionsetup[table]{name=TABLE}
\renewcommand{\thetable}{\Roman{table}}
\begin{document}
  \begin{table}
    A table
    \caption{My table}
  \end{table}
\end{document}

enter image description here