Hot answers tagged

2

Here is a solution. the command \@chapapp expand to chapter first and to appendix after the use \appendix we can use it here \renewcommand{\chaptermark}[1]{\markboth{\@chapapp{} \thechapter:\ #1}{}} \documentclass{book} \usepackage{blindtext} \usepackage{fancyhdr} \renewcommand{\chaptermark}[1]{% \markboth{\@chapapp{} \thechapter:\ #1}{}} \fancyhead{} ...


2

Do you want something like this? If you use geometry, do not set page layout dimensions manually as it will throw off the calculations. In this case geometry doesn't know you've changed \headheight so it doesn't take any account of it. The problem can be corrected by changing the dimension using geometry's facilities. Code for above sample: ...


1

The chapter pages use page style plain. So you have to redefine this style too. Use: \fancypagestyle{plain}{% \fancyhf{} \fancyfoot[RO]{\vfootline\hskip\linepagesep\thepage} \fancyfoot[LE]{\thepage\hskip\linepagesep\vfootline} \renewcommand\headrulewidth{0pt} } Code: \documentclass[twoside]{report} \usepackage[margin=1in]{geometry} ...


1

Because of the asynchronous nature of the headers and footers, \currenttitle is not a good choice for the header. More traditionally \leftmark and \rightmark are used. Also note that these marks are uppercase in memoir by default. If interested you can have a look at the headings style code in the memoir sources, \makepsmarks and how it is used might be ...



Only top voted, non community-wiki answers of a minimum length are eligible