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:[EMAIL PROTECTED]>
Hokojoku
                      .'^   ^ `.     \ \/ /
                    .'    ^     ^`._.'^  ;
                  .' ^ .    ^   .^  .' ./
                  /    /        ^\'.__.'
                 |  ^ /|   ^     |


 

Reply via email to