From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101652 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Text wrapped with an ornement Date: Sun, 19 Aug 2018 13:27:00 +0200 Message-ID: References: <2a31a0d8-1682-6dc1-6e77-ebd179b51b28@gmx.es> <4d684572-85a2-360c-eedc-79715f1b35d5@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0617945801678648797==" X-Trace: blaine.gmane.org 1534677937 8603 195.159.176.226 (19 Aug 2018 11:25:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2018 11:25:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 19 13:25:33 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1frLpq-00025w-DF for gctc-ntg-context-518@m.gmane.org; Sun, 19 Aug 2018 13:25:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4C6C55278A; Sun, 19 Aug 2018 13:27:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0z3KTc2X1Nkp; Sun, 19 Aug 2018 13:27:24 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 934D552790; Sun, 19 Aug 2018 13:27:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B9A8852790 for ; Sun, 19 Aug 2018 13:27:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ci4yIydGEtmz for ; Sun, 19 Aug 2018 13:27:22 +0200 (CEST) Original-Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id EB1A65278A for ; Sun, 19 Aug 2018 13:27:12 +0200 (CEST) Original-Received: by mail-wr1-f46.google.com with SMTP id a108-v6so7983357wrc.13 for ; Sun, 19 Aug 2018 04:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=7oybQiWuM8KLSB0MSsF+GgkK9Qcwti5KlpZZjZDnBoM=; b=VboX7KLMQ22bCewD5ED1pYV7qINNi1ywIInCogFqdBDELjppSWkLWRNbB45qMhrD6+ A3S9H7jWDX+DgZNDrpOZ34GDG6h+E5UgO0xGiqr7SBzukHUxet0Em8k9teeZ4OpJmjTw ZHbIT5eVyPs8/1hUunpdVAcWTTWiAJkzcayAImF+/geEPBoQqVPlixqdJBehC7Zq4Bw+ a4qwOOFc8vhd/kO/BukfuIJDf/wJwtAAum5sn7ROg59TXPBUX0wp32NVOuWRHxun18Lv wC9go+0GomBVYGE721tFvKrAnAyHCMicIFAmtw6lPRjS5JUghMHKup5bagciaHgisbC6 5a3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=7oybQiWuM8KLSB0MSsF+GgkK9Qcwti5KlpZZjZDnBoM=; b=ko/7P6DANHr7WIE6y5OJG2nIvPNELaFjceP7Bib7Beewn35zOeYuaGahje32XCOh2H WCdZce7o4aLgXeth9Awi2eP8851ZLf8jMjgERiHyvrJU+xM+IOnurMg9QjYU/5h6AbKN 5Mqwxkz8Uv1mRKIVLiAkVPJxWhpGX4fElLFgEsS0gTkMplwJLrDOE4X0XzxsxzkLbcBc Jj5ka1Y2zj0buNdy6H+iEDk2oBJxzM2lcDlRIRMRfTRvDtP0X9NbBTayC8plP8Aovs4y 23tPIx1vb/6Q+yuxGJUJIxQiYrrf2lrYOUrPzLxb7f8JJ7dzq/p6+GWQre1aZTYt2jhG x4ag== X-Gm-Message-State: AOUpUlFrMF6169ezJdlHmJ9iH/UTaFKjymxa0UqPPwCzjVU+z4npKu6n O03cN2wQ/ysjcyiVkS9d5gZEnqpSHGJ+CuCsumAGSOb8 X-Google-Smtp-Source: AA+uWPwTTEZVcvmvXuy+2QjyM6JJw3pt9N1nRSqiBQtJAohpchOJzllW65yEtL+6Xuii3KRVE/gr9JpfC/LUjyqZb+U= X-Received: by 2002:adf:b786:: with SMTP id s6-v6mr27248283wre.247.1534678032332; Sun, 19 Aug 2018 04:27:12 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:101652 Archived-At: --===============0617945801678648797== Content-Type: multipart/alternative; boundary="000000000000f6395a0573c81245" --000000000000f6395a0573c81245 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Hans, It's great and with alternative =3Dserried, that's exactly what I'm trying = to do ! Thanks. Fabrice PS : @Pablo Thanks for your help. Le dim. 19 ao=C3=BBt 2018 =C3=A0 12:40, Hans Hagen a = =C3=A9crit : > 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=E2=80=99m afraid I don=E2=80=99t know how to do that (if that is poss= ible with frames). > \definecolor[MyColorA][s=3D0.8784] > \definecolor[MyColorB][m=3D0.27,y=3D1] > > \defineframed > [FrameTitle] > [frame=3Doff, > foregroundstyle=3D\bfx\ss, > foregroundcolor=3Dwhite, > background=3Dcolor, > backgroundcolor=3DMyColorB, > location=3Ddepth] > > \defineframedtext > [FramedText] > [offset=3D0.6em, > style=3D\ss, > toffset=3D.25\lineheight, > background=3Dcolor, > backgroundcolor=3DMyColorA, > oregroundstyle=3D{\switchtobodyfont[10pt]}, > align=3D{right, broad}, > frame=3Doff, > corner=3Dround, > radius=3D1.5em, > width=3D10cm] > > \definedescription > [Info] > [before=3D, > after=3D, > text=3DInfo, > title=3Dno, > width=3Dfit, > distance=3D1em, > headcommand=3D\FrameTitle, > alternative=3Dhanging] > > \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 > > _________________________________________________________________________= __________ --000000000000f6395a0573c81245 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Hans,
It's great= and with alternative =3Dserried, that's exactly what I'm trying to= do !
Thanks.
Fabrice

