我使用 exam 类来准备考试。我更喜欢没有缩进的问题,段落之间有空格,所以我使用 parskip。但是,我发现段落之间和问题之间的空间太窄了。
如何才能增加段落之间的间距?
下面是包含我常用包的 MWE 以及用它生成的页面图像。
梅威瑟:
\documentclass[12pt]{exam}
\usepackage{parskip}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{microtype}
\usepackage{mathtools}
\usepackage{hyperref}
\hypersetup{colorlinks=true,allcolors=black}
\urlstyle{rm}
\begin{document}
\begin{center}
\Large Exam \verb|\documentclass|
\end{center}
Using \verb|\usepackage{parskip}|, with 12pt font. Exam instructions given here. Exam instructions given here. Exam instructions given here. Exam instructions given here.
Another paragraph. Exam instructions given here. Exam instructions given here. Exam instructions given here. Exam instructions given here.
\begin{questions}
\question[5] This is the first question of the exam. This is the first question of the exam. The equation is%
\begin{equation}\label{eq010}
x^{2} + y^{2} = z^{2}.
\end{equation}
This is the first question of the exam. This is the first question of the exam. This is the first question of the exam.
Another paragraph. This is the first question of the exam. This is the first question of the exam. This is the first question of the exam.
\begin{parts}
\part First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question.
\part Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question.
\end{parts}
\question[5] This is the second question of the exam. This is the second question of the exam. This is the second question of the exam. This is the second question of the exam. The equation is%
\begin{equation}\label{eq020}
x^{2} + y^{2} = z^{2}.
\end{equation}
This is the second question of the exam. This is the second question of the exam. This is the second question of the exam. This is the second question of the exam.
Another paragraph. This is the second question of the exam. This is the second question of the exam. This is the second question of the exam. This is the second question of the exam.
\begin{parts}
\part First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question. First part of the question.
\part Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question. Second part of the question.
\end{parts}
\end{questions}
\end{document}
答案1
您可以通过以下方式替换段落之间的默认间距
\setlength{\parskip}{1em}
其中1em
可以更改为所需长度。