[NTG-context] typesetting proofs
Hans Hagen
pragma at wxs.nl
Tue Nov 14 16:18:56 CET 2006
Dalyoung Jeong wrote:
> Dear all,
>
> Searching the lists, I found one and I got the output what I want as
> following image. But, as you noticed, there is a lot spaces between
> "Theorem" and the start of the text. Also there is the same space
> between "Proof" and the start of the text. Is it normal? or Is there
> any method to reduce the spaces?
>
> Thank you for reading.
>
> Dalyoung
>
> %Here is the definition following Mr. Taco's method
>
> \defineenumeration[Theorem]
> [location=serried,
> headstyle=bold,
> text=Theorem,
> number=yes,
> after=]
> \definestartstop[theorem]
> [before=\startTheorem,
> after=\stopTheorem]
>
> \defineenumeration[Proof]
> [location=serried,
> headstyle=slanted,
> text=Proof,
> number=no,
> after=]
> \definestartstop[proof]
> [before=\startProof,
> after=\hfil \stopProof]
>
> .......
>
> \startTheorem $P(n, r) = C(n,r).... \stopTheorem
> \startProof An ordered arrangement... \stopProof
>
you can use the "width" and "distance" keys to set the spacing
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list