ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
Subject: Re: Setting up chapter.
Date: Tue, 12 Jul 2005 15:05:36 +0200	[thread overview]
Message-ID: <10B2640C-3ADF-47F7-8ED7-AD6A86BDCC00@gmail.com> (raw)
In-Reply-To: <200507120832.44826.john@wexfordpress.com>


On 12 juil. 2005, at 10:32, John R. Culleton wrote:
> [...]
> My problem remains with the horizontal alignment of the chapter
> text. I have tried left, right, normal, broad. All I want to do
> is center it, per my specification 2 above.

Hi John,

I think if in \setupframed at the beginning of the example (sent by  
Stuart Jansen) instead of

\def\mychapter#1#2%
{\setupframed[width=1.75in,align={right,broad},frame=off]\vbox{%

you say

\def\mychapter#1#2%
{\setupframed[width=\textwidth,align=middle,frame=off]\vbox{%

you get what you want.

Best regards: OK

  reply	other threads:[~2005-07-12 13:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11 17:12 John R. Culleton
2005-07-11 21:34 ` Stuart Jansen
2005-07-12  8:32   ` John R. Culleton
2005-07-12 13:05     ` Otared Kavian [this message]
2005-07-12 13:15     ` luigi.scarso
2005-07-12 16:31       ` John R. Culleton
2005-07-13 17:37         ` John R. Culleton
2005-07-14  5:35           ` 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=10B2640C-3ADF-47F7-8ED7-AD6A86BDCC00@gmail.com \
    --to=otared@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).