# [NTG-context] Some questions about context

Tue Mar 6 17:16:53 CET 2007

```On Tue, 6 Mar 2007, Oliver Buerschaper wrote:

>> And another question (in other topic): how we can do lines at
>> footer like fancyheaders in latex?
>
>
>
> ---
>
> 	[text]
> 	[after=\hrule]
>
> \starttext
> \input tufte
> \stoptext
>
> ---
>
>
> Instead of the \hrule command above you could also resort to
> \thinrule. The global behaviour of \thinrule can then be customized
> via \setupthinrules ... However, this comes at the cost of
> the rule. On the contrary \hrule sticks to the text. Choose whatever
> suits you best.
>
> (To the experts: is this \thinrule behaviour intended?)

A better way is to use \setupbackgrounds. You can specify the exact
region of the page that you want, and it accepts all the parameters of
framed, so you can change the rule thickness, background, etc. And for
a really fancy layout, you can use a metapost background.