summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/image1.tex28
-rw-r--r--Master/texmf-dist/doc/latex/xetex-def/doc/image2.tex28
2 files changed, 56 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/image1.tex b/Master/texmf-dist/doc/latex/xetex-def/doc/image1.tex
new file mode 100644
index 00000000000..a9e2db41bec
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/image1.tex
@@ -0,0 +1,28 @@
+%!pdflatex
+\documentclass{article}
+% The papersize is set to 250bp x 250bp, which will
+% make the MediaBox equal [0 0 250 250].
+\usepackage[papersize=250bp,margin=0pt,noheadfoot]{geometry}
+\usepackage{tikz}
+\pagestyle{empty}
+% No compression; PDF version still might be 1.5.
+\pdfcompresslevel=0
+\pdfobjcompresslevel=0
+\setlength{\parindent}{0pt}
+\begin{document}
+\pdfpageattr{%
+% Enable or disable each of the following lines.
+%/CropBox [30 30 220 100]
+/BleedBox [5 45 170 200]
+/TrimBox [70 20 150 120]
+/ArtBox [60 10 100 150]
+}
+\begin{tikzpicture}[x=1bp,y=1bp,inner sep=0pt,color=red,thick]
+\useasboundingbox(0,0) rectangle (250,250);
+\draw ( 0, 0) node[anchor=south west] {M} rectangle (250,250) node[anchor=north east] {M};
+%\draw (30,30) node[anchor=south west] {C} rectangle (220,100) node[anchor=north east] {C};
+\draw ( 5,45) node[anchor=south west] {B} rectangle (170,200) node[anchor=north east] {B};
+\draw (70,20) node[anchor=south west] {T} rectangle (150,120) node[anchor=north east] {T};
+\draw (60,10) node[anchor=south west] {A} rectangle (100,150) node[anchor=north east] {A};
+\end{tikzpicture}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/xetex-def/doc/image2.tex b/Master/texmf-dist/doc/latex/xetex-def/doc/image2.tex
new file mode 100644
index 00000000000..11363bc89f7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xetex-def/doc/image2.tex
@@ -0,0 +1,28 @@
+%!pdflatex
+\documentclass{article}
+% The papersize is set to 250bp x 250bp, which will
+% make the MediaBox equal [0 0 250 250].
+\usepackage[papersize=250bp,margin=0pt,noheadfoot]{geometry}
+\usepackage{tikz}
+\pagestyle{empty}
+% No compression; PDF version still might be 1.5.
+\pdfcompresslevel=0
+\pdfobjcompresslevel=0
+\setlength{\parindent}{0pt}
+\begin{document}
+\pdfpageattr{%
+% Enable or disable each of the following lines.
+/CropBox [30 30 220 100]
+/BleedBox [5 45 170 200]
+/TrimBox [70 20 150 120]
+/ArtBox [60 10 100 150]
+}
+\begin{tikzpicture}[x=1bp,y=1bp,inner sep=0pt,color=red,thick]
+\useasboundingbox(0,0) rectangle (250,250);
+\draw ( 0, 0) node[anchor=south west] {M} rectangle (250,250) node[anchor=north east] {M};
+\draw (30,30) node[anchor=south west] {C} rectangle (220,100) node[anchor=north east] {C};
+\draw ( 5,45) node[anchor=south west] {B} rectangle (170,200) node[anchor=north east] {B};
+\draw (70,20) node[anchor=south west] {T} rectangle (150,120) node[anchor=north east] {T};
+\draw (60,10) node[anchor=south west] {A} rectangle (100,150) node[anchor=north east] {A};
+\end{tikzpicture}
+\end{document}