summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/dvipdfmx-def/doc/image1.tex
blob: a9e2db41bec7302f0f8a7725ec18eff1625b849f (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
%!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}