序幕
对于会议论文,我被要求使用现有的样式文件。排版代码显然有 20 多年的重复使用和改编历史,在我看来它相当混乱。不过,这似乎是我们领域会议论文的最新水平,过去我发现使用提供的样式比使用众多规范(边距、字体大小、间距……)从头开始创建更容易。尽管我通常使用 XeLaTex(它不是为它编写的)成功编译源代码,但我总是担心这会破坏一些东西。
当前问题
在我目前正在排版的一篇论文中,有六位作者。提交说明要求提供完整的所属地址,该地址必须以与作者姓名相同的大小排版,并且他们明确表示不希望看到脚注所属。这会产生巨大的作者区块(我甚至需要换行电子邮件地址),并且会导致与正文冲突。
实际问题
如果我选择遵循占用空间的布局说明,我该如何将文本主体进一步向下移动?我尝试使用\vspace
(带星号和不带星号、内部和外部\authors{...}
)来破解它,但我能做的最好的就是将左列进一步向下移动,但不能同时移动两者。
平均能量损失
下面是产生上述输出的 MWE(包tia
是样式文件,请参见下文):
% !TEX TS-program=XeLaTeX
\documentclass[11pt,xetex]{article}
\usepackage{xltxtra}
\usepackage{tia}
\usepackage{url}
\usepackage{lipsum}
\begin{document}
\title{Extensive, Two-lined Title\\ With Two Lines of Text}
\author{Author Number 1\\
Institute of\\ Exampelistics\\
University of Example\\
\url{[email protected]}
\And
Author Number 2\\
Long-Named Example\\ Institute\\
University of Example\\
\url{author.number.2}\\\url{@example.com}
\And
Author Number 3\\
Department of Long Research\\ and Long-Named Example\\
University of Example\\
\url{author.number.3}\\\url{@example.com}
\AND
Author Number 4\\
Institute of Example Research\\
University of Example\\
\url{author.number.4}\\\url{@example.com}
\And
Author Number 5\\
Long-Named Example Institute\\
University of Example\\
\url{author.number.5}\\\url{@example.com}
\And
Author Number 6\\
Institute of\\ Exampelistics\\
University of Example\\
\url{[email protected]}\\
}
\date{}
\maketitle
\begin{abstract}
\lipsum[54]
\end{abstract}
\section{Introduction}
\lipsum[55-57]
\end{document}
以下是我怀疑造成冲突的样式文件的一部分。在 MWE 中,仅使用这一部分(并保存在tia.sty
):
\setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
\setlength\textheight{9.5in} \setlength\textwidth{6.25in}
\setlength\columnsep{0.2in}
\newlength\titlebox
\setlength\titlebox{2.25in}
\setlength\headheight{0pt} \setlength\headsep{0pt}
%\setlength\footheight{0pt}
\setlength\footskip{0pt}
\thispagestyle{empty} \pagestyle{empty}
\flushbottom \twocolumn \sloppy
\flushbottom \twocolumn \sloppy
% Title stuff, taken from deproc.
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}
\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
\twocolumn[\@maketitle] \@thanks
\endgroup
\setcounter{footnote}{0}
\let\maketitle\relax \let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
\linewidth\hsize \vskip 0.125in minus 0.125in \centering
{\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
{\def\and{\unskip\enspace{\rm and}\enspace}%
\def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
\def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
\vskip 0.25in plus 1fil minus 0.125in
\hbox to \linewidth\bgroup\large \hfil\hfil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
\hbox to \linewidth\bgroup\large \hfil\hfil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
\end{tabular}\hss\egroup
\hfil\hfil\egroup}
\vskip 0.3in plus 2fil minus 0.1in
}}
答案1
增加标题框的高度,\titlebox
对我来说很有效。我不得不注释掉,tia
因为我没有它,但除此之外,它工作正常。我尝试使用 pdfLaTeX 和 XeLaTeX,带和不带xltxtra
。一切都很好。
\documentclass[11pt,xetex]{article}
\usepackage{xltxtra}
% \usepackage{tia}% not part of TeX Live?
\usepackage{url}
\usepackage{lipsum}
\makeatletter
\setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
\setlength\textheight{9.5in} \setlength\textwidth{6.25in}
\setlength\columnsep{0.2in}
\newlength\titlebox
\setlength\titlebox{3.5in}
\setlength\headheight{0pt} \setlength\headsep{0pt}
%\setlength\footheight{0pt}
\setlength\footskip{0pt}
\thispagestyle{empty} \pagestyle{empty}
\flushbottom \twocolumn \sloppy
% Title stuff, taken from deproc.
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}
\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
\twocolumn[\@maketitle] \@thanks
\endgroup
\setcounter{footnote}{0}
\let\maketitle\relax \let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
\linewidth\hsize \vskip 0.125in minus 0.125in \centering
{\Large\bfseries \@title \par} \vskip 0.2in plus 1fil minus 0.1in
{\def\and{\unskip\enspace{\rmfamily and}\enspace}%
\def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bfseries}%
\def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
\vskip 0.25in plus 1fil minus 0.125in
\hbox to \linewidth\bgroup\large \hfil\hfil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bfseries}
\hbox to \linewidth\bgroup\large \hfil\hfil
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bfseries\@author
\end{tabular}\hss\egroup
\hfil\hfil\egroup}
\vskip 0.3in plus 2fil minus 0.1in
}}
\makeatother
\begin{document}
\title{Extensive, Two-lined Title\\ With Two Lines of Text}
\author{Author Number 1\\
Institute of\\ Exampelistics\\
University of Example\\
\url{[email protected]}
\And
Author Number 2\\
Long-Named Example\\ Institute\\
University of Example\\
\url{author.number.2}\\\url{@example.com}
\And
Author Number 3\\
Department of Long Research\\ and Long-Named Example\\
University of Example\\
\url{author.number.3}\\\url{@example.com}
\AND
Author Number 4\\
Institute of Example Research\\
University of Example\\
\url{author.number.4}\\\url{@example.com}
\And
Author Number 5\\
Long-Named Example Institute\\
University of Example\\
\url{author.number.5}\\\url{@example.com}
\And
Author Number 6\\
Institute of\\ Exampelistics\\
University of Example\\
\url{[email protected]}\\
}
\date{}
\maketitle
\begin{abstract}
\lipsum[54]
\end{abstract}
\section{Introduction}
\lipsum[55-57]
\end{document}