有没有直接的方法可以缩小 tikzposter 作者的字体大小?

有没有直接的方法可以缩小 tikzposter 作者的字体大小?

我看过文档,但没有看到在不修改标题栏中任何其他内容的字体大小的情况下设置作者列表的字体大小的选项。

有没有办法做到这一点?

答案1

有以下 3 种方法:

\scaleto1)使用包中的功能,缩放到给定的字母高度scalerel

\documentclass{tikzposter}
\usepackage{scalerel}
\title{\parbox{\linewidth}{\centering This is a really  really  really  really  really  really  really  really  really  long title for a poster}}
\institute{The Institute}
\author{\scaleto{$\vphantom{Xj}The Author$}{20pt}}
\titlegraphic{Logo}
\usetheme{Basic}

\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}

2)使用LaTeX改变字体大小,如\tiny

\documentclass{tikzposter}

\title{\parbox{\linewidth}{\centering This is a really  really  really  really  really  really  really  really  really  long title for a poster}}
\institute{The Institute}
\author{\tiny The Author}
\titlegraphic{Logo}
\usetheme{Basic}

\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}

3)按给定比例缩放作者区块,使用\scalebox

\documentclass{tikzposter}

\title{\parbox{\linewidth}{\centering This is a really  really  really  really  really  really  really  really  really  long title for a poster}}
\institute{The Institute}
\author{\scalebox{.2}{The Author}}
\titlegraphic{Logo}
\usetheme{Basic}

\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}

相关内容