summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic/eso-memoir-test.tex
blob: 5df69f737e488b9fd4445d81e84a4a2088e599b5 (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
42
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}