tikzposter 块中的行距似乎取决于段落数或使用中包含的图像\includegraphics
。例如,在随 tikzposter 包分发的海报示例中,标题为“列”的右侧块的两个段落中的行距不同。我如何在包括标题在内的所有海报块中定义统一的行距?
答案1
实际上,您可以只发布标题的前两个单词,而不必关心示例:-)
TeX 中的行距不正确几乎总是由于改变字体大小但未在同一范围内包含段落末尾,从而导致新大小的文本被设置为原始基线。
在引用的例子中你需要
\block[c]{Columns}{
The page can be divided for some segment of the poster into columns of vertically aligned blocks by using the environment \cmd{ columns}. Within this environment, a column is begun with the command, for instance, \\
\vspace{1em}
\cmd{\bs column\{}0.40\cmd{\}}\\
\vspace{1em}
for a column of blocks center aligned along a vertical line with default width of $40\%$ of the available width.
Following this, additional blocks are created which will be aligned into this column until a new column is called
or the environment is ended. The current column can be used for reference by the variable \cmd{\bs colwidth}.%
\par%<<<<<<<<<<<<<<this par (or a blank line) needed here
}
可能的定义\block
应该提供一个隐含的段落结束,但显然它没有,所以您需要明确添加它。