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@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
___________________________________________________________________________________