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
___________________________________________________________________________________

Reply via email to