更改 Authblk 中的行距

更改 Authblk 中的行距

我的作者列表占了好几行。我想减少行与行之间的间距、作者与作者所属单位之间的间距以及作者所属单位之间的间距。我尝试使用 setspace 包和命令 \setstretch,但这似乎只在拉伸因子 >1 的情况下才有效,所以我搞不清楚如何使用这种方法压缩我的 authblk。

如何修改间距?

我对此作者区块的 MWE 如下:

% arara: pdflatex
\documentclass[10pt,twocolumn]{article}
\usepackage[margin=0.5in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amstext}
\usepackage{amssymb}
\usepackage{multirow}
\usepackage{amsmath,amssymb}
\usepackage{verbatim}
\usepackage{authblk}
\usepackage{setspace}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{helvet}

\begin{document}
\large
\title{Title}
\vspace{8 pt}
\setstretch{0.1}
\author[1]{Author 1}
\author[2]{Author 2}
\author[3]{Author 3}
\author[4]{Author 4}
\author[5]{Author 5}
\author[1]{Author 6}
\author[1]{Author 7}
\author[1]{Author 8}
\author[1]{Author 9}
\author[1]{Author 10}
\author[1]{Author 11}
\author[1]{Author 12}
\author[1]{Author 13}
\author[1]{Author 14}
\author[1]{Author 15}
\author[1]{Author 16}
\author[1]{Author 17}
\author[1]{Author 18}
\author[1]{Author 19}
\author[1]{Author 20}
\author[1]{Author 30}
\author[1]{Author 31}
\author[1]{Author 32}
\author[1]{Author 33}
\author[1]{Author 34}
\author[1]{Author 35}
\author[1]{Author 36}
\author[1]{Author 37}
\author[1]{Author 38}
\author[1]{Author 39}
\author[1]{Author 40}
\affil[1]{Affiliation 1}
\affil[2]{Affiliation 2}
\affil[3]{Affiliation 3}
\affil[4]{Affiliation 4}
\affil[5]{Affiliation 5}
\date{}
{\let\clearpage\relax%
\maketitle }
\end{document}

谢谢!

答案1

更改\baselineskip

\documentclass[10pt,twocolumn]{article}
\usepackage[margin=0.5in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amstext}
\usepackage{amssymb}
\usepackage{multirow}
\usepackage{amsmath,amssymb}
\usepackage{verbatim}
\usepackage{authblk}
\usepackage{setspace}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{helvet}

\makeatletter
\def\@maketitle{%
  \newpage
  \null
  \vskip 2em%
  \begin{center}%
  \let \footnote \thanks
    {\LARGE \@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \baselineskip=12pt
        \@author
      \end{tabular}\par}%
    \vskip 1em%
    {\large \@date}%
  \end{center}%
  \par
  \vskip 1.5em}
\makeatother

\begin{document}
\large
\title{Title}
\vspace{8 pt}
\setstretch{0.1}
\author[1]{Author 1}
\author[2]{Author 2}
\author[3]{Author 3}
\author[4]{Author 4}
\author[5]{Author 5}
\author[1]{Author 6}
\author[1]{Author 7}
\author[1]{Author 8}
\author[1]{Author 9}
\author[1]{Author 10}
\author[1]{Author 11}
\author[1]{Author 12}
\author[1]{Author 13}
\author[1]{Author 14}
\author[1]{Author 15}
\author[1]{Author 16}
\author[1]{Author 17}
\author[1]{Author 18}
\author[1]{Author 19}
\author[1]{Author 20}
\author[1]{Author 30}
\author[1]{Author 31}
\author[1]{Author 32}
\author[1]{Author 33}
\author[1]{Author 34}
\author[1]{Author 35}
\author[1]{Author 36}
\author[1]{Author 37}
\author[1]{Author 38}
\author[1]{Author 39}
\author[1]{Author 40}
\affil[1]{Affiliation 1}
\affil[2]{Affiliation 2}
\affil[3]{Affiliation 3}
\affil[4]{Affiliation 4}
\affil[5]{Affiliation 5}
\date{}
{\let\clearpage\relax%
\maketitle }
\end{document}

在此处输入图片描述

相关内容