我正在使用 llncs 类,我想分别处理标题和作者姓名。也就是说,标题将位于默认位置,而有关作者和电子邮件/机构信息的文本将放置在页面左侧的某个位置。这不是简历,只是特定的文章格式。
例如,我想要这样的东西:
\documentclass{llncs}
\title{Title}
\author{Author One{1} \and Author Two\inst{2}}
\institute{Institution One \email{email at something}
\and
Institution Two \email{another @ something}}
\begin{document}
% just title here? outside of the table
\maketitle
\begin{tabular}{l | r}
% here I would like to have details about authors and institutions
\author{...}
&
%this is the abstract and keywords part
\begin{abstract}
%abstract content
\keywords{keyword1, keyword2}
\end{abstract}
\end{tabular}
\end{document}
我考虑重新定义\maketitle
,因为它已经在 llncs 中重新定义了。但是,我不太擅长低级 LaTeX,而且这种方法让我很头疼。每次尝试都会导致文档无法编译。
这是的输出\makeatletter\meaning\@maketitle\makeatother
:
macro:->\newpage \markboth {}{}\def \lastand {\ifnum \value {@inst}=2\relax
\unskip {} \andname \Ӏ\else \unskip \lastandname \Ӏ\fi }\def \and {\stepco-
unter {@auth}\relax \ifnum \value {@auth}=\value {@inst}\lastand \else \un-
skip , \fi }\begin {center}\let \newline \\ {\Large \bfseries \boldmath \preto-
lerance =10000 \@title \par }\vskip .8cm \if !\@subtitle !\else {\large \bfseries
\boldmath \vskip -.65cm \pretolerance =10000 \@subtitle \par }\vskip .8cm\fi
\setbox 0=\vbox {\setcounter {@auth}{1}\def \and {\stepcounter {@auth}}\def
\thanks ##1{}\@author }\global \value {@inst}=\value {@auth}\global \va-
lue {auco}=\value {@auth}\setcounter {@auth}{1}{\lineskip .5em \noindent
\ignorespaces \@author \vskip .35cm} {\small \institutename } \end {center}
例如,我曾尝试过:
\def\@maketitle{\newpage
\markboth{}{}%
\begin{center}%
\let\newline\\
{\Large \bfseries\boldmath
\pretolerance=10000
\@title \par}\vskip .8cm
\if!\@subtitle!\else {\large \bfseries\boldmath
\vskip -.65cm
\pretolerance=10000
\@subtitle \par}\vskip .8cm\fi
\end{center}%
}
虽然这是编译,但不起作用。作者和机构再次与标题一起显示。
是否有其他方法可以分别操作标题和作者、电子邮件和机构?
答案1
我建议不要\maketitle
单独使用和设置标题的组件:
\documentclass{llncs}
\usepackage{lipsum}
%\title{A title}
%\author{An author}
\begin{document}
%\maketitle
% Title
\begin{center}
\Large\bfseries\boldmath
A title
\end{center}
% Author and institution detail
\noindent\begin{tabular}{l @{~} | @{~} l}
First Author & First author institution details \\
& Some more relevant institution detail \\
Second Author & Second author institution details \\
& Perhaps more content
\end{tabular}
\begin{abstract}
\lipsum[1]
\keywords{keyword1, keyword2}
\end{abstract}
\section{Introduction}
\lipsum[2]
\end{document}