From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/760 Path: main.gmane.org!not-for-mail From: "Gilbert van den Dobbelsteen" Newsgroups: gmane.comp.tex.context Subject: Fw: Subsections Date: Mon, 30 Aug 1999 09:42:06 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <004001bef2bb$28ebc9e0$0c01a8c1@loginbv.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391601 26813 80.91.224.250 (23 Oct 2002 16:46:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:46:41 +0000 (UTC) Original-To: "NTG-ConTeXt" Xref: main.gmane.org gmane.comp.tex.context:760 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:760 Sorry, something went wrong with my mailer (accidently sent the message too early). > > I would like to change the format of subsections. If I name a subsection with > > \subsection{Troubleshooting Function M-files} > > then I would like the following formats. > > A little bit of blank space before the subsection, but not so much as there > is now. The title of the subsection (without a number preceding), flushleft > to the margin, in the same font size as the regular body font, but bold, > with a period after the subsection title, then run-in to the remainder of > the text, as in Nice challenge, but in the end pretty easy: \setuphead [subsection] [alternative=text, before={\blank[10pt]}, after=, style=bold, command=\mysubsection] \def\mysubsection#1#2{#2.} You could also say: number=no, to tell context, that this will not be numbered. Though the output is not an different at all, the table of contents would be. EXperimenting is the game here. Now I wonder, would Hans come up with a completely different solution? Gilbert.