ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \textrules in header
@ 2001-10-18  9:40 Peter Jander
  2001-10-18 11:09 ` Hans Hagen
  2001-10-18 17:54 ` A new ConTeXt user (possibly) Jose Luis Diaz
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Jander @ 2001-10-18  9:40 UTC (permalink / raw)


Hi,

I want a line to separate the header from the text body. Now if I say 

\setupheader[after=\textrule]

the line starts in the margin. The length is the width of the text 
(which is ok). The same happens with a \hairline.
Any suggestions on how I can make the line span just the text 
block?

Thanks,
Peter


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

* Re: \textrules in header
  2001-10-18  9:40 \textrules in header Peter Jander
@ 2001-10-18 11:09 ` Hans Hagen
  2001-10-27 14:15   ` Marco Kuhlmann
  2001-10-18 17:54 ` A new ConTeXt user (possibly) Jose Luis Diaz
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2001-10-18 11:09 UTC (permalink / raw)
  Cc: ntg-context

At 09:40 AM 10/18/2001 +0000, Peter Jander wrote:
>Hi,
>
>I want a line to separate the header from the text body. Now if I say
>
>\setupheader[after=\textrule]
>
>the line starts in the margin. The length is the width of the text
>(which is ok). The same happens with a \hairline.
>Any suggestions on how I can make the line span just the text
>block?

\setupbackgrounds[header][text][frame=on,topframe=off,leftframe=off,rightframe=off]

\setuplayout[header=18pt,headerdistance=12pt]

\starttext \input tufte \stoptext

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* A new ConTeXt user (possibly)
  2001-10-18  9:40 \textrules in header Peter Jander
  2001-10-18 11:09 ` Hans Hagen
@ 2001-10-18 17:54 ` Jose Luis Diaz
  2001-10-19  7:19   ` David Antos
  1 sibling, 1 reply; 5+ messages in thread
From: Jose Luis Diaz @ 2001-10-18 17:54 UTC (permalink / raw)


Hi all,

I'm   a  regular  user  of  LaTeX,  (even an advanced one, I may say).
Recently I was intrigued by ConTeXt. I   knew  ConTeXt time ago, and I
was   always  impressed by its apparent flexibilty, simplicity and the
good  results  t  produced.  However,  I  was  afraid  of  trying  it,
because   I'm  Spanish,  and  I  thought that ConTeXt will not have as
good support as LaTeX for the spanish language.

Recently, I  decided  finally  to  download ConTeXt and give it a try.
After a few days reading the (excellent) documentation and trying some
examples,  I  finally  discovered   that  ConTeXt  has  a good Spanish
support.  That was great!

I   have  to  write  a  PhD  thesis,  and I'm considering switching to
ConTeXt   for   doing   this, however I'm a bit afraid of doing so. My
main  concerns    are   the   support   for   BibTeX   and   for  high
mathematics typesetting.

If  I'm not wrong, ConTeXt is based in Plain TeX, so I wonder if I can
use AMSTeX with ConTeXt. Which would be your advise?

Thank you for any answer, and please, excuse my english.

Best Regards,
-- 
 Jose                            mailto:jldiaz@telecable.es


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

* Re: A new ConTeXt user (possibly)
  2001-10-18 17:54 ` A new ConTeXt user (possibly) Jose Luis Diaz
@ 2001-10-19  7:19   ` David Antos
  0 siblings, 0 replies; 5+ messages in thread
From: David Antos @ 2001-10-19  7:19 UTC (permalink / raw)
  Cc: ntg-context

> I   have  to  write  a  PhD  thesis,  and I'm considering switching to
> ConTeXt   for   doing   this, however I'm a bit afraid of doing so. My
> main  concerns    are   the   support   for   BibTeX   and   for  high

Hi,

there is a biblography module under development, have a look at
http://www.elvenkind.com/~taco/bibmod/

It's still a bit alpha, but very good.

D.A.


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

* Re: \textrules in header
  2001-10-18 11:09 ` Hans Hagen
@ 2001-10-27 14:15   ` Marco Kuhlmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Kuhlmann @ 2001-10-27 14:15 UTC (permalink / raw)


Hans Hagen wrote (2001-10-18 (13:09)):

> At 09:40 AM 10/18/2001 +0000, Peter Jander wrote:
> >Hi,
> >
> >I want a line to separate the header from the text body. Now if I say
> >
> >\setupheader[after=\textrule]
> >
> >the line starts in the margin. The length is the width of the text
> >(which is ok). The same happens with a \hairline.
> >Any suggestions on how I can make the line span just the text
> >block?
> 
> \setupbackgrounds[header][text][frame=on,topframe=off,leftframe=off,rightframe=off]
> 
> \setuplayout[header=18pt,headerdistance=12pt]
> 
> \starttext \input tufte \stoptext

Why doesn't Peter's solution work? It is the first that a new
user will think about (well, I did, at least :-). And the rules
really are something that logically belongs to the header, not
to the background. For example, when you start a new chapter,
and switch off the header on its first page, then you want the
rule to disappear as well, and not to switch it off separately
by changing the state of the background. (By the way, how would
that work? Can you give a \setuphead solution?)

    Marco

-- 
Marco Kuhlmann                             marco.kuhlmann@gmx.net


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

end of thread, other threads:[~2001-10-27 14:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-18  9:40 \textrules in header Peter Jander
2001-10-18 11:09 ` Hans Hagen
2001-10-27 14:15   ` Marco Kuhlmann
2001-10-18 17:54 ` A new ConTeXt user (possibly) Jose Luis Diaz
2001-10-19  7:19   ` David Antos

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