有没有办法在 baposter 中填充标题框,以便可以自定义框框架内的文本边距?
答案1
posterbox
您可以使用 键调整环境(已替换 \headerbox
宏)的间距boxpadding
,也可以使用boxheaderheight
键调整标题高度。
\documentclass[a0paper,landscape]{baposter}
\usepackage{graphicx}
\usepackage{mwe}
\usepackage{xcolor}
\begin{document}
\begin{poster}{
columns=3,
textborder=none,
headerColorOne={red!50},
bgColorOne={blue!20},
bgColorTwo={blue!40}
}
{
Eye Catcher, empty if option eyecatcher=no
}
{
Poster Title
} {
Poster Authors
}
{%logo
\includegraphics{example-grid-100x100pt}
}
\begin{posterbox}[%
name=box1,
column=0,
span=1,
row=0,
boxpadding=1em
]
{Introduction}
\begin{itemize}
\item some text
\item some text
\item some text
\end{itemize}
\end{posterbox}
\begin{posterbox}[%
name=box2,
column=1,
span=1,
row=0,
boxpadding=2em,
boxheaderheight=4em
]
{Introduction}
\begin{itemize}
\item some text
\item some text
\item some text
\end{itemize}
\end{posterbox}
\end{poster}
\end{document}