我一直在研究tikzposter
类文档,但到目前为止我找不到任何关于如何添加多个作者的隶属关系的提示。例如:
像这样的事情实际上不起作用:
\affiliation{First Institution}{1}
\affiliation{Second Institution}{2}
\author{Firstauthor}{1}
\author{Coauthor}{2}
\author{Othercoauthor}{2}
更新:不知何故,Gonzalo 的解决方案在我的计算机上输出了此内容(带有 TeXlive 的 OSX)
答案1
您可以使用authblk
包裹:
\documentclass{tikzposter}
\usepackage{authblk}
\title{The Title}
\titlegraphic{Logo}
\usetheme{Basic}
\author[1]{Author A}
\author[2]{Author B}
\author[2]{Author C}
\affil[1]{Department One, University One}
\affil[2]{Department Two, University Two}
\begin{document}
\maketitle
\block{BlocktitleA}{Blocktext}
\begin{columns}
\column{0.3}
\block{BlocktitleB}{Blocktext}
\column{0.7}
\block{BlocktitleC}{Blocktext}
\note{Notetext}
\end{columns}
\end{document}
显示结果标题部分的图像:
更新
为了防止tikzposter
在编辑问题时注意到的块发生一些变化,需要这样做
\def\maketitle{\AB@maketitle}
完整示例:
\documentclass{tikzposter}
\usepackage{authblk}
\title{The Title}
\titlegraphic{Logo}
\usetheme{Basic}
\author[1]{Author A}
\author[2]{Author B}
\author[2]{Author C}
\affil[1]{Department One, University One}
\affil[2]{Department Two, University Two}
\makeatletter
\def\maketitle{\AB@maketitle}
\makeatother
\begin{document}
\maketitle
\block{BlocktitleA}{Blocktext}
\begin{columns}
\column{0.3}
\block{BlocktitleB}{Blocktext}
\column{0.7}
\block{BlocktitleC}{Blocktext}
\note{Notetext}
\end{columns}
\end{document}
结果: