summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mwe/example-image-plain.tex
blob: eec060bd9bc98fbf366764256c4d8fbf2d147a3b (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
%    \begin{macrocode}
%</example-image-plain.tex>
%<*example-image-plain.tex&standalone>
\documentclass[border=0]{standalone}
\usepackage{tikz}
\begin{document}%
%</example-image-plain.tex&standalone>
%<*example-image-plain.tex>
\begin{tikzpicture}[x=32bp,y=24bp]% 4x3
    \clip (0,0) rectangle (10,10);
    \path [fill=black!25] (0,0) rectangle (10,10);
    \draw [thick,black!40]
        (0,0) -- (10,10)
        (10,0) -- (0,10)
        (5,0) -- (5,10)
        (0,5) -- (10,5)
    ;
    \path [draw,ultra thick] (0,0) rectangle (10,10);
\end{tikzpicture}%
%</example-image-plain.tex>
%<*example-image-plain.tex&standalone>
\end{document}%
%</example-image-plain.tex&standalone>
%<*example-image-plain.tex>
%    \end{macrocode}