summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic/eso-memoir-test.tex
blob: 17343367b015f171585c946f882f7266542edd44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
\errorcontextlines=100\relax
\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}