I'm using MikTex and I'm attempting to create a government statute-type document that has nested levels such as:
I. Section
A. Subsection
1. Subsubsection
etc.
Additionally, I would like "enumerate" to start where the section, subsection, etc. leaves off, such that \begin{enumerate} starts with A. or B. underneath a section, or 1. or 2. underneath a subsection, etc., such that rather than having the section title, it prints normal text as needed.
I have been attempting to use the following code to change the section numbering (based on other answers on stackexchange), but I continue to get an error reading "Undefined control sequence. \subsection{name of subsection}".
\renewcommand\thesection{\Roman{Section}}
\renewcommand\thesubsection{\Alpha{Subsection}}
\renewcommand\thesubsubsection{\arabic{Subsubsection}}
I know I could manually reset the numbering using something like the following:
\begin{enumerate}
\setcounter{enumi}{3}
\item Continue numbering
\end{enumerate}
However, I'm hoping to automate the process. I hope this makes sense as to what I'm attempting to accomplish. Please let me know if I can clarify further.
Here's a minimum working example.
\documentclass[a4paper,12pt]{article}
\usepackage{color}
\usepackage{graphicx}
\usepackage{float}
\usepackage{lipsum}
\usepackage{natbib}
\usepackage{setspace, graphicx, fullpage, fancyhdr, amssymb, amsmath, epsfig, array, multirow, hyperref, tabularx, lscape, booktabs, sidecap, subfig, longtable, enumitem, libertine, todonotes}
\usepackage{caption}
\usepackage[hang]{footmisc}
\usepackage{multicol}
\renewcommand\thesection{\Roman{Section}}
\renewcommand\thesubsection{\Alpha{Subsection}}
\renewcommand\thesubsubsection{\arabic{Subsubsection}}
\begin{document}
\pagenumbering{arabic}
\title{\huge The Constitution}
\author{\large The Author}
\date{\today}
\maketitle
\tableofcontents
\newpage
\section{Preamble}
\subsection{Name}
We shall be called The Government.
\subsection{Purpose}
\begin{enumerate}
\item To represent the people.
\item To preserve democracy.
\end{enumerate}
\subsection{Senate}
Who are the members?
\subsubsection{Voting Members}
These people can vote.
\end{document}
TL;DR I need \renewcommand\thesection{\Roman{Section}} to work, and I need the enumerate function to continue the numbering of the section wherever it leaves off to print normal text rather than titles.
EDIT: A visual example from a legislative drafting website (but with a different numbering order/layout):
(a) (Subsection could be a label/heading, but also could be just the enumerate at the same level as plain text)
(1) (Subsubsection, could be a label/heading, but also could be just the enumerate at the same level as plain text)
(A) (Paragraph, should be text)
(i) (Clause, should be text)
(I) (Subclause, should be text)



\Roman{section},\Alph{subsection}and\arabic{subsubsection}. Should the "to represent the people" enumerate label beB.1orI.B.1? – Troy Dec 25 '18 at 19:01I. Section A. Subsection 1. Subsubsection 2. Another subsubsection B. Another section 1. Same numbering as subsubsection but normal text rather than a heading.
– ryuhekai Dec 25 '18 at 20:07\renewcommand\thesection{\Roman{section}}and similarly for the other two. also, it's\Alphnot\Alphaetc. Was this what you did? if it is, could you paste the error message in full? – Troy Dec 25 '18 at 20:20My edit shows a somewhat clearer example if that helps?
– ryuhekai Dec 25 '18 at 20:25setcounteror whatever) -- could you then take a screenshot and show us a picture of what you actually want? For example, in your current example code, what should be changed? what number should have been "continued"? – Troy Dec 25 '18 at 20:33I) or Alph (A)? your example code and image don't match up – Troy Dec 25 '18 at 23:03enumicounter so you could take that commands Output and put it into the "Manual numbering example" as an Input and then encapsulate all that into a new command (I wouldn't recommend overwriting the original enumerate). – der bender Dec 25 '18 at 20:08