ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text wrapped with an ornement
Date: Sat, 18 Aug 2018 23:51:46 +0200	[thread overview]
Message-ID: <CACyK-eoEXqPkfOyXD7m3G=DdGsZ+-EsFC=Tr9Q05AznFyWqfeg@mail.gmail.com> (raw)
In-Reply-To: <4d684572-85a2-360c-eedc-79715f1b35d5@gmx.es>


[-- Attachment #1.1: Type: text/plain, Size: 2399 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 4345 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

  reply	other threads:[~2018-08-18 21:51 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 [this message]
2018-08-19  9:47             ` Pablo Rodriguez
2018-08-19 10:39               ` Hans Hagen
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='CACyK-eoEXqPkfOyXD7m3G=DdGsZ+-EsFC=Tr9Q05AznFyWqfeg@mail.gmail.com' \
    --to=fabrice1.couvreur@gmail.com \
    --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).