我想創建一個海報標題,其中徽標右對齊,而不是位於標題文字之上。我所擁有的是:
\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{GCLogo.jpg}}
\begin{document}
\maketitle
\end{document}
如何更改徽標的對齊方式?
答案1
\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{example-image}}
\makeatletter
\renewcommand\TP@maketitle{%
\begin{minipage}{0.8\linewidth}
\centering
\color{titlefgcolor}
{\bfseries \Huge \sc \@title \par}
\vspace*{1em}
{\huge \@author \par}
\vspace*{1em}
{\LARGE \@institute}
\end{minipage}%
\hfill
\begin{minipage}{0.2\linewidth}
\centering
\@titlegraphic
\end{minipage}
}
\makeatother
\begin{document}
\maketitle
\end{document}
minipage
請根據您的喜好進行微調,例如 s 的寬度。
編輯:
您可以透過以下方式使標題居中:
\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{example-image}}
\makeatletter
\renewcommand\TP@maketitle{%
\centering
\begin{minipage}[b]{0.8\linewidth}
\centering
\color{titlefgcolor}
{\bfseries \Huge \sc \@title \par}
\vspace*{1em}
{\huge \@author \par}
\vspace*{1em}
{\LARGE \@institute}
\end{minipage}%
\tikz[remember picture,overlay]\node[scale=0.8,anchor=east,xshift=0.56\linewidth,yshift=3.9cm,inner sep=0pt] {%
\@titlegraphic
};
}
\makeatother
\begin{document}
\maketitle
\end{document}
再次,可以根據需要進行微調。