我正在尝试让图像位于某些文本后面,但我的条件非常独特,所以我一直在努力寻找解决方案。我正在使用类tikzposter
,我想将图像放在特定块内的文本后面\block
。该块内的文本特别混乱multicols
,带有引号,因此我将其包括在内以防它引起问题。我尝试了很多东西,但一无所获,但这就是我目前的情况
\documentclass{tikzposter}
...
\block{Symmetries and Conservation laws}{
%The image I want beneath the text
{\centering
\includegraphics[width=0.2\linewidth]{scales.jpg}
}
%The rest is just the text I want on top of the image
Conservation laws are crucial to our fundamental understanding of the universe and provide the answers to many physical problems. However, asking the question of \textsl{why} some quantities are conserved over others leads us to the deep connection between symmetries in physics and conservation laws, a connection established by Emmy Noether in 1918; \textbf{Noether's Theorem}:
\vspace{0.5cm}
\begin{quotation}
\centering
{\Large
\textsl{\textbf{For every continuous symmetry in a system there is a corresponding quantity that is conserved in time.}}}
\end{quotation}
\vspace{0.5cm}
A symmetry in a system is the invariance of that system under some transformation. Classically we make several assumptions of symmetries in the universe which ensure that we can be scientific in our understanding of the universe
\setlength{\columnsep}{30pt}
\begin{multicols*}{3}
{\color{red}\centering\textbf{Translational symmetry} is invariance under \textsl{translation in space}. So an experiment produces the same results at one end of the lab as the other. \vfill\columnbreak}
{\color{blue}\centering\textbf{Rotational symmetry} is invariance under \textsl{rotation}. So an experiment produces the same results facing east as when we face north. \vfill\columnbreak}
{\color{magenta}\centering\textbf{Temporal symmetry} is invariance with \textsl{time}. So an experiment gives the results today as it will tomorrow. \vfill}
\end{multicols*}
\setlength{\columnsep}{10pt}
These are very physical symmetries and appear as common sense, but are clearly vital if we hold any faith to the idea of repeating experiment. We will focus on these symmetries and exlore their connections to familiar conservation laws by two different methods; a classical approach and a quantum mechanical one.
}
我保留了文本,因为它的格式非常特殊,以防万一使事情变得更加困难。这就是上面的代码给我的结果 基本上我想要块中所有文本后面的鳞片图片,并稍微褪色,作为背景图像。我为此烦恼了好久,所以任何帮助我都会很感激!
谢谢 :)
答案1
对于我来说,使用tikzpicture
覆盖选项是可行的。请注意,您必须至少编译文档两次才能将图像放置在正确的位置。
您可以调整图片的不透明度和大小。我强烈推荐矢量图形,例如 svg、emf 格式的矢量图形,因为低分辨率的光栅图像在放大时看起来很糟糕。此外,您想使用具有透明背景的图像,jpg 肯定不支持它。这是因为除非您的背景是纯白色或与缩放图像的背景完全匹配,否则它会看起来很奇怪。
\documentclass{tikzposter}
\usepackage{tikz,multicol}
\begin{document}
\block{Symmetries and Conservation laws}{
%The image I want beneath the text
{\begin{tikzpicture}[remember picture,overlay]
\node[at=(current page.center),opacity=0.3] {
\includegraphics[width=0.8\paperwidth]{scale}
};
\end{tikzpicture}}
%The rest is just the text I want on top of the image
Conservation laws are crucial to our fundamental understanding of the universe and provide the answers to many physical problems. However, asking the question of \textsl{why} some quantities are conserved over others leads us to the deep connection between symmetries in physics and conservation laws, a connection established by Emmy Noether in 1918; \textbf{Noether's Theorem}:
\vspace{0.5cm}
\begin{quotation}
\centering
{\Large
\textsl{\textbf{For every continuous symmetry in a system there is a corresponding quantity that is conserved in time.}}}
\end{quotation}
\vspace{0.5cm}
A symmetry in a system is the invariance of that system under some transformation. Classically we make several assumptions of symmetries in the universe which ensure that we can be scientific in our understanding of the universe
\setlength{\columnsep}{30pt}
\begin{multicols*}{3}
{\color{red}\centering\textbf{Translational symmetry} is invariance under \textsl{translation in space}. So an experiment produces the same results at one end of the lab as the other. \vfill\columnbreak}
{\color{blue}\centering\textbf{Rotational symmetry} is invariance under \textsl{rotation}. So an experiment produces the same results facing east as when we face north. \vfill\columnbreak}
{\color{magenta}\centering\textbf{Temporal symmetry} is invariance with \textsl{time}. So an experiment gives the results today as it will tomorrow. \vfill}
\end{multicols*}
\setlength{\columnsep}{10pt}
These are very physical symmetries and appear as common sense, but are clearly vital if we hold any faith to the idea of repeating experiment. We will focus on these symmetries and exlore their connections to familiar conservation laws by two different methods; a classical approach and a quantum mechanical one.
}
\end{document}