-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheso-ex5-pt.tex
47 lines (37 loc) · 1.5 KB
/
eso-ex5-pt.tex
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
44
45
46
47
% based on `eso-ex5.tex' in eso-pic
% -- background grid example by Rolf Niepraschk
\ifx\AddToHook\undefined
\RequirePackage{plautopatch}% pxatbegshi
\fi
\listfiles\setcounter{errorcontextlines}{100}
\documentclass[a4paper,twoside]{tarticle}
% a4paper = 210mm x 297mm = 596bp x 842bp = 8.27in x 11.69in
% letterpaper = 215.9mm x 279.4mm = 612bp x 792bp = 8.5in x 11in
%\usepackage[a3,center]{crop}
\usepackage{lltjp-geometry}
\usepackage[colorgrid,gridBG=true,gridunit=mm,texcoord]{eso-pic}
%\usepackage[colorgrid,gridunit=in,subgridcolor=blue,texcoord]{eso-pic}
%\usepackage[grid,gridunit=bp,subgridstyle=dotted]{eso-pic}
\newcommand*\cmd[1]{\texttt{\symbol{`\\}#1}}
\AddToShipoutPicture{%
\thicklines\normalfont\ttfamily\Large%
\color{blue}\setlength\unitlength{1mm}%
\AtTextCenter{\circle*{6}%
\put(-2,0){\makebox(0,0)[lb]{\cmd{AtTextCenter}}}}%
\AtTextUpperLeft{\circle*{6}%
\put(-2,5){\makebox(0,0)[lt]{\cmd{AtTextUpperLeft}}}}%
\AtTextLowerLeft{\circle*{6}%
\put(-2,-5){\makebox(0,0)[lb]{\cmd{AtTextLowerLeft}}}}%
\color{red}%
\AtPageCenter{\circle*{6}%
\put(-2,0){\makebox(0,0)[lt]{\cmd{AtPageCenter}}}}%
\AtPageUpperLeft{\circle*{6}%
\put(-2,-5){\makebox(0,0)[lb]{\cmd{AtPageUpperLeft}}}}%
\AtPageLowerLeft{\circle*{6}%
\put(-2,5){\makebox(0,0)[lt]{\cmd{AtPageLowerLeft}}}}%
}
\setlength\parindent{0pt}
\begin{document} \Huge \bfseries
\hrulefill First Page\hrulefill \vfill X \hfill X \newpage
\hrulefill Second Page\hrulefill \vfill X \hfill X
\end{document}