Re: [NTG-context] How to do this in ConTeXt

2006-01-05 Thread R S Ananda Murthy
FabriceL. wrote: Hi, Hans, it's so instructive to read yout post... I have learned from this last post 2 new commands ! However, I think the original poster wish a line who run to the right margin, so I added to your code in the defineenumeration a inbetween=\vskip-4pt{\hrule height

[NTG-context] How to do this in ConTeXt

2006-01-04 Thread R S Ananda Murthy
Hello, I need the format shown below: - |Example 1-1| - Here Example 1-1 should be in a black box and text should be in white. The line attached to this box should run up to the right margin. I need a counter for examples to count up and

[NTG-context] How to do this in ConTeXt

2006-01-04 Thread R S Ananda Murthy
Hello, I need the format shown below: - |Example 1-1| - Here Example 1-1 should be in a black box and text should be in white. The line attached to this box should run up to the right margin. I need a counter for examples to count up and

Re: [NTG-context] How to do this in ConTeXt

2006-01-04 Thread Fabrice Larribe
Hi, R S Ananda Murthy wrote: Hello, I need the format shown below: - |Example 1-1| - \setupoutput[pdftex] \setupcolors[state=start] Here is (almost) what you want to acheive, but without any macros: \blank \starttext %\def\Ex#1{

Re: [NTG-context] How to do this in ConTeXt

2006-01-04 Thread Hans Hagen
Fabrice Larribe wrote: Hi, R S Ananda Murthy wrote: Hello, I need the format shown below: - |Example 1-1| - \setupoutput[pdftex] \setupcolors[state=start] Here is (almost) what you want to acheive, but without any macros: \blank

Re: [NTG-context] How to do this in ConTeXt

2006-01-04 Thread FabriceL.
Hi, Hans, it's so instructive to read yout post... I have learned from this last post 2 new commands ! However, I think the original poster wish a line who run to the right margin, so I added to your code in the defineenumeration a inbetween=\vskip-4pt{\hrule height 1.5pt}\blank. This is

Re: [NTG-context] How to do this in ConTeXt

2006-01-04 Thread Hans Hagen
FabriceL. wrote: Hi, Hans, it's so instructive to read yout post... I have learned from this last post 2 new commands ! However, I think the original poster wish a line who run to the right margin, so I added to your code in the defineenumeration a inbetween=\vskip-4pt{\hrule height