summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eso-pic/eso-memoir-test.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/eso-pic/eso-memoir-test.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/eso-pic/eso-memoir-test.tex')
-rw-r--r--macros/latex/contrib/eso-pic/eso-memoir-test.tex43
1 files changed, 43 insertions, 0 deletions
diff --git a/macros/latex/contrib/eso-pic/eso-memoir-test.tex b/macros/latex/contrib/eso-pic/eso-memoir-test.tex
new file mode 100644
index 0000000000..5df69f737e
--- /dev/null
+++ b/macros/latex/contrib/eso-pic/eso-memoir-test.tex
@@ -0,0 +1,43 @@
+% Rolf Niepraschk, 2015-07-14, Rolf.Niepraschk@gmx.de
+
+\setcounter{errorcontextlines}{100}
+\listfiles
+\documentclass[twoside,a4paper,showtrims]{memoir}
+%------------------------------------
+\stockaiii
+\setlength{\trimedge}{\stockwidth}
+\addtolength{\trimedge}{-\paperwidth}
+\setlength{\trimedge}{.25\trimedge}
+\setlength{\trimtop}{\stockheight}
+\addtolength{\trimtop}{-\paperheight}
+\setlength{\trimtop}{.25\trimtop}
+\checkandfixthelayout
+%------------------------------------
+\usepackage{eso-pic}
+\usepackage{pict2e,showframe}
+
+\AddToShipoutPicture{%
+ \AtPageLowerLeft{\circle*{40}}%
+ \AtPageUpperLeft{\circle*{40}}%
+ \AtTextLowerLeft{\circle*{15}}%
+ \AtTextUpperLeft{\circle*{15}}%
+ \AtStockLowerLeft{\circle*{40}}%
+ \AtStockUpperLeft{\circle*{40}}%
+ \AtStockCenter{\circle*{40}}%
+}
+
+\begin{document} \Huge \bfseries
+
+\noindent
+\hrulefill First Page\hrulefill
+\vfill
+\noindent
+X \hfill X
+\newpage
+\noindent
+\hrulefill Second Page\hrulefill
+\vfill
+\noindent
+X \hfill X
+
+\end{document}