ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Beginner help: horizontal line
@ 2008-12-22 15:40 Derek CORDEIRO
  2008-12-22 16:24 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Derek CORDEIRO @ 2008-12-22 15:40 UTC (permalink / raw)
  To: ntg-context


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

Hi,

I would like to be able to draw a line in the footer of every page. If I try
to use setupfooter with before=\thinrule or before=\hrule I get some
unexpected results. I want the line to span only the width of the body but
thinrule aligns it to the left from the left edge. \hrule spans the entire
page. I don't want it spanning accross the margins. Maybe I'm doing
something very wrong... please help


Regards,
Derek
-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro

[-- Attachment #1.2: Type: text/html, Size: 702 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Beginner help: horizontal line
  2008-12-22 15:40 Beginner help: horizontal line Derek CORDEIRO
@ 2008-12-22 16:24 ` Aditya Mahajan
  2008-12-22 17:54   ` Derek CORDEIRO
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2008-12-22 16:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 22 Dec 2008, Derek CORDEIRO wrote:

> Hi,
>
> I would like to be able to draw a line in the footer of every page. If I try
> to use setupfooter with before=\thinrule or before=\hrule I get some
> unexpected results. I want the line to span only the width of the body but
> thinrule aligns it to the left from the left edge. \hrule spans the entire
> page. I don't want it spanning accross the margins. Maybe I'm doing
> something very wrong... please help

\setupbackgrounds[footer][text][topframe=on]

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Beginner help: horizontal line
  2008-12-22 16:24 ` Aditya Mahajan
@ 2008-12-22 17:54   ` Derek CORDEIRO
  0 siblings, 0 replies; 3+ messages in thread
From: Derek CORDEIRO @ 2008-12-22 17:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Mon, Dec 22, 2008 at 9:54 PM, Aditya Mahajan <adityam@umich.edu> wrote:

> On Mon, 22 Dec 2008, Derek CORDEIRO wrote:
>
>  Hi,
>>
>> I would like to be able to draw a line in the footer of every page. If I
>> try
>> to use setupfooter with before=\thinrule or before=\hrule I get some
>> unexpected results. I want the line to span only the width of the body but
>> thinrule aligns it to the left from the left edge. \hrule spans the entire
>> page. I don't want it spanning accross the margins. Maybe I'm doing
>> something very wrong... please help
>>
>
> \setupbackgrounds[footer][text][topframe=on]

Thank You!

Derek.


-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Blog: http://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro

[-- Attachment #1.2: Type: text/html, Size: 1307 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-22 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-22 15:40 Beginner help: horizontal line Derek CORDEIRO
2008-12-22 16:24 ` Aditya Mahajan
2008-12-22 17:54   ` Derek CORDEIRO

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