ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LaTeX's fancyhdr.sty counterpart in ConTeXt?
@ 2001-10-11  9:44 Hokojoku, Bert
  2001-10-11 10:33 ` Hans Hagen
  2001-10-11 17:01 ` Berend de Boer
  0 siblings, 2 replies; 4+ messages in thread
From: Hokojoku, Bert @ 2001-10-11  9:44 UTC (permalink / raw)


Hi all, 

Does anybody know of the use of (or counterpart of) the LaTeX-package
fancyhdr.sty in ConTeXt? I used to format my pages like Lamport's book
"LaTeX: A DOCUMENT PREPARATION SYSTEM" with this package and the following
commands:

------------------------------------------------------------------
\documentclass{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\addtolength{\headwidth}{\marginparsep}
\addtolength{\headwidth}{\marginparwidth}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers
\renewcommand{\headrulewidth}{0pt} % and the line
}
------------------------------------------------------------------

As I've switched to ConTeXt, I'm searching for the same layout in ConTeXt.

Hope you can help,

Kind regards from a rainy Amsterdam,

B E R T

                        __   __
                      .'  '.'  `.
                   _.-|  o | o   |-._
                 .~   `.__.'.__.'^   ~.
               .~     ^  /   \  ^      ~.
               \-._^   ^|     |     ^_.-/
               `\  `-._  \___/ ^_.-'  /'
                 `\_   `--...--'   _/'
                    `-.._     _..-'
                        /     \    Bert  <mailto://b.hokojoku@sfbgroep.nl>
Hokojoku
                      .'^   ^ `.     \ \/ /
                    .'    ^     ^`._.'^  ;
                  .' ^ .    ^   .^  .' ./
                  /    /        ^\'.__.'
                 |  ^ /|   ^     |


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

* Re: LaTeX's fancyhdr.sty counterpart in ConTeXt?
  2001-10-11  9:44 LaTeX's fancyhdr.sty counterpart in ConTeXt? Hokojoku, Bert
@ 2001-10-11 10:33 ` Hans Hagen
  2001-10-11 17:01 ` Berend de Boer
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2001-10-11 10:33 UTC (permalink / raw)
  Cc: ntg-context

At 11:44 AM 10/11/2001 +0200, Hokojoku, Bert wrote:

>\addtolength{\headwidth}{\marginparsep}
>\addtolength{\headwidth}{\marginparwidth}
>\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
>\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
>\fancyhf{}
>\fancyhead[LE,RO]{\bfseries\thepage}
>\fancyhead[LO]{\bfseries\rightmark}
>\fancyhead[RE]{\bfseries\leftmark}
>\fancypagestyle{plain}{%
>\fancyhead{} % get rid of headers
>\renewcommand{\headrulewidth}{0pt} % and the line
>}

how is that supposed to show up?

Hans
-------------------------------------------------------------------------
                                   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] 4+ messages in thread

* Re: LaTeX's fancyhdr.sty counterpart in ConTeXt?
  2001-10-11  9:44 LaTeX's fancyhdr.sty counterpart in ConTeXt? Hokojoku, Bert
  2001-10-11 10:33 ` Hans Hagen
@ 2001-10-11 17:01 ` Berend de Boer
  1 sibling, 0 replies; 4+ messages in thread
From: Berend de Boer @ 2001-10-11 17:01 UTC (permalink / raw)
  Cc: ntg-context

"Hokojoku, Bert" <B.Hokojoku@sfbgroep.nl> writes:

> Does anybody know of the use of (or counterpart of) the LaTeX-package
> fancyhdr.sty in ConTeXt? I used to format my pages like Lamport's book
> "LaTeX: A DOCUMENT PREPARATION SYSTEM" with this package and the following
> commands:

All this is build in. Take a look at the ConTeXt manuals.

-- 
Groetjes,

Berend. (-:


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

* RE: LaTeX's fancyhdr.sty counterpart in ConTeXt?
@ 2001-10-11 12:32 Hokojoku, Bert
  0 siblings, 0 replies; 4+ messages in thread
From: Hokojoku, Bert @ 2001-10-11 12:32 UTC (permalink / raw)


The idea is a underlined header wich stretches over the text AND margin
width, with on the outsides the pagenumbers and on the left-inside the
chapter and the right-inside the section.

Regards,

B E R T

-----Original Message-----
From: Hans Hagen [mailto:pragma@wxs.nl]
Sent: Thursday, October 11, 2001 12:33 PM
To: Hokojoku, Bert
Cc: ntg-context@let.uu.nl
Subject: Re: LaTeX's fancyhdr.sty counterpart in ConTeXt?

At 11:44 AM 10/11/2001 +0200, Hokojoku, Bert wrote:

>\addtolength{\headwidth}{\marginparsep}
>\addtolength{\headwidth}{\marginparwidth}
>\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
>\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
>\fancyhf{}
>\fancyhead[LE,RO]{\bfseries\thepage}
>\fancyhead[LO]{\bfseries\rightmark}
>\fancyhead[RE]{\bfseries\leftmark}
>\fancypagestyle{plain}{%
>\fancyhead{} % get rid of headers
>\renewcommand{\headrulewidth}{0pt} % and the line
>}

how is that supposed to show up?

Hans
-------------------------------------------------------------------------
                                   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] 4+ messages in thread

end of thread, other threads:[~2001-10-11 17:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-11  9:44 LaTeX's fancyhdr.sty counterpart in ConTeXt? Hokojoku, Bert
2001-10-11 10:33 ` Hans Hagen
2001-10-11 17:01 ` Berend de Boer
2001-10-11 12:32 Hokojoku, Bert

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