Rev. | 84378ef8a866ffee1b5ec74beeb0eb50e914c2f1 |
---|---|
Größe | 975 Bytes |
Zeit | 2012-07-04 04:48:23 |
Autor | Lorenzo Isella |
Log Message | I updated the parameters for a more realistic example. |
\documentclass[margin=3mm]{petiteannonce}
\usepackage{siunitx}
\usepackage{graphicx}
\usepackage{array}
\usepackage{eurosym}
\begin{document}
% modify cols and count to vary the number of columns and the number
% of rows (in the end of the day, how many times the patter is repeated)
\petiteannonce[cols=2, count=4]%
{02 99 yy yy yy }
{%
\tabcolsep=10pt\relax
\petiteannonceaddtowidth{-2\tabcolsep}%
\begin{tabular}%
{@{}m{\petiteannoncewidth{0.5}}m{\petiteannoncewidth{0.5}}@{}}
\multicolumn{2}{@{}c@{}}{\Large \dotfill Vend Baignoire enfant \dotfill }\\
\hline\\
Vend baignoire enfant.\newline
Dimensions \(\SI {80}{\centi \metre }\times \SI
{30}{\centi \metre }\)\newline
Prix 20\si{~}\euro
&
\includegraphics[width=\petiteannoncewidth{0.5}]{baignoire.jpg}
\end{tabular}
}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-PDF-mode: t
%%% End: