答案1
正如评论所说,我使用 GIMP 从图像模板中删除了文本。您可以在以下位置找到更新后的图像此链接. 将其保存为bg.png
文档目录中的。
然后我举了一个例子scrlttr2
文档并使用eso-pic
。
\documentclass[
fromalign=right,
fromphone,
fromemail,
fromlogo,
]{scrlttr2}
\usepackage{eso-pic}
\usepackage{graphicx}
\AddToShipoutPictureBG{%
\includegraphics[width=\paperwidth,height=\paperheight]{bg}}
\makeatletter
\@addtoplength{toaddrvpos}{2.5cm}
\makeatother
\begin{document}
\sffamily
\setkomavar{fromname}{John Public}
\setkomavar{fromaddress}{%
Valley 2\\
54321 Public-Village
}
\setkomavar{fromphone}{0\,12\,34~56\,78}
\setkomavar{fromemail}{[email protected]}
\setkomavar{fromlogo}{\includegraphics[width=3cm]{example-image-a}}
\begin{letter}{%
Joana Public\\
Hillside 1\\
12345 Public-City
}
\opening{Dear chairman,}
the last general meeting was about one year ago.
I want to remind you, that the constitution of our
club advises you to make a general meeting every
six month. Because of this I expect the executive
board to detain such a meeting immediately.
\closing{Expecting an invitation}
\ps PS: I hope you accept this as an friendly
demand note.
\setkomavar*{enclseparator}{Enclosure}
\encl{Compendium of the constitution with the
general meeting paragraphs.}
\cc{executive board\\all members}
\end{letter}
\end{document}