Hello, and thanks for helping me!
I have declared the pagestyle to fancy, so I'm still very confused as to what the problem is. I've summed up a little file code that I run, where I tried to change the pagenumbering. It doesn't work for me, same problem as I mentioned above... For the code below I get the page number on the right on both even and odd pages.
Code: Select all
\documentclass[a4paper,11pt]{article}
\usepackage[cp1252]{input enc} %om kompilerningen sker på en Windows-maskin
\usepackage[margin=20pt,font=small,labelfont={bf,it},textfont=it,labelsep=period]{caption}
\usepackage[nooneline,footnotesize,bf,it,IT]{subfigure}
\usepackage{fancyhdr}
\RequirePackage[calcwidth]{titlesec}
\RequirePackage{color}
\usepackage{fix-cm}
\usepackage[swedish,english]{babel}
%%Define a fancy section layout
\definecolor{blue}{rgb}{0,0,1}
\titleformat{\section}[hang]{\sffamily\bfseries}{
\fontsize{100}{100}\selectfont\color{blue}\thesection}{0pt}{\linebreak\huge\raggedleft}[{\titlerule[0.5pt]}]
\pagestyle{fancy}
\fancyfoot{}
\renewcommand{\footrulewidth}{0.4pt}
\fancyfoot[RO,LE]{\thepage}
%------------------------------------
\begin{document}
\selectlanguage{english}
\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}
\section{Section}
hello
\pagebreak
\section{Section}
hello
%------------------------------------
\end{document}
I really hope I've just made a simple mistake that can easily be fixed! =)
Cheers,
Ida