[pstricks] word balloons
Piet Groeneboom
P.Groeneboom at ewi.tudelft.nl
Tue Aug 29 18:17:14 CEST 2006
[pstricks] Re: Word Balloons
Paul Smith phhs80 at gmail.com
Sat Sep 17 23:28:36 CEST 2005
Previous message: [pstricks] Re: Word Balloons
Next message: [pstricks] Graphing function containing a parameter
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/17/05, Herbert Voss <LaTeX at zedat.fu-berlin.de> wrote:
> > I haven't seen anything in PSTricks for creating word balloons
(used in cartoons to show the
> > thoughts or speech of a character). I believe PowerPoint has
word balloons. Does anyone
> > know of anything from PSTricks?
>
> \documentclass[12pt]{article}
> \usepackage{pstricks,pst-node}
> %
> \makeatletter
> \def\psWordBallon{\pst at object{psWordBallon}}
> \def\psWordBallon at i(#1)(#2)#3#4{{%
> \use at par
> \pst at killglue
> \pnode(#2){WB at end}
> \rput(#1){\ovalnode{WB at center}{\parbox{#3}{#4}}}
>
> \nccurve[doubleline=true,doublesep=5pt,arrows=->,fillstyle=none]
{WB at center}{WB at end}
> \ignorespaces
> }}
> \makeatother
> \parindent=0pt
> \begin{document}
>
> \psWordBallon[angleB=100,angleA=-30](0,0)(3,-3){3cm}{Let's see
what we
> can see in this Word Ballon \ldots}
> \psWordBallon
[angleB=140,angleA=-90,linecolor=red,fillstyle=solid,fillcolor=cyan]
(5,0)(4,-6){2cm}%
> {\raggedright Let's see what we can see in this Word Ballon
\ldots}
>
> \vspace{6cm}
> Syntax: \verb+\psWordBallon[options](text center)(arrow end){text
> width}{text}+
>
> \end{document}
I tried this out, but got the error message:
! Use of \psWordBallon doesn't match its definition.
l.17 \psWordBallon[
angleB=140,angleA=-90,linecolor=red,fillstyle=solid,fillc...
Piet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20060829/adfa8905/attachment.html
More information about the PSTricks
mailing list