我想使用 2 个徽标,1 个在左角,1 个在右角靠近标题的位置。我无法让其中两个正确对齐。有人能帮我吗?
\documentclass[20pt, a0paper, portrait, margin=0mm, innermargin=15mm, blockverticalspace=18mm, colspace=18mm, subcolspace=0mm]{tikzposter}
\usetheme{Desert}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% Für weitere Autoren im Titelbereich
\usepackage{authblk}
\title{Detecting Multi-word Expressions in Typed Text}
\author{AdamG}
\titlegraphic{\includegraphics[width=9.5cm]{example-image-a}\includegraphics[width=9.5cm]{example-image-b}}
\author[1,2]{It is my name}
\author[1,2]{perhaps yours}
\affil[1]{first Institute}
\affil[2]{second Institute}
\makeatletter
\def\maketitle{\AB@maketitle}
\renewcommand\TP@maketitle{%
\centering
\begin{minipage}[b]{1.0\linewidth}
\centering
\color{titlefgcolor}
{\bfseries \Huge \@title \par} %\textsc
\vspace*{4em}
{\LARGE \@author \par}
\vspace*{1em}
{\LARGE \@institute}
\end{minipage}%
\tikz[remember picture,overlay]\node[scale=0.8,anchor=east,xshift=0.51\linewidth,yshift=6cm,inner sep=0pt] {%
\@titlegraphic
};
}
\makeatother
\begin{document}
\maketitle
\end{document}
答案1
用过\hfill
就会得到
\documentclass[25pt, a0paper, landscape, margin=0mm, innermargin=15mm, blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter}
\usetheme{Desert}
\title{Detecting Multi-word Expressions in Typed Text}
\author{AdamG}
\institute{Graduate Center}
\titlegraphic{\includegraphics[width=9.5cm]{example-image-a}\hfill\includegraphics[width=9.5cm]{example-image-b}}
\begin{document}
\maketitle
\end{document}
答案2
由于您已经适应了其他问题的不同部分,因此我正在使用该问题的改编版本。
\documentclass[20pt, a0paper, portrait, margin=0mm, innermargin=15mm, blockverticalspace=18mm, colspace=18mm, subcolspace=0mm]{tikzposter}
\usetheme{Desert}
\title{Detecting Multi-word Expressions in Typed Text}
\author{KJO is my name, Perhaps Yours Goes here.}% If you need two lines it should be possible to add \\ between them
\institute{First Institute, Second Institute.}% If you need two lines it should be possible to add \\ between them
\titlegraphic{\includegraphics{example-image}}
\makeatletter
\renewcommand\TP@maketitle{\centering
\begin{minipage}{0.19\linewidth}%
\includegraphics{example-image-a}%
\end{minipage}%
\hspace{2cm}
\begin{minipage}{0.5\linewidth}\centering
\color{titlefgcolor}
{\bfseries \Huge \sc \@title \par}
\vspace*{1em}
{\huge \@author \par}
\vspace*{1em}
{\LARGE \@institute}%
\end{minipage}\hfill
\begin{minipage}{0.15\linewidth}
\centering\includegraphics{example-image-b}
\end{minipage}%
}%
\makeatother
\begin{document}
\maketitle
\end{document}