我有一份文档的几个部分,其结构如下:
\documentclass[letterpaper,12pt]{memoir}
\usepackage{preamble}
\begin{document}
\begin{flushleft}
\textbf{XYZ COMPANY,} Somewhere, USA\\
\textbf{Some Position}
\end{flushleft}
\begin{raggedleft}\hfill \hfill Jan 2017 - May 2017\\
\end{raggedleft}
\begin{itemize}
\tightlist
\item
Item 1
\item
Item 2
\item
Item 3
\end{itemize}
\begin{flushleft}
\textbf{XYZ COMPANY,} Somewhere, USA\\
\textbf{Some Position}
\end{flushleft}
\begin{raggedleft}\hfill \hfill Jan 2017 - May 2017\\
\end{raggedleft}
\begin{itemize}
\tightlist
\item
Item 1
\item
Item 2
\item
Item 3
\end{itemize}
\end{document}
我想将总长度保持在 1 页,单倍行距,但每个区块之间留有相当大的间隙。这是 Memoir 的功能吗?如果是,应该如何改写此行为?
答案1
您可以使用article
并借助enumitem
保持列表紧凑:
\documentclass{article}
\usepackage{enumitem}
\newcommand{\companydetails}[1]{%
\par\addvspace{\bigskipamount}
\noindent
\begin{tabular}[t]{ @{} l @{} }
\strut #1
\end{tabular}}
\newcommand{\companyduration}[1]{%
\hfill
\strut #1
}
\begin{document}
\companydetails{%
\textbf{XYZ COMPANY}, Somewhere, USA \\
\textbf{Some Position}
}%
\companyduration{Jan 2017 -- May 2017}
\begin{itemize}[nosep]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
\companydetails{%
\textbf{XYZ COMPANY}, Somewhere, USA \\
\textbf{Some Position}
}%
\companyduration{Jan 2017 -- May 2017}
\begin{itemize}[nosep]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
\end{document}
答案2
我对回忆录了解不多。但你可以尝试使用 multicol 包。
\documentclass[letterpaper,12pt]{memoir}
\usepackage{multicol}
\begin{document}
\begin{flushleft}
\textbf{XYZ COMPANY,} Somewhere, USA\\
\textbf{Some Position}
\end{flushleft}
\begin{multicols}{2}
\begin{itemize}
\tightlist
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
\columnbreak
\begin{raggedleft}\hfill \hfill Jan 2017 - May 2017\\
\end{raggedleft}
\end{multicols}
\end{document}