summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-20 10:31:02 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-11-20 10:31:02 +0000
commit971a4c28d717ab58e5bd3394f497e1cede329128 (patch)
treeede8a3e0a2c8f4f6bfd72b2a721ebe26173d2b3b /Master/texmf-dist/doc/latex/eso-pic
parent8adcbb22e1cf5bc268e25ed3fb3961cce1ef1cc1 (diff)
eso-pic update (2009/10/07 v2.0a)
git-svn-id: svn://tug.org/texlive/trunk@16100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/eso-pic')
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/README17
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-article-test.tex34
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex5
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex11
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex2
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex8
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-memoir-test.tex41
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdfbin148673 -> 260855 bytes
9 files changed, 89 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/latex/eso-pic/README b/Master/texmf-dist/doc/latex/eso-pic/README
deleted file mode 100644
index 1d412f8f0da..00000000000
--- a/Master/texmf-dist/doc/latex/eso-pic/README
+++ /dev/null
@@ -1,17 +0,0 @@
-
-The `eso-pic' package
-
-This package makes it easy to add some picture commands to every page.
-
- eso-pic.dtx -- the source file
- eso-pic.ins -- unpack `eso-pic.dtx' with `tex eso-pic.ins'
- eso-ex1.tex,
- eso-ex2.tex,
- eso-ex3.tex,
- eso-ex4.tex,
- eso-ex5.tex -- Some LaTeX examples
-
-To produce the documentation run eso-pic.dtx through LaTeX.
-
- Rolf Niepraschk
- niepraschk@ptb.de
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-article-test.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-article-test.tex
new file mode 100644
index 00000000000..b35d69a4054
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-article-test.tex
@@ -0,0 +1,34 @@
+
+\listfiles
+\documentclass[a4paper,twoside]{article}
+
+\usepackage{eso-pic}
+\usepackage{pict2e,showframe,xcolor}
+
+\AddToShipoutPicture{%
+ \AtPageLowerLeft{\circle*{40}}%
+ \AtPageUpperLeft{\circle*{40}}%
+ \AtPageCenter{\circle*{40}}%
+ \AtTextLowerLeft{\circle*{15}}%
+ \AtTextUpperLeft{\circle*{15}}%
+ \color{red}%
+ \AtStockLowerLeft{\circle*{20}}%
+ \AtStockUpperLeft{\circle*{20}}%
+ \AtStockCenter{\circle*{20}}%
+}
+
+\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}
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex
index 8c4c78956df..98824b7f602 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex1.tex
@@ -1,6 +1,6 @@
% file `eso-ex1.tex'; a framed background example
-% Rolf Niepraschk, 2001-07-20, niepraschk@ptb.de
+% Rolf Niepraschk, 2005-12-25, Rolf.Niepraschk@ptb.de
\documentclass[a4paper]{article}
\usepackage{eso-pic,calc}
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex
index eb1966ec604..2874ca477d0 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex2.tex
@@ -1,10 +1,9 @@
% file `eso-ex2.tex'; an example for background pictures
-% Rolf Niepraschk, 2002-07-27, niepraschk@ptb.de
+% Rolf Niepraschk, 2005-12-25, Rolf.Niepraschk@ptb.de
\listfiles
\documentclass{article}
-%\usepackage{eso-pic}
\usepackage{eso-pic}
\usepackage{graphicx}
\usepackage[dvips]{geometry}
@@ -13,7 +12,7 @@
% `rose.eps' from CTAN: macros/generic/boxedeps/
\newcommand\BackgroundPicture{%
\put(0,0){%
- \parbox[b][\paperheight]{\paperwidth}{%
+ \parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=\paperwidth,height=\paperheight,%
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
index fff4b73adc3..ccbb75f2b86 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex3.tex
@@ -1,10 +1,11 @@
% file `eso-ex3.tex'; an example for import pages of another (pdf) document.
+% This works only with `pdfTeX' (maybe `VTeX'?).
% Based on an article from Andreas Matthias <amat@kabsi.at> in d.c.t.t
%
% A much better solution is Andreas' package `pdfpages'.
%
-% Rolf Niepraschk, 2001/07/21, niepraschk@ptb.de
+% Rolf Niepraschk, 2005-12-25, Rolf.Niepraschk@ptb.de
\documentclass[a4paper]{article}
\usepackage[pdftex]{graphicx}%
@@ -16,15 +17,15 @@
{%
\setcounter{thispdfpage}{#2}\setcounter{afterlastpdfpage}{#3+1}%
\newpage
- \whiledo{\value{thispdfpage} < \value{afterlastpdfpage}}
+ \whiledo{\value{thispdfpage} < \value{afterlastpdfpage}}%
{%
\AddToShipoutPicture*
{%
\put(0,0){%
- \includegraphics[width=\paperwidth,height=\paperheight,%
- keepaspectratio,page=\arabic{thispdfpage}]{#1}}
+ \includegraphics[width=\paperwidth,height=\paperheight,%
+ keepaspectratio,page=\arabic{thispdfpage}]{#1}}%
}
- \thispagestyle{empty}\mbox{}\newpage%
+ \thispagestyle{empty}\mbox{}\newpage
\stepcounter{thispdfpage}%
}
}
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex
index 580fd062f21..fed7e016740 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex
@@ -1,6 +1,6 @@
% file `eso-ex4.tex'; a framed text area example
-% Rolf Niepraschk, 2002-09-03, niepraschk@ptb.de
+% Rolf Niepraschk, 2005-12-25, Rolf.Niepraschk@ptb.de
\listfiles\errorcontextlines=100
\documentclass[a4paper,twoside]{article}
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex
index 33b31c2a9e5..26c4f1033ba 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex5.tex
@@ -1,8 +1,8 @@
% file `eso-ex5.tex'; background grid example
-% Rolf Niepraschk, 2002-11-16, niepraschk@ptb.de
+% Rolf Niepraschk, 2005-12-25, Rolf.Niepraschk@ptb.de
-\listfiles
+\listfiles\errorcontextlines=100
\documentclass[a4paper,twoside]{article}
% 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
@@ -12,11 +12,11 @@
\usepackage[dvips]{geometry}
% `dvips', `pdfTeX' and `VTeX' should know the papersize.
-\usepackage[colorgrid,gridunit=mm]{eso-pic}
+\usepackage[colorgrid,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}}
+\newcommand*\cmd[1]{\texttt{\symbol{`\\}#1}}
\AddToShipoutPicture{%
\thicklines\normalfont\ttfamily\Large%
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-memoir-test.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-memoir-test.tex
new file mode 100644
index 00000000000..17343367b01
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-memoir-test.tex
@@ -0,0 +1,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}
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
index be806e8c194..3d38963ab8d 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-pic.pdf
Binary files differ