Colored horizontal line
![](https://secure.gravatar.com/avatar/4a68af71fe5327c72564458ef9d00c6b.jpg?s=120&d=mm&r=g)
Hello there, after long time I have a question again :) I use \setupheader[text][after=\hrule] to get a horizontal line below the header. How can I color this line? The direct attempt \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. Thank you. Huseyin
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 7/15/2013 2:53 PM, Marco Patzer wrote:
On 2013–07–15 "H. Özoguz" wrote:
\color[r=0.4,g=0.4,b=0.4]{\hrule} fails.
This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4], \color expects a previously defined colour.
\blackrule[width=10cm,height=1mm,color=red] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 15.07.2013 um 17:33 schrieb Hans Hagen
On 7/15/2013 2:53 PM, Marco Patzer wrote:
On 2013–07–15 "H. Özoguz" wrote:
\color[r=0.4,g=0.4,b=0.4]{\hrule} fails.
This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4], \color expects a previously defined colour.
\blackrule[width=10cm,height=1mm,color=red]
Can the \blackrule command be change to let it use also a \hrule, e.g. - \blackrule[alternative=horizontal] -> \hrule - \blackrule[alternative=vertical] -> \vrule Wolfgang
participants (5)
-
"H. Özoguz"
-
Hans Hagen
-
Marco Patzer
-
Peter Münster
-
Wolfgang Schuster