我尝试在 \email 命令中换行,因为我正在做的工作有很多作者,出于某种原因,我无法做到。已经尝试使用 \\、\hfill \break 和 \newline,但这些命令似乎都不起作用。以下是有关此案例的一些代码:
\documentclass[12pt]{article}
\usepackage{sbc-template}
\usepackage{graphicx,url}
\usepackage[utf8]{inputenc}
\usepackage[brazil]{babel}
\usepackage[latin1]{inputenc}
\sloppy
\title{Blockchain - Uma técnologia disruptiva}
\author{Sandro G. B. Azevedo\inst{1}, João R. M. Gubolin\inst{1}, Gabriel F. L. Fichera\inst{1},\\ William W. C. Correia\inst{1},Matheus S. Marsicano\inst{1}}
\address{Universidade Estadual Paulista "Júlio de Mesquita Filho" --
(UNESP)\\
São José do Rio Preto -- SP -- Brazil
\email{[email protected], [email protected], [email protected],(HERE IS THE PLACE I WANT TO BREAK A LINE) [email protected],[email protected]}
}
\begin{document}
\maketitle
\end{document}
为了正常工作,你的 overleaf 项目中必须有文件 sbc-template.sty。
可以很容易地找到
https://github.com/uefs/sbc-template-latex/blob/master/sbc-template.sty
答案1
通过在内部设置来更新\email
以处理换行符tabular
:
\documentclass[12pt]{article}
\usepackage{sbc-template}
\usepackage[utf8]{inputenc}
\renewcommand{\email}[1]{\\\mbox{}\\[-6pt]\footnotesize\ttfamily\begin{tabular}{@{} c @{}}#1\end{tabular}}
\title{Blockchain - Uma técnologia disruptiva}
\author{Sandro GB Azevedo\inst{1}, João RM Gubolin\inst{1}, Gabriel FL Fichera\inst{1},\\ William WC Correia\inst{1}, Matheus S Marsicano\inst{1}}
\address{Universidade Estadual Paulista ``Júlio de Mesquita Filho'' --
(UNESP)\\
São José do Rio Preto -- SP -- Brazil
\email{[email protected], [email protected], [email protected],\\ [email protected],[email protected]}
}
\begin{document}
\maketitle
\end{document}