如何获取各部分主枚举内的枚举?

如何获取各部分主枚举内的枚举?

我正在写论文提案,我想展示我的最终报告的结构。我的意思是我当前报告中另一份报告的结构。像这样:

\documentclass[10pt, a4paper]{article}

\begin{document}

\tableofcontents
\newpage
\section{TITLE}
\section{TITLE}
\subsection{Subtitle}
\subsection{Subtitle}
\section{TITLE}
\subsection{Subtitle}
\subsection{Subtitle}
\subsubsection{Title}
%Here the numbered structure of my final report, something like this, like table of contents of another report, not this, without page numbers, only text:
1. Title\\
2. Title\\
2.1 Subtitle\\
2.1.1 Title\\
3. Title
% Whole structure in this subsubsection.
\subsubsection{Title}
\subsection{Subtitle}
\section{TITLE}
\subsection{Subtitle}
\subsubsection{Title}

\end{document}

答案1

原则上,您只需使用enumerate对标签进行一些调整的环境即可。但是,为了方便工作,我建议您easylist包;在下面的例子中,我选择了articletoc列表的样式以模拟真实的 ToC,但您可以选择另一种样式(有关更多详细信息,请参阅包文档):

\documentclass{article}
\usepackage[ampersand]{easylist}

\begin{document}

\section{Test Section One}
\subsection{Test Subsection One One}
\subsubsection{Test Subsection One One One}
\subsection{Proposed structure for the final report}
\begin{easylist}[articletoc]
\noindent& Introduction
& First Interesting Section
&& A not so Interesting Subsection
&& Another not so Interesting Subsection
& Another Interesting Section
&& A Really Interesting Subsection
&& Another Really Interesting Subsection
& Conclusions
\end{easylist}
\section{Test Section Two}

\end{document}

在此处输入图片描述

相关内容