On Sun, 25 Mar 2007 21:36:12 +0200
Paul Schalck
Hello!
First, I want to thank you all. It's my first post here, but I've read many of your emails before, and I've already found a lot of solutions for my problems in there. I'm using Context intensely since several months (before, I was Latex) and at the moment, I'm setting my first big document (400 pages, very boring) with it.
My issue: I have a little problem with headings I can't solve by my own. It's rather simple: I would like to align headings that span across multiple lines on the left margin, like this:
a) This is (not really) a very, very, very loooooooooooooooong title
and not that way:
a) This is (not really) a very, very, very loooooooooooooooong title
The use of (\setuphead[section][command=\MySectionCommand] disables the standard alignment mechanism. I wonder if there is a simpler way to achieve this.
Any ideas? Thank you very much!
Scheeni Grieß (it's Alsatian German) Paul
Hi Paul, the solution to you problem is very simple: \def\MySectionCommand#1#2% {\vbox {\hsize\textwidth #1 #2}} \setuphead [section] [command=\MySectionCommand] \starttext \section{\dorecurse{100}{foo }} \stoptext To learn more about this you can read the german book Einführung in TeX: http://www.ruhr-uni-bochum.de/www-rz/schwanbs/TeX/ Wolfgang