Search found 5 matches

by delia
Wed Apr 14, 2010 11:40 pm
Forum: Page Layout
Topic: fancyhdr problem
Replies: 8
Views: 9363

Re: fancyhdr problem

Fantastic, thank you!
by delia
Wed Apr 14, 2010 6:27 pm
Forum: Page Layout
Topic: fancyhdr problem
Replies: 8
Views: 9363

Re: fancyhdr problem

Awesome! I am deeply thankful.
Just for my knowledge, what is the difference in # and ##?
thank you again!
by delia
Wed Apr 14, 2010 6:51 am
Forum: Page Layout
Topic: fancyhdr problem
Replies: 8
Views: 9363

fancyhdr problem

Oh thank you so much! Now it runs, but I still have a problem: the title of the chapter does not appear in the pdf , while if I insert the text of command.tex directly in the mainfile.tex it appears on even pages on the right as requested. What is the trick?
The code which produces the correct ...
by delia
Wed Apr 14, 2010 1:36 am
Forum: Page Layout
Topic: fancyhdr problem
Replies: 8
Views: 9363

fancyhdr problem

Ok, I did the check and if I comment out the \markboth{#1}{} and \markright{\thesection\ #1} or I substitute #1 with {} that works.
Here it is my code, in a shortened form.
mainfile.tex:

\documentclass[12pt,a4paper,twoside,openright]{report}
\usepackage[ngerman, english]{babel}
\usepackage ...
by delia
Wed Apr 14, 2010 12:01 am
Forum: Page Layout
Topic: fancyhdr problem
Replies: 8
Views: 9363

fancyhdr problem

Hi,
to compile my thesis, I had to move my settings for the fancy header into a separate file (command.tex). So I copied all the corresponding tex in this file like this:

\newcommand{\makefancyheader}[1]{
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark ...