I want to have my sections numbered using Roman numerals. However, I can only get the section number to be a Roman numeral, not the subsection. Here is some code:
\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\thesubsection}{\Roman{subsection}}
This will print, e.g. I. , whereas it should be I.I. Commenting out the second line gives the result I.1, which is not demanded.

\thesubsectionis defined as in the answers (\renewcommand{\thesubsection}{\thesection.\Roman{subsection}}). Then\renewcommand{\thesubsubsection}{\thesubsection.\Roman{subsubsection}}will do the trick. – Heiko Oberdiek Aug 16 '13 at 06:42