![有没有直接的方法可以缩小 tikzposter 作者的字体大小?](https://linux22.com/image/332791/%E6%9C%89%E6%B2%A1%E6%9C%89%E7%9B%B4%E6%8E%A5%E7%9A%84%E6%96%B9%E6%B3%95%E5%8F%AF%E4%BB%A5%E7%BC%A9%E5%B0%8F%20tikzposter%20%E4%BD%9C%E8%80%85%E7%9A%84%E5%AD%97%E4%BD%93%E5%A4%A7%E5%B0%8F%EF%BC%9F.png)
我看过文档,但没有看到在不修改标题栏中任何其他内容的字体大小的情况下设置作者列表的字体大小的选项。
有没有办法做到这一点?
答案1
有以下 3 种方法:
\scaleto
1)使用包中的功能,缩放到给定的字母高度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}