ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Chapter name in new line
@ 2011-06-04 14:24 Marco
  2011-06-04 14:29 ` Wolfgang Schuster
  2011-06-04 14:35 ` luigi scarso
  0 siblings, 2 replies; 4+ messages in thread
From: Marco @ 2011-06-04 14:24 UTC (permalink / raw)
  To: ntg-context

How can I get the chapter name in a new line, like:

Chapter 1
Foo Bar

The following yields to “Chapter1Foo Bar”.

\setuplabeltext [en] [chapter=Chapter~]
\def\MyChapter#1#2{#1\blank#2}
\setuphead [chapter] [command=\MyChapter]

\starttext
\chapter{Foo Bar}
\stoptext

Marco


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-04 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-04 14:24 Chapter name in new line Marco
2011-06-04 14:29 ` Wolfgang Schuster
2011-06-04 14:35 ` luigi scarso
2011-06-04 14:48   ` Marco

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