ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Dalyoung Jeong <haksan@mac.com>
Subject: \hairline in the header and column rule
Date: Thu, 21 Dec 2006 11:23:27 +0900	[thread overview]
Message-ID: <CD8FDE77-7587-449A-8198-408C242CA794@mac.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

Dear all,

I'd like to ask about drawing a line in the header and a line between  
columns.

1)I'd like to add hairlines in the header using before and after in  
\setupheader, but the lines was drawn from the leftend of the  
leftmargin with the textwidth only. So, there is no line at the right  
end of the header. How to make the lines start from the left end of  
the text area?

2) I setup [rule=on] in column setup, but the length of the line  
depends on the length of the text. How to draw the separation line  
from the top to bottom?

Thank you for reading.
Regards

Dalyoung


Here is the code and output.
*******************************
\setupheader[][before=\hairline, after=\hairline]
\setupheadertexts[][text for the header]

\setuppagenumbering[location=footer]

\starttext
\startcolumns[rule=on, n=2]


[-- Attachment #2: sample.jpg --]
[-- Type: image/jpeg, Size: 11855 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2006-12-21  2:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-21  2:23 Dalyoung Jeong [this message]
2006-12-21  2:40 ` Aditya Mahajan
2006-12-22 15:18 Jeong Dalyoung
2006-12-22 20:54 ` Aditya Mahajan
2006-12-22 21:32   ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CD8FDE77-7587-449A-8198-408C242CA794@mac.com \
    --to=haksan@mac.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).