From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text wrapped with an ornement
Date: Sun, 19 Aug 2018 12:39:48 +0200 [thread overview]
Message-ID: <f4df1484-4325-dd73-7ef2-6770f44968c7@xs4all.nl> (raw)
In-Reply-To: <c3a19be4-b79f-1c5f-1f1b-9beacc91b084@gmx.es>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2018-08-19 10:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-17 9:24 Fabrice Couvreur
2018-08-17 11:25 ` Wolfgang Schuster
2018-08-17 15:31 ` Pablo Rodriguez
2018-08-17 23:08 ` Fabrice Couvreur
2018-08-18 8:17 ` Pablo Rodriguez
2018-08-18 9:11 ` Fabrice Couvreur
2018-08-18 11:25 ` Pablo Rodriguez
2018-08-18 21:51 ` Fabrice Couvreur
2018-08-19 9:47 ` Pablo Rodriguez
2018-08-19 10:39 ` Hans Hagen [this message]
2018-08-19 11:27 ` Fabrice Couvreur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f4df1484-4325-dd73-7ef2-6770f44968c7@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).