如何在 tikzposter 的標題中設定較小的行間距?

如何在 tikzposter 的標題中設定較小的行間距?

我正在使用 tikzposter,並且我有一個tikzfigure帶有標題的subcol.我發現標題的行間距大得離譜。我有機會讓它變小嗎?

問題說明

答案1

類別文件中最常犯的錯誤之一是沒有以段落結束群組,以便 LaTeX 可以應用正確的行距。這有望在即將推出的版本中得到修復tikzposter

tiks海報行距標題

\documentclass{tikzposter}
\usepackage{lmodern}
\usepackage{blindtext}
\begin{document}
\begin{columns}
    \column{.32}
\block{Walzing Wombat}{%
    \begin{tikzfigure}[\normalsize this is to test the
        spacing within the caption and we need quite a
    lot of words here just to see some minimal result,
exhausting]
        \rule{5cm}{2cm}
    \end{tikzfigure}
    Wombats love the walz, ducks dance dixie
}
\column{.32}
\block{lurking lizard}{%
    \begin{tikzfigure}[\normalsize this is to test the
        spacing within the caption and we need quite a
    lot of words here just to see some minimal result,
exhausting\par]
        \rule{5cm}{2cm}
    \end{tikzfigure}
    sassy salamandar
}
\end{columns}
\end{document}

相關內容