latex - 如何将同一块拆分为其中的 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}
解决方案
使用 s 的一种可能方法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}
推荐阅读
- android - 当用户在一台手机上登录时,相同的凭据不应在 android 中的另一台设备上登录
- android - 使用 ConstraintLayout 折叠工具栏布局
- c# - 异常堆栈跟踪没有行号
- perl - 如何创建 perl 别名?类型球?
- python - 比较字典并仅显示 Python 中的差异?
- html - 通过单击阻止和取消阻止要编辑的标签:Ionic
- rest - 当 API 调用上的响应 statusCode 大于 400 时在 Flutter 中构建小部件
- javascript - 如何在页面加载时动态更改 href 内容
- java - @InitBinder 不使用值方法名称
- python - Pywinauto 专注于新的下拉菜单