Tikzposter:长长的作者名单分成两行

Tikzposter:长长的作者名单分成两行

我对很长的作者列表感到困惑。我不想在姓氏和名字之间打断名字。我的意思是显示作者“AuthorForThis ABCeAAAAAAAA1”,我该如何避免这种情况?

祝好,迈克

\documentclass[25pt, a0paper, portrait,margin=0mm, innermargin=15mm]{tikzposter}

\usepackage{authblk}

\titlegraphic{\includegraphics[width=10cm]{example-image-a}}
\title{\Huge\textbf{Test Test Titel}}

\author[1]{AuthorForThis ABCa}
\author[1]{AuthorForThis ABCb}
\author[1]{AuthorForThis ABCeAAAAAAAA1}
\author[1]{AuthorForThis ABCd}
\author[2]{AuthorForThis ABCe}
\author[1]{AuthorForThis ABCf}
\affil[1]{Institute 1}
\affil[2]{Institute 2}


\makeatletter
\def\maketitle{\AB@maketitle}
\renewcommand\TP@maketitle{%
   \centering
   \begin{minipage}[b]{1.0\linewidth}
        \centering
        \color{titlefgcolor}
        {\bfseries \Huge \sc \@title \par}
        \vspace*{5em}
        {\huge \@author \par}
        \vspace*{1em}
        {\LARGE \@institute}
    \end{minipage}%
      \tikz[remember picture,overlay]\node[scale=0.8,anchor=east,xshift=0.505\linewidth,yshift=3.9cm,inner sep=0pt] {%
       \@titlegraphic
    };
}
\makeatother

\begin{document}

\maketitle

\block{Introduction}{
Test jadksfshflishöfhsöofhöoshfs
}

\end{document}

以下是截图:

在此处输入图片描述

答案1

我认为你想要的就是在作者姓名的两个部分之间使用一个不间断空格,即\author[1]{AuthorForThis~ABCeAAAAAAAA1}使用~而不是会产生一个不间断空格,防止在第一个名字和第二个名字之间出现换行符(参见何时应使用不间断空格?例如,了解更多关于不间断空格的实用性)。

\documentclass[25pt, a0paper, portrait,margin=0mm, innermargin=15mm]{tikzposter}

\usepackage{authblk}

\titlegraphic{\includegraphics[width=10cm]{example-image-a}}
\title{\Huge\textbf{Test Test Titel}}

\author[1]{AuthorForThis~ABCa}
\author[1]{AuthorForThis~ABCb}
\author[1]{AuthorForThis~ABCeAAAAAAAA1}
\author[1]{AuthorForThis~ABCd}
\author[2]{AuthorForThis~ABCe}
\author[1]{AuthorForThis~ABCf}
\affil[1]{Institute 1}
\affil[2]{Institute 2}


\makeatletter
\def\maketitle{\AB@maketitle}
\renewcommand\TP@maketitle{%
   \centering
   \begin{minipage}[b]{1.0\linewidth}
        \centering
        \color{titlefgcolor}
        {\bfseries \Huge \sc \@title \par}
        \vspace*{5em}
        {\huge \@author \par}
        \vspace*{1em}
        {\LARGE \@institute}
    \end{minipage}%
      \tikz[remember picture,overlay]\node[scale=0.8,anchor=east,xshift=0.505\linewidth,yshift=3.9cm,inner sep=0pt] {%
       \@titlegraphic
    };
}
\makeatother

\begin{document}

\maketitle

\block{Introduction}{
Test jadksfshflishöfhsöofhöoshfs
}

\end{document}

在此处输入图片描述

答案2

我个人觉得代码非常非常复杂。标题通常需要手动调整,尤其是海报,手动调整会更轻松。

mike1993Tikzposter标题

\documentclass[25pt, a0paper, portrait,margin=0mm, innermargin=15mm]{tikzposter}
\newcommand{\ini}{\textsuperscript{1}}
\newcommand{\inii}{\textsuperscript{2}}
\begin{document}

\block{}{
        \centering
        \color{titlefgcolor}
        \vspace*{1em}
        {\bfseries \Huge The Journey of Walter Wombat \par}
        \vspace*{3em}
        {\huge Carl Capybara\ini, Lazy Lizard\ini, Busy Bee\inii, \par Gabrielle Giraffe\ini, Laura Lion\ini ~and Klaus Koala\inii  \par}
        \vspace*{1em}
        {\LARGE \ini Institute of Applied Duck Dance\par
        \inii Institute of Experimental Duck Dance\par}
        \hfill\llap{\smash{\includegraphics[width=.1\linewidth]{example-image}}}\par
}

\block{Introduction}{
    This will be a great story.
}

\end{document}

相关内容