[pstricks] wrapping text around pspictures

Peter Breitfeld phbrf at t-online.de
Sat Sep 22 10:49:18 CEST 2007


Am 22. Sep 2007 um 10:07 schrieb bereket T:

> Hi everyone.
>
> Is it possible to wrap texts around a pspicture in a document? Can  
> I use captions without using a floating micro like “figure?”
>
> Thanks very much.
>
> Bereket
>
>
> Be a better Globetrotter. Get better travel answers from someone  
> who knows.
> Yahoo! Answers - Check it out.

I use the following macros to to make captions outside a floating  
environment. They work like caption, except that the optional  
argument must not start with a dot.

\newcommand{\figcaption}[2][.]{%
   \def\@captype{figure}\if#1.\caption{#2}\else\caption[#1]{#2}\fi}
\newcommand{\tabcaption}[2][.]{%
   \def\@captype{table}\if#1.\caption{#2}\else\caption[#1]{#2}\fi}



Gruß Peter
--
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld                 | http://www.pBreitfeld.de
Kreuzgasse 4, 88348 Bad Saulgau | PGP/GPG Key gibt's hier






More information about the PSTricks mailing list