排版密集的名单以供参考

排版密集的名单以供参考

我正在尝试使名单在演职员表部分看起来比较得体。

我的方法是在一行中放入尽可能多的名字,不允许名字中断,并且每个名字之间用项目符号分隔(例如,参见帖子末尾)。

我不喜欢这个解决方案的一点是行末出现的项目符号。最末尾的项目符号很容易解决,但我不知道如何处理其他项目符号。有没有一种好的方法可以抑制这些项目符号,同时保留中间的项目符号?

另外,有没有办法可以保证单个项目符号周围的间距相等(因此它位于两个名称之间)?我可以对间距进行硬编码,但这样一来,我就限制了引擎很好地将东西分开。

或者我对这整件事的处理是否错误,是否有更好的排版方法。

平均能量损失

\documentclass[10pt]{article}

\newcommand{\credit}[1]{\mbox{#1} $\bullet$}

\begin{document}

% Bunch of fake names
\begin{center}
\credit{Torri Askew}
\credit{Chelsea Coffey}
\credit{Charissa Lapeyrouse}
\credit{Griselda P. Macbeth}
\credit{Ria Segawa}
\credit{Katelin Leitzel}
\credit{L. J. Debow}
\credit{Valda Swofford}
\credit{Katherin D. Demayo}
\credit{Yael Kivi}
\credit{Filomena Tallmadge}
\credit{Max Mattia}
\credit{Jean-Kary Tiner}
\credit{Efren Caley}
\credit{Doria Ripley}
\credit{Edith I. Mccauley}
\credit{Carlyn Cundiff}
\credit{Gianna Gadison}
\credit{Magali Mosteller}
\credit{Charmain Mehan}
\credit{Arlena Merrigan}
\credit{Jordan Eich}
\credit{Bella Paton}
\credit{Roxane Wyse}
\credit{Maragaret Oakland}
\credit{Shakia Micek}
\credit{Erlene Chilcott}
\credit{Jolyn Castille}
\credit{Dirk Glavin}
\credit{Adah Aikins}
\credit{Jamila Brannum}
\credit{Jeramy Faulkenberry}
\credit{Roselyn Hilaire}
\credit{Lucila Marek}
\credit{Kristal Berkley}
\credit{Joey Fetterolf}
\credit{Alexandria Lagace}
\credit{Sharice Mckelvy}
\credit{Elise Scipio}
\credit{Kraig Demasi}
\credit{Brock Oh}
\credit{Refugia Brunke}
\credit{Eun Hulen}
\credit{Fatimah Groesbeck}
\credit{Noella Corley}
\credit{Florance Anthony}
\credit{Monroe Okelley}
\credit{Pearly Franko}
\credit{Venetta Steck}
\credit{Lieselotte Detty}
\end{center}

\end{document}

输出

居中名称

答案1

我认为我只会使用简单的逗号,如第二个例子所示,或者也许是第四个例子,\cdot但有一些可能性:

在此处输入图片描述

\documentclass[10pt]{article}



\begin{document}
\vspace*{-4cm}

% Bunch of fake names
\def\zzz{\begin{center}
\credit{Torri Askew}
\credit{Chelsea Coffey}
\credit{Charissa Lapeyrouse}
\credit{Griselda P. Macbeth}
\credit{Ria Segawa}
\credit{Katelin Leitzel}
\credit{L. J. Debow}
\credit{Valda Swofford}
\credit{Katherin D. Demayo}
\credit{Yael Kivi}
\credit{Filomena Tallmadge}
\credit{Max Mattia}
\credit{Jean-Kary Tiner}
\credit{Efren Caley}
\credit{Doria Ripley}
\credit{Edith I. Mccauley}
\credit{Carlyn Cundiff}
\credit{Gianna Gadison}
\credit{Magali Mosteller}
\credit{Charmain Mehan}
\credit{Arlena Merrigan}
\credit{Jordan Eich}
\credit{Bella Paton}
\credit{Roxane Wyse}
\credit{Maragaret Oakland}
\credit{Shakia Micek}
\credit{Erlene Chilcott}
\credit{Jolyn Castille}
\credit{Dirk Glavin}
\credit{Adah Aikins}
\credit{Jamila Brannum}
\credit{Jeramy Faulkenberry}
\credit{Roselyn Hilaire}
\credit{Lucila Marek}
\credit{Kristal Berkley}
\credit{Joey Fetterolf}
\credit{Alexandria Lagace}
\credit{Sharice Mckelvy}
\credit{Elise Scipio}
\credit{Kraig Demasi}
\credit{Brock Oh}
\credit{Refugia Brunke}
\credit{Eun Hulen}
\credit{Fatimah Groesbeck}
\credit{Noella Corley}
\credit{Florance Anthony}
\credit{Monroe Okelley}
\credit{Pearly Franko}
\credit{Venetta Steck}
\credit{Lieselotte Detty}
\end{center}}


\newcommand{\credit}[1]{\ifhmode\unskip\nobreak\space\textbullet\space\fi\mbox{#1}}
\zzz

\renewcommand{\credit}[1]{\ifhmode\unskip, \space\fi\mbox{#1}}
\zzz


\newbox\zzzbox
\sbox\zzzbox{\textbullet}
\renewcommand{\credit}[1]{\ifhmode\unskip\space\cleaders\copy\zzzbox\hskip\wd\zzzbox\relax\space\fi\mbox{#1}}
\zzz


\newbox\zzzbox
\sbox\zzzbox{$\cdot$}
\renewcommand{\credit}[1]{\ifhmode\unskip\space\cleaders\copy\zzzbox\hskip\wd\zzzbox\relax\space\fi\mbox{#1}}
\zzz


\end{document}

相关内容