Re: ovalbox met uitsparing
Piet van Oostrum <[email protected]>
| Newsgroups | gmane.comp.tex.dutch |
|---|---|
| Message-ID | <[email protected]> |
Dan wordt het dus zoiets:
\newsavebox{\BBL}
\newlength{\WW}\newlength{\HH}
\newcommand \bijbel[2]{
\sbox{\BBL}{\bigskip
\begin{minipage}[b]{\linewidth}%
\hspace{0.3\linewidth}%
\begin{minipage}[r]{0.6\linewidth}%
\vspace{2mm} {\LARGE #1} \\ {\large #2\par}
\vspace{2mm}
\end{minipage}
\end{minipage}\bigskip}
\setlength{\WW}{\wd\BBL}
\setlength{\HH}{\ht\BBL}
\addtolength{\HH}{\dp\BBL}
\begin{tikzpicture}
\clip [rounded corners=1cm] (0,0) rectangle (\WW,\HH);
\draw (0,\HH) node [inner sep=0pt,anchor=north west] {\includegraphics[width=2cm]{bijbel}};
\draw [ultra thick, rounded corners=1cm] (0,0) rectangle (\WW,\HH);
\draw (0,0) node [anchor=south west, inner sep=0pt] {\usebox\BBL};
\end{tikzpicture}
}
--
Piet van Oostrum <[email protected]>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
_______________________________________________
TeX-NL mailing list
[email protected]
http://www.ntg.nl/cgi-bin/mailman/listinfo/tex-nl