From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2867 Path: main.gmane.org!not-for-mail From: "Giuseppe Bilotta" Newsgroups: gmane.comp.tex.context Subject: redefining chapter (etc) appearence Date: Wed, 4 Oct 2000 22:41:44 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <00e801c02e44$1c772cc0$ac430e97@nuovo> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393642 12401 80.91.224.250 (23 Oct 2002 17:20:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:20:42 +0000 (UTC) Original-To: "ConTeXt" Xref: main.gmane.org gmane.comp.tex.context:2867 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2867 Hello, I'm just beginning with ConTeXt, and thus I tried to do a thing that in LaTeX was very easy to do (using an appropriate package blah blah blah): redefining the appearence of the sectioning commands. More precisely, I want them to appear like Chapter both being centered horizontally, with appropriate spacing, "Chapter " in small caps, \tfa (I use "real" small caps, and they seem to work properly :->), and written in bolf, \tfb. So I tried \def\ChapterHead#1#2{{\tfa \cap{Chapter #1}}\crlf{\tfb \bf #2}} (left the centering for the second step), without luck: \crlf doesn't (seem to) work, the chapter number is too big (even with {{\tfa\cap{Chapter}}#1}), and the chapter title is not boldfaced. So 1) how do I make the "newline" with appropriate spacing? I did it in a second experiment by \hboxing the contents; is there some other way? 2) how do I get a properly dimensioned chapter number? 3) how do I get the proper font to the chapter title? 4) (since we're at it) how do I center it all? Giuseppe Bilotta