\hrulefill in ConTeXt?
![](https://secure.gravatar.com/avatar/d246baeefae20788d6ea519b777a99c7.jpg?s=120&d=mm&r=g)
Hi, how to achieve an effect similar to \hrulefill in plain TeX? (Or maybe with a specified width instead of a "fill"?) Best, -- Marcin Borkowski
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 30.07.2011 um 16:05 schrieb Marcin Borkowski:
Hi,
how to achieve an effect similar to \hrulefill in plain TeX? (Or maybe with a specified width instead of a "fill"?)
\definehbox[RuleBox][5cm] % creates a box with the name \hboxRuleBox and a width of 5cm \starttext text \thinrule text \thinrule\ text text \inframed[frame=off,width=4cm]{\thinrule} text text \hboxRuleBox{\thinrule} text \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/8a87cf76bc6a6a9bf0d825141593b83f.jpg?s=120&d=mm&r=g)
Dear Marcin, Am Samstag, den 30.07.2011, 16:05 +0200 schrieb Marcin Borkowski:
how to achieve an effect similar to \hrulefill in plain TeX? (Or maybe with a specified width instead of a "fill"?)
have you tried using it directly? What did you try already? Just searching in the Wiki using both search options [1] the results indicate that it should just work [2]. Also there seems to be a command named `setupblackrules` [3]. Thanks, Paul [1] http://wiki.contextgarden.net/Main_Page (left side) [2] http://archive.contextgarden.net/message/20030919.063916.160d34bb.ca.html [3] http://wiki.contextgarden.net/Reference/en/setupblackrules
participants (3)
-
Marcin Borkowski
-
Paul Menzel
-
Wolfgang Schuster