LaTeX:两栏文章中的多个作者

发布于 2024-09-05 20:20:26 字数 1084 浏览 6 评论 0原文

我对 LaTeX 有点陌生,我遇到了一些问题。

我在我的文章中使用twocolumn布局。有四位作者涉及不同的隶属关系,我试图将他们全部列在标题下,以便他们跨越页面的整个宽度(都在同一水平上)。它应该与此类似:

                  Article Title

auth1FN auth1LN     2  ... 3    auth4FN auth4LN
 department            ...        department
   school              ...          school
  email@edu            ...         email@edu


     Abstract                .....................
....................         .....................
....................         .....................
....................         .....................

目前我有一些类似的事情:

\documentclass[10pt,twocolumn]{article}
\usepackage{multicol}

\begin{document}

\begin{multicols}{2}
\title{Article Title}
\author{
    First Last\\
    Department\\
    school\\
    email@edu
  \and
    First Last\\
    ...
}
\date{}
\maketitle
\end{multicols}

\begin{abstract}
...
\end{abstract}

\section{Introduction}
...

\end{document}

问题是作者并未全部显示在同一级别上,而是我将前三个彼此相邻,然后是下面的最后一个。

有办法实现我想要的吗?另外,如果可能的话,我如何自定义从属关系的字体(较小且斜体)?

I'm kind of new to LaTeX and I am having a bit of a problem..

I am using a twocolumn layout for my article. There are four authors involved with different affiliations, and I am trying to list all of them under the title so they span the entire width of the page (all on the same level). It should be similar to this:

                  Article Title

auth1FN auth1LN     2  ... 3    auth4FN auth4LN
 department            ...        department
   school              ...          school
  email@edu            ...         email@edu


     Abstract                .....................
....................         .....................
....................         .....................
....................         .....................

Currently I have something along the lines:

\documentclass[10pt,twocolumn]{article}
\usepackage{multicol}

\begin{document}

\begin{multicols}{2}
\title{Article Title}
\author{
    First Last\\
    Department\\
    school\\
    email@edu
  \and
    First Last\\
    ...
}
\date{}
\maketitle
\end{multicols}

\begin{abstract}
...
\end{abstract}

\section{Introduction}
...

\end{document}

The problem is that the authors are not displayed all on the same level, instead I get the first three next to each other, followed by the last one underneath.

Is there way to achieve what I want? Also if possible, how can I customize the font of the affiliations (to be smaller and in italic)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

临风闻羌笛 2024-09-12 20:20:26

我在这里做了一个小测试:

\documentclass[10pt,twocolumn]{article}

\title{Article Title}
\author{
    First Author\\
    Department\\
    school\\
    email@edu
  \and
    Second Author\\
    Department\\
    school\\
    email@edu
    \and
    Third Author\\
    Department\\
    school\\
    email@edu
    \and
    Fourth Author\\
    Department\\
    school\\
    email@edu
}
\date{\today}

\begin{document}

\maketitle

\begin{abstract}
\ldots
\end{abstract}

\section{Introduction}
\ldots

\end{document}

需要注意的是,标题、作者和日期字段在 \begin{document} 之前声明。此外,在这种情况下,multicol 包可能是不必要的,因为您已在文档类中声明了 twocolumn

此示例将所有四位作者放在同一行,但如果您的作者的姓名、部门或电子邮件较长,这可能会导致其流到另一行。您也许可以稍微更改字体大小以使其适合。这可以通过执行诸如 {\small First Author} 之类的操作来完成。以下是有关 \LaTeX 字体大小的更详细文章:

https ://engineering.purdue.edu/ECN/Support/KB/Docs/LaTeXChangingTheFont

要使用斜体,您可以使用 {\it First Name}\textit{First Name}

但要小心,如果文档经常用于出版,期刊或会议记录都有自己的格式指南,因此可能不允许使用字体大小欺骗。

I put together a little test here:

\documentclass[10pt,twocolumn]{article}

\title{Article Title}
\author{
    First Author\\
    Department\\
    school\\
    email@edu
  \and
    Second Author\\
    Department\\
    school\\
    email@edu
    \and
    Third Author\\
    Department\\
    school\\
    email@edu
    \and
    Fourth Author\\
    Department\\
    school\\
    email@edu
}
\date{\today}

\begin{document}

\maketitle

\begin{abstract}
\ldots
\end{abstract}

\section{Introduction}
\ldots

\end{document}

Things to note, the title, author and date fields are declared before \begin{document}. Also, the multicol package is likely unnecessary in this case since you have declared twocolumn in the document class.

This example puts all four authors on the same line, but if your authors have longer names, departments or emails, this might cause it to flow over onto another line. You might be able to change the font sizes around a little bit to make things fit. This could be done by doing something like {\small First Author}. Here's a more detailed article on \LaTeX font sizes:

https://engineering.purdue.edu/ECN/Support/KB/Docs/LaTeXChangingTheFont

To italicize you can use {\it First Name} or \textit{First Name}.

Be careful though, if the document is meant for publication often times journals or conference proceedings have their own formatting guidelines so font size trickery might not be allowed.

隱形的亼 2024-09-12 20:20:26

如何在 \author{} 中使用表格,就像在 IEEE 宏中一样:

\documentclass{article}
\begin{document}
\title{Hello, World}
\author{
\begin{tabular}[t]{c@{\extracolsep{8em}}c} 
I. M. Author  & M. Y. Coauthor \\
My Department & Coauthor Department \\ 
My Institute & Coauthor Institute \\
email, address & email, address
\end{tabular}
}
\maketitle    
\end{document}

这将生成具有任何 documentclass 的两列authors。

结果:

enter图像描述在这里

What about using a tabular inside \author{}, just like in IEEE macros:

\documentclass{article}
\begin{document}
\title{Hello, World}
\author{
\begin{tabular}[t]{c@{\extracolsep{8em}}c} 
I. M. Author  & M. Y. Coauthor \\
My Department & Coauthor Department \\ 
My Institute & Coauthor Institute \\
email, address & email, address
\end{tabular}
}
\maketitle    
\end{document}

This will produce two columns authors with any documentclass.

Results:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文