我想创建一个符号和缩写列表,而不使用 nomencl 和 alike 等特殊软件包。我想要的是左对齐两列,一列用于符号,一列用于缩写。
我应该从以下内容开始吗?
\begin{flalign*}
Symbol_1 &: Meaning of Symbol_1 \\
Symbol_2 &: Meaning of Symbol_2
:
:
\end{flalign*}
如能得到任何帮助我将非常感激!
答案1
您可以使用列表。借助enumitem
包,您可以定义一个新列表abbrv
:
\documentclass{report}
\usepackage{enumitem}
\newlist{abbrv}{itemize}{1}
\setlist[abbrv,1]{label=,labelwidth=1in,align=parleft,itemsep=0.1\baselineskip,leftmargin=!}
\begin{document}
\thispagestyle{empty}
\chapter*{List of Abbreviations}
\chaptermark{List of Abbreviations}
\begin{abbrv}
\item[ADL] Activities of Daily Life
\item[AST] Alternate Step Test
\item[BMI] Body Mass Index
\item[CSFT] Cross Step moving on Four Stops
\item[DBN] Dynamic Bayesian Networks
\item[DFRAC] Demura's Fall Risk Assessment Chart
\item[EMG] Electromyography
\item[FEUP] Faculdade de Engenharia da Universidade do Porto
\item[FPRI] Fall Prediction and Risk Index
\item[FR] Fall Probability
\item[FRI] Fall Risk Index
\item[GDP] Gross Domestic Product
\item[GUGT] Get-Up-ang-Go Test
\item[LABIOMEP] Laboratório de Biomecânica do Porto
\item[MEMs] Micro-Electromechanics
\item[MTC] Minimum Toe Clearance
\item[PCA] Principal Components Analysis
\item[PPA] Physiological Profile Assessment
\item[PPP] Purchasing Power Parities
\item[SMWT] Six Meter Walking Test
\item[STRATIFY] Saint Thomas's Risk Assessment Tool in Falling Elderly Inpatients
\item[STST] Sit-To-Stand Test
\item[STST5] Sit-To-Stand Test with 5 repetitions
\item[SVM] State Vector Machine
\item[SWHSA] Smart Wearable Health Systems and Applications
\item[TUGT] Timed Up-and-Go Test
\item[USB] Universal Serial Bus
\item[USUST] Unstructured and Unsupervised Test
\item[WEFAPS] Wearable Fall Assessment \& Prediction System
\item[WHO] World Health Organization
\end{abbrv}
\end{document}
答案2
您可以使用longtable
包以及longtable
执行此操作的环境:
\documentclass{report}
\usepackage{longtable}
\begin{document}
\thispagestyle{empty}
\chapter*{List of Abbreviations}
\chaptermark{List of Abbreviations}
\renewcommand*{\arraystretch}{1.37}
\begin{longtable}{@{}l @{\hspace{5mm}} l }%p{0.85\linewidth}
ADL & Activities of Daily Life\\
AST & Alternate Step Test\\
BMI & Body Mass Index\\
CSFT & Cross Step moving on Four Stops\\
DBN & Dynamic Bayesian Networks\\
DFRAC & Demura's Fall Risk Assessment Chart\\
EMG & Electromyography\\
FEUP & Faculdade de Engenharia da Universidade do Porto\\
FPRI & Fall Prediction and Risk Index\\
FR & Fall Probability\\
FRI & Fall Risk Index\\
GDP & Gross Domestic Product\\
GUGT & Get-Up-ang-Go Test\\
LABIOMEP & Laboratório de Biomecânica do Porto\\
MEMs & Micro-Electromechanics\\
MTC & Minimum Toe Clearance\\
PCA & Principal Components Analysis\\
PPA & Physiological Profile Assessment\\
PPP & Purchasing Power Parities\\
SMWT & Six Meter Walking Test\\
STRATIFY & Saint Thomas's Risk Assessment Tool in Falling Elderly Inpatients\\
STST & Sit-To-Stand Test\\
STST5 & Sit-To-Stand Test with 5 repetitions\\
SVM & State Vector Machine\\
SWHSA & Smart Wearable Health Systems and Applications\\
TUGT & Timed Up-and-Go Test\\
USB & Universal Serial Bus\\
USUST & Unstructured and Unsupervised Test\\
WEFAPS & Wearable Fall Assessment \& Prediction System\\
WHO & World Health Organization\\
\end{longtable}
\end{document}
结果是这样的:
答案3
根据符号描述的长度,常规列表也是一个选项。以下是使用以下代码创建的列表enumitem
如果需要的话,可以中断段落中间部分:
\documentclass{article}
\usepackage{enumitem,lipsum}
\newlist{listofsymbols}{itemize}{1}
\SetLabelAlign{symbolleft}{\makebox[5em][r]{#1~:~}}
\setlist[listofsymbols]{
before = {\section*{List of Symbols}},
align = symbolleft,
itemindent = -5em,
leftmargin = !,
labelwidth = 0pt,
labelsep = 0pt}
\begin{document}
\begin{listofsymbols}
\item[Symbol1] Meaning of Symbol1
\item[Symbol2] \lipsum[1-3]
\item[Symboln] \lipsum[1]
\item[Symbolz] Meaning of Symbolz
\end{listofsymbols}
\end{document}
当然,您应该摆弄listofsymbols
里面的长度参数\setlist
以使其适合您的需要。