ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hairline & rules
@ 2018-06-15  7:20 jdh
  2018-06-16 10:25 ` Marco Patzer
  0 siblings, 1 reply; 2+ messages in thread
From: jdh @ 2018-06-15  7:20 UTC (permalink / raw)
  To: ntg-context


I want to use a colored hairline, but can't get it working and can't find anything to explain any options or parameters.

I've tried

	\setuptextrules[rulecolor=red,color=red]
	\hairline
	or
	\hairline[color=red]

Doesn't work


	this is a test \thinrule[color=red]

also doesn't catch the color
or does

	this is a test \thinrule[color=red]



Can the hairline command be set to use a specific color and how?

Same for the  \thinrul  command


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

* Re: hairline & rules
  2018-06-15  7:20 hairline & rules jdh
@ 2018-06-16 10:25 ` Marco Patzer
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Patzer @ 2018-06-16 10:25 UTC (permalink / raw)
  To: ntg-context

On Fri, 15 Jun 2018 00:20:23 -0700
"jdh" <dhenman@gmail.com> wrote:

> I want to use a colored hairline, but can't get it working and can't
> find anything to explain any options or parameters.
> 
> I've tried
> 
> 	\setuptextrules[rulecolor=red,color=red]
> 	\hairline
> 	or
> 	\hairline[color=red]

\setupblackrules
  [height=1pt,
   color=blue,
   width=\textwidth]

\starttext
  \blackrule
  \blackrule [color=red, height=1ex, width=5cm]
\stoptext

  http://wiki.contextgarden.net/Command/setupblackrules

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

end of thread, other threads:[~2018-06-16 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-15  7:20 hairline & rules jdh
2018-06-16 10:25 ` Marco Patzer

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