Tag Info

Hot answers tagged

5

Set the main geometry first and then use \newgeometry for the title page; fancyhdr sets the dimensions of headers and footers according to the current geometry values. \documentclass[12pt]{article} \usepackage{geometry} \geometry{letterpaper,textwidth=7in,textheight=9.5in} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...


3

From @wasteofspace: i would assume that the endfloat package would do the job. get your floats from the main body of the doc by using \processdelayedfloats before \appendix; process those that appear in the appendix in the normal way for end of document. This worked for me.


2

You should consider using TikZ with fancyhdr \fancypagestyle{plain}{% \fancyhf{} \fancyfoot[EC]{% \begin{tikz}[overlay] \node[font=\textbf,xshift=0.5cm] (number) at (current page.west) {\[~\thepage~\]} \end{tikz} }% \fancyfoot[OC]{% \begin{tikz}[overlay] \node[font=\textbf,xshift=0.5cm] (number) at (current ...


2

You have to increase the width of the box used to typeset page numbers in the toc, lot and lof etc since A - 1 is not fitting in (it protrudes in to the right margin in your figure). The following diagram is useful. Here \@pnumwidth is the width of the box where page numbers are typeset. Note that \@tocrmarg should be greater than \@pnumwidth for ...


2

I changed your given MWE. There are several mistakes included, for example should package hyperref be the last called package. I added the command \ihead[Test]{Beispiel 1} % [plain]{scrheadings} to show you that the part included with [] is shown on the first page of a chapter or TOC and the part included in {} is showed on all other pages ...


2

I have followed up on the solution proposed by alexises, completing the code. \documentclass[twoside]{article} \usepackage{lipsum} \usepackage{tikz} \usepackage{fancyhdr} \fancypagestyle{Plain}{% \fancyhf{} \fancyfoot[EC]{% \begin{tikzpicture}[remember picture,overlay] \node[xshift=3cm,font=\bfseries] (number) at (current page.west) ...


1

I am not entirely sure that I understand your question, but I think that you are just trying to control the footers in different parts of your document and that the main problem is that headers and footers for the first page of a chapter, for example, are different to those on other pages. There seems to be two issues with your code. First is that you ...


1

Another way of doing this using the background package. Stealing from the manual a little, you can get: (I could only display an even page next to an odd page...) The LaTeX for this is fairly easy: \documentclass{article} \usepackage{lipsum} \usepackage[pages=all,color=black,opacity=1,scale=4,contents={},angle=0,% contents={}]{background} ...


1

Based on David's excellent response, I've put a wrapper around (the wrapper around) \input: \def\limitinput#1{ \IfFileExists{#1}{ \expandafter\ifx\csname limit@#1\endcsname\relax \expandafter\xdef\csname limit@#1\endcsname{\the\c@page} \input{#1}{} \else \ifnum\numexpr\c@page>\numexpr\expandafter\csname ...


1

hyperref redefined \contentsline to take four arguments instead of the usual three. Additionally, since you're working with ToC-related stuff (which are written to file), you need to be careful about expansion. Use it in the following way: \documentclass{report} \usepackage{hyperref} \begin{document} \tableofcontents \chapter*{Introduction} ...



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