From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: goto(box) and setuplist questions
Date: Thu, 7 Aug 2008 08:24:42 +0200 [thread overview]
Message-ID: <115224fb0808062324i68eec7c6h99fbc7e66309782d@mail.gmail.com> (raw)
In-Reply-To: <326847810808060907y6e824a40s94006921c4abbc9b@mail.gmail.com>
On Wed, Aug 6, 2008 at 6:07 PM, Alan Stone
<software.list.1es9s@gmail.com> wrote:
> On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
>>
>> \starttext
>>
>> \framed{text}
>>
>> \thinrule
>>
>> \setuplinewidth[small]
>>
>> \framed{text}
>>
>> \thinrule
>>
>> \setuplinewidth[1cm]
>>
>> \framed{text}
>>
>> \thinrule
>>
>> \stoptext
>
> I don't see the output difference between
small = 0.2pt
medium = 0.4pt (TeX default value and also ConTeXt default)
big = 0.6pt
no big difference on the screen with 100% magnification but you can zoom
into the page and you see the difference.
> \framed{text}
>
> \thinrule
>
> \setuplinewidth[small]
> \framed{text}
>
> \thinrule
>
> \setuplinewidth[big]
> \framed{text}
>
> while
>
> \setuplinewidth[1cm]
> \framed{text}
>
> is "fascinating".
>
>> You could try
>>
>>
>> style={\switchtobodyfont[small]\hsize.8\hsize\relax\setupinterlinespace[line=2.4ex]},
>>
>> or
>>
>>
>> style={\switchtobodyfont[small]\hsize150pt\relax\setupinterlinespace[line=2.4ex]},
>
> These work, however not entirely to my satisfaction because then the right
> margin setting is modified due to text/head and pagenumber being grouped (
> re: drawing, manual pg 150 ).
This is why you could define your own alternatives.
>> The better way is to define you own list alternative.
>>
>> \define[3]\ChapterList
>> {\hbox
>> {\hbox to .5em{#1}\hskip.5em
>> \vtop{\hsize150pt\relax#2}%
>> \hfil#3}}
>>
>> \setuplist[chapter][alternative=command,command=\ChapterList]
>
> I'll try that...
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-08-07 6:24 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 11:06 Alan Stone
2008-08-04 12:23 ` Hans Hagen
2008-08-04 14:44 ` Alan Stone
2008-08-04 14:52 ` Wolfgang Schuster
2008-08-04 20:57 ` Alan Stone
2008-08-05 8:29 ` Wolfgang Schuster
2008-08-05 11:07 ` Alan Stone
2008-08-05 11:16 ` Wolfgang Schuster
2008-08-06 7:12 ` Alan Stone
2008-08-06 8:45 ` Wolfgang Schuster
2008-08-06 10:16 ` Alan Stone
2008-08-06 13:26 ` Wolfgang Schuster
2008-08-06 14:15 ` Alan Stone
2008-08-06 14:59 ` Wolfgang Schuster
2008-08-06 16:07 ` Alan Stone
2008-08-06 18:45 ` Alan Stone
2008-08-07 6:26 ` Wolfgang Schuster
2008-08-07 7:48 ` Wolfgang Schuster
2008-08-07 6:24 ` Wolfgang Schuster [this message]
2008-08-06 15:03 ` Wolfgang Schuster
2008-08-06 15:13 ` Alan Stone
2008-08-06 10:25 ` Alan Stone
2008-08-06 11:03 ` Wolfgang Schuster
2008-08-06 12:09 ` Alan Stone
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=115224fb0808062324i68eec7c6h99fbc7e66309782d@mail.gmail.com \
--to=schuster.wolfgang@googlemail.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).