ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: Pavneet Arora <pavneet_arora@waroc.com>
Cc: ConTeXt Mailing list <ntg-context@ntg.nl>
Subject: Re: Ka-Pow comic book effect?
Date: Mon, 18 Jul 2016 10:26:13 -0600	[thread overview]
Message-ID: <20160718102613.065b0f6d@cea.fr> (raw)
In-Reply-To: <20160718155938.24A4086C0D9@charkha.pavastupa.com>

On Mon, 18 Jul 2016 11:59:42 -0400
Pavneet Arora <pavneet_arora@waroc.com> wrote:

> Would anyone have a template on how to create a comic book “Ka-Pow”
> effect (or something similar) as per:
> 
> http://thumb101.shutterstock.com/display_pic_with_logo/752857/180152483/stock-vector-ka-pow-comic-speech-bubble-cartoon-180152483.jpg
> 
> I would like to use it for one of my slides for my talk at TUG 2016.


\startreusableMPgraphic{star}
  fill dir(90)--dir(-60)--dir(150)--dir(30)--dir(-120)--cycle
    xscaled \overlaywidth yscaled \overlayheight
    scaled 3/4
    withcolor \MPcolor{\overlaycolor} ;
\stopreusableMPgraphic

\defineoverlay [star] [\reuseMPgraphic{star}]

\starttext

\startframed
[frame=off,background=star,backgroundcolor=lightgray,align=text] Wow\\
a star!
\stopframed

\stoptext


You get the idea... (but keep in mind Edward Tufte's Phluff factor).

Alan
___________________________________________________________________________________
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:[~2016-07-18 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 15:59 Pavneet Arora
2016-07-18 16:26 ` Alan BRASLAU [this message]

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=20160718102613.065b0f6d@cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    --cc=pavneet_arora@waroc.com \
    /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).