[NTG-context] ntg-context Digest, Vol 115, Issue 19

Jean-Guillaume jnglgr at gmail.com
Fri Jan 10 12:40:49 CET 2014


> Date: Thu, 9 Jan 2014 14:24:35 +0100
> From: Wolfgang Schuster <schuster.wolfgang at gmail.com>
> Subject: Re: [NTG-context] setuphead for in-paragraph head ?
> Message-ID: <76850319-0120-41E9-8A4E-46FE9A9CB48C at gmail.com>


>> But this:
>>
>> \definehead
>>  [Exercise] [subsection]
>>  [after=]
>> \starttext
>>  \startExercise [title=This is the exercise's title]
>>    The exercise's content.
>>  \stopExercise
>> \stoptext

>> I would like it to be:
>>
>> 1 This is the exercise's title The exercise's content.
>>
>> (When I can typeset that, I will see about formatting the number and so on.)

> \definehead
>   [Exercise]
>   [subsection]
>   [alternative=text,
>    distance=0.5em,
>    insidesection=\ignorespaces]

This is just what I was looking for. Thanks you all for your replies.
I will also check the other ones, with the questions/hints/answers
system.
Jean-Guillaume


More information about the ntg-context mailing list