ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with framed text.
Date: Sun, 22 Feb 2015 20:52:29 +0100	[thread overview]
Message-ID: <F77439C0-4A41-4B81-8CB7-790C35D2D0C5@gmail.com> (raw)
In-Reply-To: <20150222125605.51996c73@localb.wexfordpress.net>


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


> Am 22.02.2015 um 18:56 schrieb John Culleton <John@wexfordpress.com>:
> 
> On Sun, 22 Feb 2015 15:57:48 +0100
> Pablo Rodriguez <oinos@gmx.es <mailto:oinos@gmx.es>> wrote:
> 
>> On 02/22/2015 01:55 PM, John Culleton wrote:
>>> On Sat, 21 Feb 2015 14:16:31 -0500 Aditya
>>> Mahajan wrote:
>>>> [...]
>>>> There should be a comma after 0.1.
>>> 
>>> With respect, I don't think so. Commas
>>> separate parameters. the last "0.1" is
>>> properly followed by a "]".
>> 
>> Hi John,
>> 
>> this should work:
>> 
>> \setupframed[framecorner=round,
>> frameradius=0.1em,
>> background=screen,
>> backgroundscreen=0.70,
>> backgroundcorner=round,
>> backgroundradius=0.1em,
>> corner=round,
>> radius=0.1em]
>> 
>> Radius, framedradius and backgroundradius
>> expect dimensions as values, not mere numbers.
>> 
>> BTW, having a sample that shows the problem
>> increases the reply speed :-).
>> 
>> I hope it helps,
>> 
>> 
>> Pablo
> You had the cure.
> 
> I built a sample and then played with the em
> value. Lacking precise guidance I thought that
> the value was one of those 0 to 1 ranges. Not so.
> setting at 1.0 em gives me what I was looking
> for.  The setting 0.1 em gave me rounding that was
> imperceptible without magnification. 
> 
> Here is my successful sample:
> -------------------------------------
> \setupframed

Use \setupframedtext to change the layout of \startframedtext.

> [framecorner=round,
> frameradius=1em,

The “frameradius” setting can be omitted because you set “radius”.

> background=screen,
> backgroundscreen=0.70,
> backgroundcorner=round,
> backgroundradius=1em,

The “backgroundcorner” and “backgroundradius” settings can be omitted as well because you set “corner” and “radius”.

> corner=round,
> radius1em]

Missing “=” between “radius” and “1em”.

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-02-22 19:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 17:35 John Culleton
2015-02-21 19:16 ` Aditya Mahajan
2015-02-22 12:55   ` John Culleton
2015-02-22 14:57     ` Pablo Rodriguez
2015-02-22 17:56       ` John Culleton
2015-02-22 19:52         ` Wolfgang Schuster [this message]
2015-02-25 12:27         ` Problem with framed text.--addendum John Culleton
2015-02-22 15:04     ` Problem with framed text Alan BRASLAU

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=F77439C0-4A41-4B81-8CB7-790C35D2D0C5@gmail.com \
    --to=schuster.wolfgang@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).