summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mwe/example-image-4x3.tex
blob: f07fb811df7c5d7558930ea438ee27dd17349310 (plain)
1
2
3
4
5
6
7
8
\begin{tikzpicture}[x=16bp,y=12bp]%
    \clip (0,0) rectangle (10,10);
    \path [draw,fill=black!25,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 \llap{4}$\times$\rlap{3}}
       node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 160$\times$120 bp)}
    ;
\end{tikzpicture}%