ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About \textrule [ ]
@ 2019-10-01  9:09 Fabrice Couvreur
  2019-10-01  9:31 ` Otared Kavian
  2019-10-01  9:35 ` Taco Hoekwater
  0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Couvreur @ 2019-10-01  9:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 507 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1300 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About \textrule [ ]
  2019-10-01  9:09 About \textrule [ ] Fabrice Couvreur
@ 2019-10-01  9:31 ` Otared Kavian
  2019-10-01  9:35 ` Taco Hoekwater
  1 sibling, 0 replies; 4+ messages in thread
From: Otared Kavian @ 2019-10-01  9:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1588 bytes --]

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 <fabrice1.couvreur@gmail.com> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 6353 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About \textrule [ ]
  2019-10-01  9:09 About \textrule [ ] Fabrice Couvreur
  2019-10-01  9:31 ` Otared Kavian
@ 2019-10-01  9:35 ` Taco Hoekwater
  2019-10-01  9:44   ` Fabrice Couvreur
  1 sibling, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2019-10-01  9:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 1 Oct 2019, at 11:09, Fabrice Couvreur <fabrice1.couvreur@gmail.com> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About \textrule [ ]
  2019-10-01  9:35 ` Taco Hoekwater
@ 2019-10-01  9:44   ` Fabrice Couvreur
  0 siblings, 0 replies; 4+ messages in thread
From: Fabrice Couvreur @ 2019-10-01  9:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2039 bytes --]

Thank you for your suggestions,
Fabrice


Le mar. 1 oct. 2019 à 11:35, Taco Hoekwater <taco@elvenkind.com> a écrit :

>
>
> > On 1 Oct 2019, at 11:09, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3825 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-01  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01  9:09 About \textrule [ ] Fabrice Couvreur
2019-10-01  9:31 ` Otared Kavian
2019-10-01  9:35 ` Taco Hoekwater
2019-10-01  9:44   ` Fabrice Couvreur

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