需要使用background宏包
示例代码
\documentclass{article}
\usepackage{background}
\begin{document}
\backgroundsetup{scale=2,angle=0,opacity=0.5,contents{\includegraphics[width=\paperwidth,height=\paperwidth,keepaspectratio]{1.png}}}
\begin{center}
test
\end{center}
\end{document}
编译示例

2021年3月30日10:35:43
本文介绍如何在LaTeX文档中利用background包设置背景图片,通过示例代码展示如何设置图片的缩放、角度、透明度,并在文档中心区域放置内容。
651

被折叠的 条评论
为什么被折叠?



