有两列表格定义如下:
\begin{supertabular}{rl} % Start a table with two columns, the table will ensure everything is aligned
%------------------------------------------------
\tableentry{Beginner}{Java, MS DOS}{spaceafter}
%------------------------------------------------
\tableentry{Intermediate}{Javascript, Python, HTML, CSS,}{}
\tableentry{}{Microsoft Windows}{}
\tableentry{}{Computer Hardware \& Support}{spaceafter}
%------------------------------------------------
\tableentry{Expert}{Perl, Unix, \LaTeX}{spaceafter}
%------------------------------------------------
\end{supertabular}
并且tableentry
命令定义为
\newcommand{\tableentry}[3]{
\textsc{#1} & #2\expandafter\ifstrequal\expandafter{#3}{}{\\}{\\[6pt]}
}
我正在尝试向中添加更多文本tableentry
,例如模板中第一段的文本:
\tableentry{Beginner}{My research examined the use of ELW pulses from a mode-locked source array inducted through transuranic crystals to observe entanglement on supraquantum structures. Theoretical advancements included prediction of quantum resonance phenomena including the possibility of resonance cascades. I was motivated to conduct this doctoral research due to my passion for teleportation of matter and I believe I have laid the foundation for further experimental validation and development of practical outcomes.
}{spaceafter}
但是,这不允许任何合理的单词换行,除非在项目符号中使用小句子,否则文本会超出页面:
问题:
我怎样才能实现合理的自动换行,使行与行之间的间距小于单独行之间的间距tableentry
(或者至少是合理的自动换行,而不必在每次重新编译时检查宽度溢出)?