Hot answers tagged

2

The only thing you missed in your code for the second and the following pages is to define the length of your used header like: \setlength{\headheight}{70pt} With this command the header gets 70 pt height (change it to what you need) for your personal informations, and this works with your bib file too. You gave no bibliography so please try it with ...


2

Yes, you already found the right way. \documentclass[12pt,oneside,a4paper]{book} % \usepackage{blindtext} \usepackage[backend=biber%it doesn't mather for the question at hand ,sorting=none,style=numeric-comp]{biblatex} % \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhead[OC]{\nouppercase{\bfseries\rightmark}} \headheight=28pt \fancyfoot[C]{\...


1

Like with most sectioning commands, there is a mark associated with \book, called \bookpagemark. It's default setting is similar to \@gobble as it just prints/does nothing with its argument. You can change this to \rightmark, which will set it for the odd-side pages: \documentclass[twoside]{memoir} \usepackage{lipsum} \title{Generic Document} \...


1

You can update \sectionmark - the macro responsible for placing marks when you use \section. For example, adding \renewcommand{\sectionmark}[1]{\markright{#1}} to your preamble with put the section title in the odd (right) header. Here is a complete example: \documentclass[runningheads]{llncs} \usepackage{lipsum} \renewcommand{\sectionmark}[1]{\...


1

The basic error is that the \headheight length is too small, this leads to an overlapping at the top of the page header and the regular text. fancyhdr will issue a warning and some recommendation about correct values on the console and in the log file. Use \setlength{\headheight}{2cm} (or whatever appropiate value is reported by fancyhdr) or use \...


1

I don't know why you redefined the whole command since you are able to make the header before every page using the command \makecvhead, I only undefined the \photo command after the first header. \documentclass[a4paper, 11pt, sans, details]{moderncv} \moderncvtheme{classic} % \title{Dr. of blub} \firstname{John} \familyname{Doe} \address{Awesome street 00}{...


1

The space below the sections is meant for the subsections, so changing its colour works the same way you did for the sections \setbeamercolor{subsection in head/foot}{fg=white, bg=bluenavy} Complete MWE: \documentclass[xcolor=dvipsnames]{beamer} \usetheme{Darmstadt} \usecolortheme[RGB={0,0,128}]{structure} \definecolor{bluenavy}{RGB}{0,0,128} \...


1

The top margin value is not the same as headheight, as can be seen from the graphics (from geometry.pdf package documentation). There's a small \headsep value too, that serves as vertical spacing between the page header content and the real text body. \documentclass{article} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage[headheight=65pt,tmargin=...



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