ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to draw a horizontal line of 0.5\paperwidth ?
@ 2020-11-04 17:37 Sylvain Hubert
  2020-11-04 17:42 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Hubert @ 2020-11-04 17:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear List,

I've tried \hl[0.5\paperwidth] but context complains 'a number should have
been here' since \hl assumes 'em' as unit.

Does anyone know how to draw a horizontal line of 0.5\paperwidth ?

Thanks!

Best,
Sylvain

[-- Attachment #1.2: Type: text/html, Size: 389 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] 3+ messages in thread

* Re: How to draw a horizontal line of 0.5\paperwidth ?
  2020-11-04 17:37 How to draw a horizontal line of 0.5\paperwidth ? Sylvain Hubert
@ 2020-11-04 17:42 ` Wolfgang Schuster
  2020-11-04 17:52   ` Sylvain Hubert
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-11-04 17:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Sylvain Hubert schrieb am 04.11.2020 um 18:37:
> Dear List,
>
> I've tried \hl[0.5\paperwidth] but context complains 'a number should 
> have been here' since \hl assumes 'em' as unit.
>
> Does anyone know how to draw a horizontal line of 0.5\paperwidth ?

\blackrule[width=.5\paperwidth]

Wolfgang

___________________________________________________________________________________
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] 3+ messages in thread

* Re: How to draw a horizontal line of 0.5\paperwidth ?
  2020-11-04 17:42 ` Wolfgang Schuster
@ 2020-11-04 17:52   ` Sylvain Hubert
  0 siblings, 0 replies; 3+ messages in thread
From: Sylvain Hubert @ 2020-11-04 17:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Wed, 4 Nov 2020 at 18:44, Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com> wrote:

> \blackrule[width=.5\paperwidth]
>

It works! Thanks!

[-- Attachment #1.2: Type: text/html, Size: 465 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] 3+ messages in thread

end of thread, other threads:[~2020-11-04 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 17:37 How to draw a horizontal line of 0.5\paperwidth ? Sylvain Hubert
2020-11-04 17:42 ` Wolfgang Schuster
2020-11-04 17:52   ` Sylvain Hubert

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