我喜欢将 url 放在左/右边距并像 arXiv 一样垂直对齐(见下图)。
以下是 MWE:
\documentclass[10pt,a4paper]{article}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}
答案1
一种方法是使用background
包:
代码:
\documentclass[10pt,a4paper]{article}
\usepackage[all]{background}
\usepackage{url}
\usepackage{lipsum}
\SetBgContents{\url{http://tex.stackexchange.com/}}% Set contents
\SetBgPosition{current page.west}% Select location
\SetBgVshift{-1.0cm}% Add vertical shift (results in a shift in x direction due to rotation)
\SetBgOpacity{1.0}% Select opacity
\SetBgAngle{90.0}% Select rotation of logo
\SetBgScale{2.0}% Select scale factor of logo
\begin{document}
\lipsum[1-7]
\end{document}
答案2
我通常使用和的组合eso-pic
,因为它易于调整位置、角度和大小。graphicx
rotating
\documentclass[12pt]{scrartcl}
\usepackage{blindtext}
\usepackage{eso-pic, rotating, graphicx}
\AddToShipoutPicture{\put(30,200){\rotatebox{90}{\scalebox{3}{Examiners copy}}}}
\begin{document}
\blindtext[4]
\end{document}