summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mwe/example-image.tex
blob: eabebe1c44e014e4d49cefd77d25c10a864758d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\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);
    \path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in
       node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont Image}
    ;
\end{tikzpicture}%