Re: [NTG-context] typesetting proofs

2006-11-14 Thread Taco Hoekwater
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,

You probably want something like

   distance=4pt,

Best, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] typesetting proofs

2006-11-14 Thread Hans Hagen
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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] typesetting proofs

2005-11-21 Thread debongnie
Dear ConTeXt users,

i am trying to typeset correctly proofs in a document. 
I tried to use the following definition :

\defineenumeration[preuve]
  [location=serried,
   headstyle=slanted,
   text=Preuve,
   number=no,
   after={\hfil\QED}]

It's almost what i want, but there's a slight problem. 
The command after executes itself after a newline, so,
the QED symbol is typeset at the line after the end of
the proof.  What i'd like to have is the qed symbol at
the end of the last line of the proof.  Any insight on
how i can do that?

Thanks
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] typesetting proofs

2005-11-21 Thread Taco Hoekwater


I've done similar things like this:

 \defineenumeration[Preuve]
   [location=serried,
headstyle=slanted,
text=Preuve,
number=no,
after=]

 \definestartstop[preuve]
   [before=\startPreuve,
after=\hfil\QED\stopPreuve]

Greetings, Taco

[EMAIL PROTECTED] wrote:

Dear ConTeXt users,

i am trying to typeset correctly proofs in a document. 
I tried to use the following definition :


\defineenumeration[preuve]
  [location=serried,
   headstyle=slanted,
   text=Preuve,
   number=no,
   after={\hfil\QED}]

It's almost what i want, but there's a slight problem. 
The command after executes itself after a newline, so,

the QED symbol is typeset at the line after the end of
the proof.  What i'd like to have is the qed symbol at
the end of the last line of the proof.  Any insight on
how i can do that?

Thanks
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context