From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: framed items
Date: Tue, 17 Nov 2009 10:32:20 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.01.0911171030550.14253@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <fe8d59da0911162152w53406cd6h3c4d820cdf3de447@mail.gmail.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1357 bytes --]
On Tue, 17 Nov 2009, luigi scarso wrote:
> On Tue, Nov 17, 2009 at 12:24 AM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
>> from pack-rul:
>>
>> \else\ifx\localwidth\v!broad
>> \boxhaswidthtrue
>> \!!framedwidth\hsize
>> \else\ifx\localwidth\v!local
>> \boxhaswidthtrue
>> \setlocalhsize
>> \!!framedwidth\localhsize
>>
>> use \framed[width=local] and don't forget \setlocalhsize after \startitemize.
> yes, right. I remembered of something similar
> That's what I mean with not sure that \hsize and \startitemize must
> play well together
>
>
> \showframe
> \starttext
> \framed[width=\hsize,align=middle]{width=hsize\the\hsize}
> \startitemize
> \setlocalhsize
> \item \framed[width=\hsize,align=middle] {width=hsize,hsize=\the\hsize}
> \item \framed[width=broad,align=middle] {width=broad,hsize=\the\hsize}
> \item \framed[width=local,align=middle] {width=local,hsize=\the\hsize}
> \item \framed[width=\localhsize,align=middle]{width=localsize,hsize=\the\hsize,localsize=\the\localhsize}
> \stopitemize
> \stoptext
>
> Aditya, what do you think ?
I did not know about width=local (and therefore wanted width=broad to
behave like it). Given that, I think that broad behaves just fine. These
differnt options need to be documented better.
Aditya
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-11-17 15:32 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 8:21 Thomas A. Schmitz
2009-11-16 8:33 ` Aditya Mahajan
2009-11-16 8:41 ` Thomas A. Schmitz
2009-11-16 8:45 ` Wolfgang Schuster
2009-11-16 8:47 ` Aditya Mahajan
2009-11-16 8:55 ` Wolfgang Schuster
2009-11-16 9:09 ` Thomas A. Schmitz
2009-11-16 9:16 ` Wolfgang Schuster
2009-11-16 9:26 ` luigi scarso
2009-11-16 9:12 ` Aditya Mahajan
2009-11-16 9:14 ` luigi scarso
2009-11-16 9:17 ` Aditya Mahajan
2009-11-16 9:27 ` luigi scarso
2009-11-16 20:58 ` luigi scarso
2009-11-16 21:29 ` Aditya Mahajan
2009-11-16 21:46 ` luigi scarso
2009-11-16 21:56 ` Wolfgang Schuster
2009-11-16 21:58 ` Aditya Mahajan
2009-11-16 22:20 ` luigi scarso
2009-11-16 22:31 ` luigi scarso
2009-11-16 22:36 ` Wolfgang Schuster
2009-11-16 22:42 ` luigi scarso
2009-11-16 22:49 ` luigi scarso
2009-11-16 23:01 ` Wolfgang Schuster
2009-11-16 23:19 ` luigi scarso
2009-11-16 23:24 ` Wolfgang Schuster
2009-11-17 5:52 ` luigi scarso
2009-11-17 8:12 ` luigi scarso
2009-11-17 8:38 ` Wolfgang Schuster
2009-11-17 15:32 ` Aditya Mahajan [this message]
2009-11-17 15:34 ` luigi scarso
2009-11-17 15:41 ` Aditya Mahajan
2009-11-17 23:28 ` luigi scarso
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=alpine.LNX.2.01.0911171030550.14253@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).