I wanted to make the counter for a theorem displayed as capital roman numerals (I, II, III), but none of these attempts worked
\newtheorem{test}[\Roman{counter}]{Theorem}
\newtheorem{test}[Roman]{Theorem}
Is there a way to do this?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communitySimply use:
\newtheorem{test}{Theorem}
\renewcommand\thetest{\Roman{test}}
Defining a new theorem environment test
defines a new counter test
. The optional argument, such as you used, says the ‘test’ environment shares the counter of another theorem-like environment.
\documentclass{...}
and ending with\end{document}
.