ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Speech bubbles
Date: Tue, 8 Feb 2011 17:38:31 +0100	[thread overview]
Message-ID: <03F2D2BE-0906-4ACA-8DE2-D9E45FA13EA1@gmail.com> (raw)
In-Reply-To: <E38F4588-B8E0-444E-9C1D-68089E199F56@uni-koblenz.de>


Am 08.02.2011 um 17:08 schrieb Andreas Harder:

> This worked for me.

Thanks, i wrapped it in a environment.

\usemodule[tikz,annotation]
\usetikzlibrary[shapes.callouts]

\define[2]\SpeechbubbleCommand
  {\starttikzpicture[remember picture]
   \node[rectangle callout, draw] (node:ref) {\framedtext[width=fit,frame=off]{#2}};
   \stoptikzpicture}

\defineannotation
  [speechbubble]
  [alternative=command,
       command=\SpeechbubbleCommand]

\starttext

\speechbubble{Hello!}

\startspeechbubble
\input ward
\stopspeechbubble

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-02-08 16:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 17:12 Ian Lawrence
2011-02-03  8:39 ` Wolfgang Schuster
2011-02-03 15:09   ` Ian Lawrence
2011-02-03 17:38     ` Philipp A.
2011-02-03 21:16       ` Wolfgang Schuster
2011-02-03 22:49         ` Philipp A.
2011-02-08 12:09           ` Philipp A.
2011-02-08 15:44             ` Wolfgang Schuster
2011-02-08 16:08               ` Andreas Harder
2011-02-08 16:38                 ` Wolfgang Schuster [this message]
2011-02-08 20:06                   ` Otared Kavian
2011-02-08 20:14                     ` Wolfgang Schuster
2011-02-10  4:57                       ` Otared Kavian
2011-02-10 10:23                 ` Otared Kavian
2011-02-10 13:06                   ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03F2D2BE-0906-4ACA-8DE2-D9E45FA13EA1@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).