ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ntg-context Digest, Vol 115, Issue 19
       [not found] <mailman.178.1389277614.2180.ntg-context@ntg.nl>
@ 2014-01-10 11:40 ` Jean-Guillaume
  0 siblings, 0 replies; only message in thread
From: Jean-Guillaume @ 2014-01-10 11:40 UTC (permalink / raw)
  To: ntg-context

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

only message in thread, other threads:[~2014-01-10 11:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.178.1389277614.2180.ntg-context@ntg.nl>
2014-01-10 11:40 ` ntg-context Digest, Vol 115, Issue 19 Jean-Guillaume

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