各箇条書きの後に空の行が表示されてしまうので、各行の間に空の行が表示されないようにする方法、または少なくともそのスペース行の高さを小さくする方法を探しています。私が行っていることは次のとおりです。
\documentclass [11pt] {article}
\usepackage{epsfig}
\usepackage{url}
\usepackage{epstopdf}
\input std-defs
\input EECE2323-header
\begin{document}
\noindent
\lab{3}{LAB3 }
%------------------------------------------------------------------------------
\section{Objective}
\begin{description}
\item[$\cdot$ At the end of this lab you will:]
\item[\qquad $\bullet$ Add Shift operations and Branch operations to your ALU]
\item[\qquad $\bullet$ Create a memory of 4 word deep, 9 bit wide to hold data]
\item[\qquad $\bullet$ Learn about sequential logic]
\item[\qquad $\bullet$ Assemble the complete Datapath ]
\item[\qquad $\bullet$ Familiarize yourself with Xilinx device xc7z020clg484-1]
\end{description}
以下は私が受け取った PDF の一部です:
ありがとう!
答え1
リスト内の各項目の書式設定を手動で追加しないでください。リストの書式設定が自動的に行われます。
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\section{Objective}
\begin{itemize}[label=$\cdot$,nosep]
\item At the end of this lab you will:
\begin{itemize}[label=\textbullet,nosep]
\item Add Shift operations and Branch operations to your ALU
\item Create a memory of 4 word deep, 9 bit wide to hold data
\item Learn about sequential logic
\item Assemble the complete Datapath
\item Familiarize yourself with Xilinx device xc7z020clg484-1
\end{itemize}
\end{itemize}
\end{document}
上記で使用したenumitem
特定のレベルで各項目のを設定しますlabel
。レベル 1 のラベルは に設定され$\cdot$
、レベル 2 のラベルは に設定されています\textbullet
。これはグローバルに調整/設定できますが、例ではローカルのままにしています。
リスト オプションを使用すると、各項目間のギャップが最大限に抑制されます (または少なくとも圧縮されます) nosep
。noitemsep
リスト間には一定の間隔 (スペース) が確保されますが、同じリスト内の項目間には間隔が確保されません。
他にも多くの調整が可能です (余白/インデントなど) が、それは質問の範囲を超えています。