=
<= span>PS : @Pablo Thanks for your help.

Le=C2=A0dim. 19 ao=C3=BBt 2018 =C3= =A0=C2=A012:40, Hans Hagen <j.hagen= @xs4all.nl> a =C3=A9crit=C2=A0:
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 s= tart on the same
>> baseline as the title of the ornament as in the photo.
>
> Hi Fabrice,
>
> I=E2=80=99m afraid I don=E2=80=99t know how to do that (if that is pos= sible with frames).
\definecolor[MyColorA][s=3D0.8784]
\definecolor[MyColorB][m=3D0.27,y=3D1]

\defineframed
=C2=A0 =C2=A0[FrameTitle]
=C2=A0 =C2=A0[frame=3Doff,
=C2=A0 =C2=A0 foregroundstyle=3D\bfx\ss,
=C2=A0 =C2=A0 foregroundcolor=3Dwhite,
=C2=A0 =C2=A0 background=3Dcolor,
=C2=A0 =C2=A0 backgroundcolor=3DMyColorB,
=C2=A0 =C2=A0 location=3Ddepth]

\defineframedtext
=C2=A0 =C2=A0[FramedText]
=C2=A0 =C2=A0[offset=3D0.6em,
=C2=A0 =C2=A0 style=3D\ss,
=C2=A0 =C2=A0 toffset=3D.25\lineheight,
=C2=A0 =C2=A0 background=3Dcolor,
=C2=A0 =C2=A0 backgroundcolor=3DMyColorA,
=C2=A0 =C2=A0 oregroundstyle=3D{\switchtobodyfont[10pt]},
=C2=A0 =C2=A0 align=3D{right, broad},
=C2=A0 =C2=A0 frame=3Doff,
=C2=A0 =C2=A0 corner=3Dround,
=C2=A0 =C2=A0 radius=3D1.5em,
=C2=A0 =C2=A0 width=3D10cm]

\definedescription
=C2=A0 =C2=A0[Info]
=C2=A0 =C2=A0[before=3D,
=C2=A0 =C2=A0 after=3D,
=C2=A0 =C2=A0 text=3DInfo,
=C2=A0 =C2=A0 title=3Dno,
=C2=A0 =C2=A0 width=3Dfit,
=C2=A0 =C2=A0 distance=3D1em,
=C2=A0 =C2=A0 headcommand=3D\FrameTitle,
=C2=A0 =C2=A0 alternative=3Dhanging]

\showframe

\starttext
=C2=A0 =C2=A0 \startFramedText
=C2=A0 =C2=A0 =C2=A0 =C2=A0\startInfo
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\input zapf
=C2=A0 =C2=A0 =C2=A0 =C2=A0\stopInfo
=C2=A0 =C2=A0 =C2=A0\stopFramedText
\stoptext


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 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 t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000f6395a0573c81245-- --===============0617945801678648797== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0617945801678648797==--