以下是代码:
\documentclass{exam}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{parskip}
\usepackage{dsfont}
\usepackage{graphicx}
\usepackage{adjustbox}
\usepackage{caption}
\usepackage{pdflscape}
\usepackage{booktabs}
\usepackage{cellspace}
\renewcommand{\thequestion}{\textbf{{\large A\arabic{question}}}}
\begin{document}
\title{\textbf{Assignment 2}}
\maketitle
\begin{questions}
\question
\begin{parts}
\part Quantities is what?
\part Define dudeieiifjfjf
\part Explain trump
\end{parts}
\end{questions}
\end{document}
答案1
如果你不需要输入准确的输出,这里有一种方法
\documentclass[12pt,a4paper]{exam}
\usepackage[showframe]{geometry}
\renewcommand{\questionshook}{%
\setlength{\leftmargin}{0pt}%
\setlength{\labelwidth}{-\labelsep}%
%\setlength{\labelsep}{0mm}%
\setlength{\topsep}{0\baselineskip}
}
\qformat{\textbf{\large A\thequestion}\hfill}
\newlength{\partlabelwidth}
\renewcommand{\partshook}{%
\setlength{\labelwidth}{9mm}%
\setlength{\partlabelwidth}{\labelwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{0pt}%
\setlength{\itemsep}{0.5\baselineskip}%
\def\makelabel##1{##1}%
}
\begin{document}
\begin{questions}
\question Some question
\begin{parts}
\part first part
\part second part
\end{parts}
\end{questions}
\end{document}