* Combining "outer" effect with filled glyphs
@ 2014-09-30 9:45 Mojca Miklavec
2014-09-30 9:52 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Mojca Miklavec @ 2014-09-30 9:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I would like to get red text with black outlines.
The magic in ConTeXt that does the outline is
\starteffect[outer] Something \stopeffect
but I would like to combine normal filled glyphs with an outline.
While I'm able to come up with some magic to do this for single lines
(creating zero width hboxes etc.), I would really like to typeset a
complete paragraph on a poster.
Is there any magic that would allow me to do that?
Thank you,
Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Combining "outer" effect with filled glyphs
2014-09-30 9:45 Combining "outer" effect with filled glyphs Mojca Miklavec
@ 2014-09-30 9:52 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-09-30 9:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 9/30/2014 11:45 AM, Mojca Miklavec wrote:
> Hi,
>
> I would like to get red text with black outlines.
>
> The magic in ConTeXt that does the outline is
> \starteffect[outer] Something \stopeffect
> but I would like to combine normal filled glyphs with an outline.
>
> While I'm able to come up with some magic to do this for single lines
> (creating zero width hboxes etc.), I would really like to typeset a
> complete paragraph on a poster.
>
> Is there any magic that would allow me to do that?
\starttext
\startbuffer[test]
\input tufte
\stopbuffer
\startoverlay
{\framed[align=normal,foregroundstyle=\bfd,foregroundcolor=blue]{\starteffect[inner]\getbuffer[test]\stopeffect}}
{\framed[align=normal,foregroundstyle=\bfd,foregroundcolor=red]
{\starteffect[outer]\getbuffer[test]\stopeffect}}
\stopoverlay
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-30 9:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-30 9:45 Combining "outer" effect with filled glyphs Mojca Miklavec
2014-09-30 9:52 ` Hans Hagen
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).