From: Michael Ewe <michael.ewe@arcor.de>
To: ntg-context@ntg.nl
Subject: Re: Questions about \setuphead and \framed
Date: Tue, 27 Apr 2010 22:09:30 +0200 [thread overview]
Message-ID: <201004272209.30644.michael.ewe@arcor.de> (raw)
In-Reply-To: <4BD2E6E2.7010306@googlemail.com>
On Saturday 24 April 2010 14:41:06 Wolfgang Schuster wrote:
> Am 20.04.10 23:01, schrieb Michael Ewe:
> > 1 The frames in the chapter both headings are much bigger than in the
> > normal text.
>
> The chapter insert it's own strut in the number and the text and
> changing/disabling
> the strut in the header command is useless here (it's a bug but i'll
> report this
> in another mail)
>
> > 2 The gap between the chapter number and the chapter name is different
> > for chapter 1 (on page 1) and chapter 2 (on page 2). The word "test" is
> > not aligned
>
> Setting a font for style is not the same as setting it to textstyle and
> numberstyle.
>
> > 3 The value of "strut" has no effect at all.
>
> strut in \setuphead accepts only yes and no, in \framed you can use the
> values
> yes, no, global and local, dimensions are no legal argument.
>
> Since you haven't shown what dou want to achieve i can only guess but maybe
> this setup is what you want:
>
> \definefont[FontA][Sans at 36pt]
>
> \defineframed[chapterframe][offset=0pt,strut=local]
>
> \definehead[ChapterA][chapter]
>
> \setuphead
> [ChapterA]
> [deeptextcommand=\chapterframe,
> deepnumbercommand=\chapterframe,
> distance=0pt,
> style=FontA]
>
> \starttext
> \ChapterA{Test}
> \stoptext
>
> 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 : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________
> ________
>
Thank you, I will give it another try!
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2010-04-27 20:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 21:01 Michael Ewe
2010-04-24 12:41 ` Wolfgang Schuster
2010-04-27 20:09 ` Michael Ewe [this message]
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=201004272209.30644.michael.ewe@arcor.de \
--to=michael.ewe@arcor.de \
--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).