一行中有多个作者

一行中有多个作者

我找到了一个简单的文章模板:http://www.cs.technion.ac.il/~yogi/Courses/CS-Scientific-Writing/examples/simple/simple.htm

但我希望作者出现在同一行,而不是一个接一个。我尝试了不同的解决方案,但毫无效果。我的代码如下:

    \documentclass[11pt,english]{article}
\usepackage[T1]{fontenc}

\author{
        Vitaly Surazhsky \\
                Department of Computer Science\\
        Technion---Israel Institute of Technology\\
        Technion City, Haifa 32000, \underline{Israel}
        \texttt{[email protected]}
        \and
        Yossi Gil\\
        Department of Computer Science\\
        Technion---Israel Institute of Technology\\
        Technion City, Haifa 32000, \underline{Israel}
}
\title{A Very Simple \LaTeXe{} Template}
\date{\today}

我查看了不同的示例,但仍然不知道哪里出了问题。有什么帮助吗?

答案1

问题始于字体大小和每个作者的冗长文字。以下是一些替代方案。第一个:

\title{A Very Simple \LaTeXe{} Template}
\author{Vitaly Surazhsky\thanks{Department of Computer Science,
        Technion---Israel Institute of Technology,
        Technion City, Haifa 32000, \underline{Israel}}        
    \and    
    Yossi Gil\thanks{Department of Computer Science,
        Technion---Israel Institute of Technology,
        Technion City, Haifa 32000, \underline{Israel}}}%

\date{\today}

\documentclass[12pt]{article}
\begin{document}

\maketitle
\begin{abstract}
This is the paper's abstract \ldots
\end{abstract}

\section{Introduction}
This is time for all good men to come to the aid of their party!

\paragraph{Outline}
The remainder of this article is organized as follows.
Section~\ref{previous work} gives account of previous work.
Our new and exciting results are described in Section~\ref{results}.
Finally, Section~\ref{conclusions} gives the conclusions.

\section{Previous work}\label{previous work}
A much longer \LaTeXe{} example was written by Gil~\cite{Gil:02}.

\section{Results}\label{results}
In this section we describe the results.



\end{document}

在此处输入图片描述

在第二个中我减小了字体大小,但也修改了边距长度:

\title{A Very Simple \LaTeXe{} Template}
\author{
    Vitaly Surazhsky \\
    \small{Department of Computer Science}\\
\small{ Technion---Israel Institute of Technology}\\
    \small{Technion City, Haifa 32000, \underline{Israel}}
    \and
    Yossi Gil\\
    \small{Department of Computer Science}\\
\small{ Technion---Israel Institute of Technology}\\
\small{Technion City, Haifa 32000, \underline{Israel}}
}
\date{\today}
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}

\begin{document}
    \maketitle

    \begin{abstract}
        This is the paper's abstract \ldots
    \end{abstract}

    \section{Introduction}
    This is time for all good men to come to the aid of their party!

    \paragraph{Outline}
    The remainder of this article is organized as follows.
    Section~\ref{previous work} gives account of previous work.
    Our new and exciting results are described in Section~\ref{results}.
    Finally, Section~\ref{conclusions} gives the conclusions.

    \section{Previous work}\label{previous work}
    A much longer \LaTeXe{} example was written by Gil~\cite{Gil:02}.

    \section{Results}\label{results}
    In this section we describe the results.

    \section{Conclusions}\label{conclusions}
    We worked hard, and achieved very little.


\end{document}

在此处输入图片描述

最后,我个人使用的方法如下:

\documentclass[12pt]{amsart}
\setlength{\textwidth}{\paperwidth}
\addtolength{\textwidth}{-2in}
\calclayout

\begin{document}

\title{A Very Simple \LaTeXe{} Template}
\author{Vitaly Surazhsky}
\author{Yossi Gil}%
\thanks{Vitaly Surazhsky and    Yossi Gil are with Department of Computer Science,Technion---Israel Institute of Technology, Technion City, Haifa 32000, \underline{Israel}}%
\begin{abstract}
This is the paper's abstract \ldots
\end{abstract}
\maketitle

\section{Introduction}
This is time for all good men to come to the aid of their party!

\paragraph{Outline}
The remainder of this article is organized as follows.
Section~\ref{previous work} gives account of previous work.
Our new and exciting results are described in Section~\ref{results}.
Finally, Section~\ref{conclusions} gives the conclusions.

\section{Previous work}\label{previous work}
A much longer \LaTeXe{} example was written by Gil~\cite{Gil:02}.

\section{Results}\label{results}
In this section we describe the results.

\section{Conclusions}\label{conclusions}
We worked hard, and achieved very little.



\end{document}

在此处输入图片描述

相关内容