答案1
轻松完成enumitem
:
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\sffamily
\noindent Here is a list of questions:
\begin{enumerate}[left= 0pt, label=\arabic*., leftmargin=*]
\item \begin{enumerate}[left=0pt, label=(\alph*), leftmargin=*]
\item Here is a question.
\item Another question that is part of Q1.
\item And anotherquestion.
\end{enumerate}
\item \begin{enumerate}[left= 0pt, label=(\alph*), leftmargin=*, nosep]
\item And it continues, but with Q2.
\item Last question.
\end{enumerate}
\end{enumerate}
\end{document}
答案2
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}
\item \begin{enumerate}[label=(\alph*)]
\item sub-question a
\item sub-question b
\item sub-question c
\end{enumerate}
\item \begin{enumerate}[label=(\alph*)]
\item sub-question a
\item sub-question b
\end{enumerate}
\end{enumerate}
\end{document}