答案1
yshift
正如 @daleif 所建议的,这是一个节点问题,并通过和以您想要的方式定位它们xshift
。下面,我为您完成了两个节点。您可以完成其余部分。有关颜色,请参阅此列表。
\documentclass{standalone}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
[%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
place/.style={rectangle}
]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\node[place,text=Goldenrod,opacity=.5,font=\fontsize{50}{50}\selectfont] (A)
{$\int_{-\infty}^{\infty} e^{-x^{2}} = \sqrt{\pi}$};
\node[place,text=BrickRed,opacity=.9,font=\fontsize{20}{10}\selectfont,yshift=20mm] (B) [below=of A]
{$ e^{i\pi} + 1 = 0$};
\end{tikzpicture}
\end{document}