# Tag Info

## Hot answers tagged header-footer

5

By default, the book document class uses the plain page style for the first pages of chapter-like document units and the headings page style for all other pages. (Aside: The LaTeX kernel defines four page styles: empty, plain, headings, and myheadings. The article document class employs the plain page style for all pages.) The instruction \pagestyle{fancy} ...

3

For a document with a table of contents of more than one page, redefining page style plain will be necessary. But then this will also change the footer of the first page of each chapter. If you don't want that, you can restrict the redefinition to the table of contents with a group, like the following. { \fancypagestyle{plain}{}% \tableofcontents \newpage }

3

You don't need tikz for this. With a current LaTeX you can simply use the shipout hook: \documentclass{article} \usepackage{geometry,fancyhdr,graphicx} \geometry{showframe} \begin{document} \pagestyle{fancy}\lhead{lhead} Why is text before the background picture disappeared? \AddToHookNext{shipout/background} {\put(0,-\paperheight) {\includegraphics[width=...

2

When you start a header, the font settings that are in effect at the page break are what will be in effect in the page header. LaTeX brings things back to “normal” for the header by calling \reset@font which by default just calls \normalfont. You will need to do a bit of additional work since you're changing \spaceskip as well which wasn't anticipated by the ...

1

You probably meant lhead instead of rhead. I guess you mean something like the following: \chead{ \begin{tabular}[t]{l} \campus \\ \dept \\ \course \\ \coursen \end{tabular} } \lhead{ \begin{tabular}[b]{p{0.4\textwidth}} \TDAG \\\hline \\[-2ex] \end{tabular} } You can fiddle with the -2ex to get the proper position. But please note that you will get ...

1


1

First of all never use titlesec with memoir it breaks a lot of stuff in memoir. I added the memoir way of getting the same chapter style. Your're missing resetting the marks made by section etc. I've removed stuff from the MWE that are not relevant for this question \documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir} \...

1


1

With document class scrbook you can use \frontmatter and \mainmatter and \chapter for unnumbered chapters in front matter. Example: \documentclass{scrbook} \usepackage{lipsum}% only for dummy text \begin{document} \frontmatter \tableofcontents \chapter{Preface} \lipsum \chapter{Introduction} \lipsum \mainmatter \chapter{Foo} \lipsum \end{document} Or you ...

1

Here's how I'd solve it \documentclass[10pt]{memoir} \usepackage{lipsum} \makeatletter \makepagestyle{myheadings} \makepsmarks{myheadings}{ \nouppercaseheads % remove any marks for sections (might be left over from default pagestyle) \clearmark{section} \clearmark{subsection} \clearmark{subsubsection} % hand code \chaptermark, the code is taken ...

1

Something like this (that the added code is commanted with %here) could solve your problems (about the header). \documentclass[12pt,a4paper,oneside,onecolumn]{book} \usepackage[letterpaper, portrait]{geometry} \usepackage{lipsum} %SET AVERAGE MARGIN \geometry{ left={4cm}, right={2cm}, top={1.75cm}, %here bottom={2.5cm}, head={1.5cm}, %here includehead %here }...

1

this instruction helps: \copyrightnote{} I get this from https://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/aomart/aomart.pdf , page 6

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