Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
Thank you for your suggestions,
Fabrice


Le mar. 1 oct. 2019 à 11:35, Taco Hoekwater  a écrit :

>
>
> > On 1 Oct 2019, at 11:09, Fabrice Couvreur 
> wrote:
> >
> > Hello,
> > The top line is in the text, how to fix this problem ?
>
>   % alternative=serried,
> inbetween=,
>
> Best wishes,
> Taco
>
> > Thank you.
> > Fabrice
> >
> > \setuptextrules[width=0.5cm]
> >
> > \define[1]\ProprieteHeadcommand
> >   {\textrule[top]{#1}}
> >
> > \defineenumeration
> >   [propriete]
> >   [text=Propriété,
> >title=yes,
> >headstyle={bold},
> >alternative=serried,
> >style=italic,
> >number=no,
> >headcommand=\ProprieteHeadcommand,
> >numbercommand=\groupedcommand{}{\nbsp},
> >after=\textrule]
> >
> > \starttext
> > \startpropriete
> >   \input ward
> > \stoppropriete
> > \stoptext
> >
> ___
> > 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://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : http://contextgarden.net
> >
> ___
>
> Taco Hoekwater
> Elvenkind BV
>
>
>
>
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Taco Hoekwater


> On 1 Oct 2019, at 11:09, Fabrice Couvreur  wrote:
> 
> Hello,
> The top line is in the text, how to fix this problem ?

  % alternative=serried,
inbetween=,

Best wishes,
Taco

> Thank you.
> Fabrice
> 
> \setuptextrules[width=0.5cm]
> 
> \define[1]\ProprieteHeadcommand
>   {\textrule[top]{#1}}
> 
> \defineenumeration
>   [propriete]
>   [text=Propriété,
>title=yes,
>headstyle={bold},
>alternative=serried,
>style=italic,
>number=no,
>headcommand=\ProprieteHeadcommand,
>numbercommand=\groupedcommand{}{\nbsp},
>after=\textrule]
> 
> \starttext
> \startpropriete
>   \input ward
> \stoppropriete
> \stoptext
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

Taco Hoekwater
Elvenkind BV




___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] About \textrule [ ]

2019-10-01 Thread Otared Kavian
Hi Fabrice,

Is this what you are looking for?
Best regards: OK

\setuptextrules[width=.5cm]

\define[1]\ProprieteHeadcommand
{\textrule[top]{Propriété}}

\defineenumeration[propriete]
[headstyle={bold},
style=italic,
number=no,
headcommand=\ProprieteHeadcommand,
numbercommand=\groupedcommand{}{\nbsp},
after=\textrule]

\starttext
\startpropriete
  \input ward
\stoppropriete
\stoptext

> On 1 Oct 2019, at 11:09, Fabrice Couvreur  wrote:
> 
> Hello,
> The top line is in the text, how to fix this problem ?
> Thank you.
> Fabrice
> 
> \setuptextrules[width=0.5cm]
> 
> \define[1]\ProprieteHeadcommand
>   {\textrule[top]{#1}}
> 
> \defineenumeration
>   [propriete]
>   [text=Propriété,
>title=yes,
>headstyle={bold},
>alternative=serried,
>style=italic,
>number=no,
>headcommand=\ProprieteHeadcommand,
>numbercommand=\groupedcommand{}{\nbsp},
>after=\textrule]
> 
> \starttext
> \startpropriete
>   \input ward
> \stoppropriete
> \stoptext
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] About \textrule [ ]

2019-10-01 Thread Fabrice Couvreur
Hello,
The top line is in the text, how to fix this problem ?
Thank you.
Fabrice

\setuptextrules[width=0.5cm]

\define[1]\ProprieteHeadcommand
  {\textrule[top]{#1}}

\defineenumeration
  [propriete]
  [text=Propriété,
   title=yes,
   headstyle={bold},
   alternative=serried,
   style=italic,
   number=no,
   headcommand=\ProprieteHeadcommand,
   numbercommand=\groupedcommand{}{\nbsp},
   after=\textrule]

\starttext
\startpropriete
  \input ward
\stoppropriete
\stoptext
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___