[NTG-context] Text wrapped with an ornement

Fabrice Couvreur fabrice1.couvreur at gmail.com
Sun Aug 19 13:27:00 CEST 2018


Hi Hans,
It's great and with alternative =serried, that's exactly what I'm trying to
do !
Thanks.
Fabrice

PS : @Pablo Thanks for your help.

Le dim. 19 août 2018 à 12:40, Hans Hagen <j.hagen at xs4all.nl> a écrit :

> On 8/19/2018 11:47 AM, Pablo Rodriguez wrote:
> > On 08/18/2018 11:51 PM, Fabrice Couvreur wrote:
> >> Hi Palbo,
> >> In fact I want the text '' Coming back ... '' to start on the same
> >> baseline as the title of the ornament as in the photo.
> >
> > Hi Fabrice,
> >
> > I’m afraid I don’t know how to do that (if that is possible with frames).
> \definecolor[MyColorA][s=0.8784]
> \definecolor[MyColorB][m=0.27,y=1]
>
> \defineframed
>    [FrameTitle]
>    [frame=off,
>     foregroundstyle=\bfx\ss,
>     foregroundcolor=white,
>     background=color,
>     backgroundcolor=MyColorB,
>     location=depth]
>
> \defineframedtext
>    [FramedText]
>    [offset=0.6em,
>     style=\ss,
>     toffset=.25\lineheight,
>     background=color,
>     backgroundcolor=MyColorA,
>     oregroundstyle={\switchtobodyfont[10pt]},
>     align={right, broad},
>     frame=off,
>     corner=round,
>     radius=1.5em,
>     width=10cm]
>
> \definedescription
>    [Info]
>    [before=,
>     after=,
>     text=Info,
>     title=no,
>     width=fit,
>     distance=1em,
>     headcommand=\FrameTitle,
>     alternative=hanging]
>
> \showframe
>
> \starttext
>     \startFramedText
>        \startInfo
>          \input zapf
>        \stopInfo
>      \stopFramedText
> \stoptext
>
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180819/2bb314c0/attachment.html>


More information about the ntg-context mailing list