答案1
快速而粗略的方法:诀窍是使用overlay
隐藏 LaTeX 文本的大小。不过,您必须手动调整坐标。
\documentclass{article}
\usepackage{lipsum}
\usepackage{tikz}
\begin{document}
% This is attached to the start of the paragraph, do not insert
% blank lines
\tikz[overlay, scale=2, transform shape]
\node [font=\Huge\bfseries, rotate=15] at (3,-.5) {PASSED!};
\lipsum[4]
\end{document}
您也可以轻松调整不透明度和颜色:
\tikz[overlay, scale=2, transform shape, opacity=0.5]
\node [red, font=\Huge\bfseries, rotate=15] at (3,-.5) {FAILED!};
\lipsum[4]