ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Alan Stone" <software.list.1es9s@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: goto(box) and setuplist questions
Date: Wed, 6 Aug 2008 18:07:55 +0200	[thread overview]
Message-ID: <326847810808060907y6e824a40s94006921c4abbc9b@mail.gmail.com> (raw)
In-Reply-To: <115224fb0808060759l55c5ec59n321e26f9ca2e6065@mail.gmail.com>


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

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

\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 ).


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

Alan

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

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

  reply	other threads:[~2008-08-06 16:07 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 [this message]
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
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=326847810808060907y6e824a40s94006921c4abbc9b@mail.gmail.com \
    --to=software.list.1es9s@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).