Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a problem on even pages with header and footer lines. Line shifted towards by text.

Another problem is that heads of article's sections appear on headers and footers, but I don't use it in fancyhead, fancyfoot.

Have you any ideas?

I use combine class for combine articles at single file. Structure of article:

\documentclass[12pt]{article}
\usepackage{mathtext}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{courier}
\usepackage{subfig}
...newcommand(for math)
\begin{document}
...title
...text
\end{document}

Main code:

\documentclass[report,twoside,11pt,a4paper,notitlepage]{combine}
\usepackage{fancyhdr}
\usepackage{amsfonts} 

\title{Quantum computers and computing}
\author{Editors}

\pagestyle{fancy}
\fancyhead[CO]{}
\fancyhead[CE]{}
\fancyfoot[CO,CE]{QUANTUM COMPUTERS AND COMPUTING}
\fancyfoot[LE,RO]{\thepage}
\newcommand{\authortochead}[1]{%
    \coltocauthor{#1}
    \fancyhead[CE]{#1}
}
\newcommand{\titletochead}[1]{%
    \coltoctitle{#1}
    \fancyhead[CO]{#1}
}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thechapter}{\Roman{chapter}}

\begin{document}
\maketitle

\begin{papers}

\titletochead{Paper 1}
\authortochead{A. N. Author}
    \import{article1}
\end{papers}

\begin{papers}
\cleardoublepage
\titletochead{Paper 2}
\authortochead{A. N. Other}
    \import{article1}

\end{papers}

%% Acknowledgements etc

\end{document}

Sorry for my bad english.

Example: enter image description here enter image description here

share|improve this question

closed as too localized by lockstep, Andrew Swann, Stefan Kottwitz Nov 20 '12 at 11:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.sx! A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). You can upload your graphic and delete the !. One with more reputation will edit your question and include your graphic. –  Kurt Oct 31 '12 at 21:56
    
Would you be able to provide a minimal working example (MWE) that illustrates your problem? I understand that you may thing this is provided in the post. However, from the community's perspective and to speed up any possible solutions, it helps tremendously if you provide a copy-and-paste-able structure, rather than code snippets. –  Werner Nov 7 '12 at 5:48

Browse other questions tagged or ask your own question.