ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Miek Gieben <miekg@atoom.net>
Subject: simple question: newline in chapter header?
Date: Fri, 5 Nov 2004 13:38:02 +0100	[thread overview]
Message-ID: <20041105123802.GA4915@atoom.net> (raw)

Hello,

I'm trying to switch from latex to context and I'm trying to 
port the book class from latex to a context document.

Right now I'm working on the chapter def and I have:

\definetext[chapter][footer][pagenumber]
\setuphead[chapter][
header=empty, footer=chapter,
textstyle=bold,
numberstyle=bold,
numbercommand=Chapter ,
textcommand={\bfc},
after={\blank[4*big]}]

But this doesn't give a newline after the chapter number. If I change

textcommand={\bfc},
to
textcommand={\\ \bfc},

I do get a newline, but then the chapter title is not aligned to the
left side of the document? Even if I try to left aline this it does 
seem work. :(

What I'm I missing here?

Thanks a lot!

grtz,
  --Miek

--
today's fortune:
Chemist who falls in acid is absorbed in work.

             reply	other threads:[~2004-11-05 12:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-05 12:38 Miek Gieben [this message]
2004-11-05 13:53 ` Hans Hagen
2004-11-05 13:55   ` Miek Gieben
2004-11-08 17:29 ` m-bib problem Bernd Militzer
2004-11-08 18:23   ` Taco Hoekwater
2004-11-13 15:59     ` Bernd Militzer
2004-11-15  9:03       ` Taco Hoekwater
2004-11-16  7:22         ` Bernd Militzer

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=20041105123802.GA4915@atoom.net \
    --to=miekg@atoom.net \
    --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).