如何解决如何将同一个块分成 2 列?提克兹海报
大家好,我想将块分成 2 列,其中 1 列放置图像,其他部分是书面部分。提前致谢
\documentclass[a2paper,colspace=1pt,blockverticalspace=1pt]{tikzposter}
\usetheme{Board}
\usepackage{lipsum}
\begin{document}
\node[above right,opacity=1.2,inner sep=0pt,outer sep=0pt] at (bottomleft) {\includegraphics[width=\paperwidth,height=\paperheight]{example-image-duck}};
\maketitle[titletotopverticalspace=-8cm] % See Section 4.1
\colorlet{blockbodybgcolor}{black}
\colorlet{blockbodyfgcolor}{white}
\colorlet{blocktitlefgcolor}{red}
\block{\textbf{Ultrastructural anylisis}}{}
\begin{columns}
\column{0.55}
\block{\large Scientific Relevance}{
\small The overall \textcolor{red}{why is this outside?mmmmmmmmmmmmmmmmmm}}
\column{0.45} \block{Ciao}{\lipsum[1]}
\end{columns}
\end{document}
解决方法
使用 minipage
的一种可能方法:
\documentclass[a2paper,colspace=1pt,blockverticalspace=1pt]{tikzposter}
\usetheme{Board}
\usepackage{lipsum}
\begin{document}
\node[above right,opacity=1.2,inner sep=0pt,outer sep=0pt] at (bottomleft) {\includegraphics[width=\paperwidth,height=\paperheight]{example-image-duck}};
\maketitle[titletotopverticalspace=-8cm] % See Section 4.1
\colorlet{blockbodybgcolor}{black}
\colorlet{blockbodyfgcolor}{white}
\colorlet{blocktitlefgcolor}{red}
\block{\textbf{Ultrastructural anylisis}}{}
\begin{columns}
\column{0.55}
\block{\large Scientific Relevance}{
\small The overall \textcolor{red}{why is this outside?mmmmmmmmmmmmmmmmmm}}
\column{0.45} \block{Ciao}{%
\begin{minipage}{.48\linewidth}
\includegraphics[width=\linewidth]{example-image-duck}
\end{minipage}%
\hfill%
\begin{minipage}{.48\linewidth}
some text in this column
\end{minipage}%
}
\end{columns}
\end{document}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。