我有一个页面,其中有三个大“部分”,两个项目(枚举),以及页面底部的注释。有没有办法让它们均匀分布在页面上,而不必使用所有换行符?我似乎找不到有关该主题的任何内容。 \desymbol 是一个预定义宏。源文件如下:
\documentclass{article}
\usepackage{amsmath}
\newcommand\desymbol{? }
\begin{document}
\section*{Phase 3}
\begin{enumerate}
\item[1.]
Find the limit and prove using the \desymbol proof.
\begin{equation*}
\lim_{x\to a}(\text{sin}(x)) =
\end{equation*}
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\item[2.]
Find the limit and prove using the \desymbol proof.
\begin{equation*}
\lim_{x\to a}(\text{ln}(x)) =
\end{equation*}
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\\
\end{enumerate}
\hrule\hspace{1mm}\\
\small{This lesson was adapted from a handout by Irena Swanson's MATH111 class at Reed College. The problems are partly my own creation, from her handout, and from D. A. Kouba at University of California, Davis.}
\end{document}
答案1
我建议您使用\vspace{\fill}
电池代替\\
指令。
请注意,这\small
不是一个接受参数的宏。如果要限制此指令的范围,请写入{\small ...}
,不是 \small{...}
。
我也会放置\end{enumerate}
指令前,而不是在第二\vspace{\fill}
条指令之后。
\documentclass{article}
\usepackage{amsmath} % for 'equation*' environment
\newcommand\desymbol{xxx} %??
\begin{document}
\section*{Phase 3}
\begin{enumerate}
\item
Find the limit and prove using the \desymbol\ proof.
\begin{equation*}
\lim_{x\to a}(\text{sin}(x)) =
\end{equation*}
\vspace{\fill}
\item[2.]
Find the limit and prove using the \desymbol\ proof.
\begin{equation*}
\lim_{x\to a}(\text{ln}(x)) =
\end{equation*}
\end{enumerate}
\vspace{\fill}
\hrule
\smallskip\noindent%
{\small This lesson was adapted from a handout by Irena Swanson's MATH111 class at Reed College. The problems are partly my own creation, from her handout, and from D. A. Kouba at University of California, Davis.\par}
\end{document}
答案2
像这样吗?
请注意,enumerate
它会自动对项目进行编号。您无需指定它们,而且最好不要指定它们,以防您稍后想要更改顺序或在中间添加项目。
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
\section*{Phase 3}
\begin{enumerate}
\item
Find the limit and prove using the \maltese{} proof.
\begin{equation*}
\lim_{x\to a}(\text{sin}(x)) =
\end{equation*}
\vfill
\item
Find the limit and prove using the \maltese{} proof.
\begin{equation*}
\lim_{x\to a}(\text{ln}(x)) =
\end{equation*}
\vfill
\end{enumerate}
\hrule\hspace{1mm}
\noindent\small{This lesson was adapted from a handout by Irena Swanson's MATH111 class at Reed College. The problems are partly my own creation, from her handout, and from D. A. Kouba at University of California, Davis.}
\end{document}
然而,这可能不是排版致谢的最佳方式。
如果致谢仅适用于本节,我建议添加脚注:
\section*{Phase 3\footnote{...}}
如果确认适用于整个文档,我建议使用\thanks
。
\documentclass{article}
\usepackage{amsmath,amssymb}
\title{Phase 3\thanks{%
This lesson was adapted from a handout by Irena Swanson's MATH111 class at Reed College.
The problems are partly my own creation, from her handout, and from D. A. Kouba at University of California, Davis.}%
}
\date{}
\begin{document}
\maketitle
\begin{enumerate}
\item
Find the limit and prove using the \maltese{} proof.
\begin{equation*}
\lim_{x\to a}(\text{sin}(x)) =
\end{equation*}
\vfill
\item
Find the limit and prove using the \maltese{} proof.
\begin{equation*}
\lim_{x\to a}(\text{ln}(x)) =
\end{equation*}
\vfill
\end{enumerate}
\end{document}
答案3
你不应该\\
在段落的开头、结尾或段落之间使用,原始版本中的每个句子都会生成
Underfull \hbox (badness 10000) in paragraph at lines 33--50
10000 是最大限度TeX 所分配的糟糕程度,因此这种用法(以及由此产生的输出)(根据 TeX 的内置检查)是最糟糕的......
间距也\text{sin}
有错误,并且根据数学之外的上下文,可能会使用错误的字体,使用\sin
您还应避免\item[1.]
让乳胶数字事物几乎总是更好。
\small
不接受参数,所以它\small ...
不应该是\small{...}
(或者只是使用\footnote
它将添加规则,更改字体,并自动将文本置于底部)
我会将标记简化为
\documentclass{article}
\usepackage{amsmath}
\usepackage{enumitem}
\newcommand\desymbol{? }
\begin{document}
\section*{Phase 3\footnote{%
This lesson was adapted from a handout by Irena Swanson's MATH111 class at Reed College. The problems are partly my own creation, from her handout, and from D. A. Kouba at University of California, Davis.}}
\begin{enumerate}[label={[\arabic*.]},
topsep=\textheight minus\textheight,
itemsep=\textheight minus\textheight
]
\item
Find the limit and prove using the \desymbol proof.
\begin{equation*}
\lim_{x\to a}(\sin(x)) =
\end{equation*}
\item
Find the limit and prove using the \desymbol proof.
\begin{equation*}
\lim_{x\to a}(\ln(x)) =
\end{equation*}
\end{enumerate}
\end{document}