答案1
我想到了一个解决方案,这是一次冒险。值得注意的是,景观让一切都变得困难。你真的需要使用而\usepackage[landscape]{geometry}
不是包,pdflscape
因为有些东西会跑出来并弄乱边缘。
\documentclass{article}
%https://tex.stackexchange.com/questions/91105/
\usepackage[landscape]{geometry}
\usepackage{tikz}
\usepackage{lipsum}
\usetikzlibrary{calc}
\makeatletter
\ifpdf
\else
\ifGm@landscape
\def\pgf@sys@pdf@mark@pos@pgfpageorigin{\pgfqpoint{0sp}{11840716sp}}
\fi
\fi
\makeatother
\begin{document}
\pagestyle{empty}
\lipsum[1-4]
\begin{tikzpicture}[remember picture,overlay]
\draw [line width=2pt,rounded corners=8pt]
($ (current page.north west) + (1.5cm,-1.5cm) $)
rectangle
($ (current page.south east) + (-1.5cm,1.5cm) $);
\draw [line width=1pt,rounded corners=8pt]
($ (current page.north west) + (1.6cm,-1.6cm) $)
rectangle
($ (current page.south east) + (-1.6cm,1.6cm) $);
\end{tikzpicture}
\end{document}
结果足够接近,并且可以继续使用。