[NTG-context] Text wrapped with an ornement

Fabrice Couvreur fabrice1.couvreur at gmail.com
Sat Aug 18 23:51:46 CEST 2018


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.
Thanks.
Fabrice

Info  Coming back ...
blablablablabla

Le sam. 18 août 2018 à 13:26, Pablo Rodriguez <oinos at gmx.es> a écrit :

> On 08/18/2018 11:11 AM, Fabrice Couvreur wrote:
> > Hi Pablo,
> > These options are to be added to \defineframedtext [] [] ?
> > Without success at home !
>
> Hi Fabrice,
>
> your sample should read:
>
>     \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
>         \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00]
>
>         \defineornament
>             [FrameTitle]
>             [preset=lefttop]
>             [
>               frame=off,
>               foregroundstyle=\bfx\ss,
>               foregroundcolor=white,
>               background=color,
>               backgroundcolor=MyColorB,
>             ]
>
>         \defineframedtext
>           [FramedText]
>           [
>             offset=0.6em,
>             style=\ss,
>             toffset=\lineheight,
>             background=color,
>             backgroundcolor=MyColorA,
>             foregroundstyle={\switchtobodyfont[10pt]},
>             align={right, broad},
>             frame=off,
>             corner=round,
>             radius=1.5em,
>             width=10cm,
>           ]
>
>         \showframe
>
>         \starttext
>
>            \FrameTitle{Info}{%
>            \startFramedText%
>               \input zapf
>             \stopFramedText}
>
>         \stoptext
>
> The width option works now, because I didn’t realize that your sample
> had it right after the "\startFramedText" command.
>
> I hope it helps now. If anything is not working as you expect, please
> explain what should be different.
>
> Pablo
> --
> http://www.ousia.tk
>
> ___________________________________________________________________________________
> 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/20180818/6409c408/attachment.html>


More information about the ntg-context mailing list