我有一個簡單的問題,即添加具有預定義位置的浮水印。我需要將其設定為下面給出的設定。這是我的程式碼:
\documentclass[a4paper,twoside,10pt]{report}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{eso-pic}
\usepackage{pdflscape}
\usepackage[a5paper]{geometry}% just for the example
\usepackage{background}
\usepackage{lipsum}
\backgroundsetup{%
scale=1, %% change accordingly
angle=0, %% change accordingly
opacity=.6, %% change accordingly
color =black, %% change accordingly
contents={\begin{tikzpicture}[remember picture,overlay]
\node at (current page.north east) {\includegraphics[width=5cm]{AA_Deutsche.png}}; ***How can I put my image to upper right corner of each image.***
\end{tikzpicture}}
}
\begin{document}
.
.
\newpage
\begin{landscape}
...
\end{landscape}
\newpage
.
.
\end{document}
我正在附上圖像和所需的設定。目前我正在使用 Adobe 透過這些設定添加浮水印(請參閱附件中的設定圖像)
答案1
我無法理解你的設定。這是一個帶有包的範例background
。
\documentclass{article}
\usepackage[a5paper]{geometry}% just for the example
\usepackage{background}
\usepackage{lipsum}
\backgroundsetup{%
scale=1, %% change accordingly
angle=0, %% change accordingly
opacity=.6, %% change accordingly
color =black, %% change accordingly
contents={\begin{tikzpicture}[remember picture,overlay]
\node at ([yshift=11pt,xshift=5pt]current page.center) {\includegraphics[width=5cm]{example-image-a}}; %% yshift and xshift for example only
\end{tikzpicture}}
}
\begin{document}
\lipsum[1-50]
\end{document}
有關詳細信息,texdoc background
請從終端。