ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text wrapped with an ornement
Date: Fri, 17 Aug 2018 13:25:03 +0200	[thread overview]
Message-ID: <9f85918a-2a0e-9e8e-72d5-e2afac618710@gmail.com> (raw)
In-Reply-To: <CACyK-erw0=fgm_viuL2O+=5A+2kX6TpjxcnVChzemrqQf1GCrw@mail.gmail.com>


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

Neither framedtext nor framed have a alternative key. You can check this 
very easy by looking into setup-en.pdf.

Wolfgang


Fabrice Couvreur schrieb am 17.08.18 um 11:24:
> Hello,
> Aditya offered me the following code to insert comments with an 
> ornament. I notice that the option alternative= serried does not seem 
> to work.
> Thank you.
> Fabrice
>
> \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,
> foregroundcolor=white,
>           background=color,
> backgroundcolor=MyColorB,
>         ]
>
>
>     \defineframedtext
> [FramedText]
>       [
>         offset=0.6em,
> toffset=\lineheight,
>         background=color,
> backgroundcolor=MyColorA,
> foregroundstyle={\switchtobodyfont[10pt]},
> align=verytolerant,
>         alternative=serried, % text wrapped
> frame=off,
>         corner=round,
>       ]
>
>     \showframe
>
> \starttext
>
> \FrameTitle{Info}{\startFramedText[width=\textwidth]
> \dorecurse{100}{blabla}
>         \stopFramedText}
>
>     \stoptext


[-- Attachment #1.2: Type: text/html, Size: 2381 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-17 11:25 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 [this message]
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
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=9f85918a-2a0e-9e8e-72d5-e2afac618710@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=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).