I am trying to make my poster with the tikzposter
class.
I want to place a figure inside a block and I have to use the tikzpicture
environment. But I can't scale the figure properly.
\documentclass[a0paper,landscape]{tikzposter}
\begin{document}
\begin{columns}
\column{0.25}
\block{Introduction}{
...blabla...
}
\column{0.5}
\block{Methods}{
\begin{tikzfigure}
\includegraphics[width=\columnwidth]{myfigure}
\end{tikzfigure}
}
\column{0.25}
\block{Results \& conclusions}{
...blabla...
}
\end{columns}
\end{document}
It appears that \columnwidth
applies to the entire poster width and not to the column I am in, because my image spans the whole poster width.
I don't like using pts or cms as width in `\includegraphics', I would like to use some relative measure. how can I do that inside tikzfigure?
\blockwidth
instead?\blockwidth
(it is undefined)\blockwidth
,\blockbodyheight
,\blocktitleheight
: Dimensions of the current block's components; it is redefined for each call to the\block
command.