각 글머리 기호 다음에 빈 행이 생기고 각 줄 사이에 빈 행이 생기지 않도록 하거나 최소한 해당 공간 행의 높이를 더 작게 만드는 방법을 찾고 있습니다. 내가하는 일은 다음과 같습니다.
\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
목록 사이에 약간의 분리(공간)를 제공하지만 동일한 목록의 항목 사이에는 공간을 제공하지 않습니다.
여백/들여쓰기와 같은 다른 많은 조정도 가능하지만 이는 문제의 범위를 벗어납니다.