Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

To place the chapter title in the header of my document, I used:

 \setupheadertexts[{\getmarking[chapter]}][][][{\getmarking[chapter]}]

My document is not double-sided. Whenever the chapter title appears on the first page of the chapter, it produces the odd result of seeing the chapter title in the header directly above the actual chapter title, e.g.:

 _______________
| Chapter 1     |
|               |
| CHAPTER 1     |
|    Once upon  |
| a time, ...   |
|_______________|

How can I place a chapter title in the header, but prevent it from appearing on the first page of each chapter?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Use the header key to control the header of a chapter page, empty suppresses the header on a chapter page.

\setuphead
  [chapter]
  [header=empty]

More information on the Wiki - setuphead.

Side note: You don't need to write \getmarking[chapter] simply chapter will do just fine.

\setupheadertexts
  [chapter][]
  [][chapter]
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.