latexforever wrote:[...] Anyway, if I omit the
command, the problem with the pages' numbering is still here, and, furthermore, the dimensions I want to use are not correctly used.
You are specifying the wrong paper dimensions. Giving the height with 297mm and the width with 223mm makes the paper appear in portrait format. The options and environments for landscape output seem to confuse the compiler.
Here's an example with
titlesec for the setup of headings as well as column titles (headers and footers) that should match your ideas.
Code: Select all
\documentclass[12pt,english,landscape]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[includeheadfoot,papersize={297mm,223mm},margin=2cm]{geometry}
\usepackage[calcwidth,pagestyles,raggedright,bf,sf]{titlesec}
\usepackage{blindtext}
%Headings setup (titlesec)
\titleformat{\section}{\normalfont\Huge\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\normalfont\LARGE\bfseries}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\normalfont\Large\bfseries}{\thesubsubsection}{1em}{}
\titleformat{\paragraph}[runin]{\normalfont\large\bfseries\itshape}{\theparagraph}{1em}{}
\titleformat{\subparagraph}[runin]{\normalfont\normalsize\bfseries\itshape}{\thesubparagraph}{1em}{}
% Header and footer setup (fancyhdr)
\newpagestyle{main}{%
\headrule
\footrule
\sethead[\thepage][][\bfseries\sffamily\thesection\quad\sectiontitle]{\bfseries\sffamily\thesubsection\quad\subsectiontitle}{}{\thepage}
\setfoot[][][\scshape Institution]{Title}{}{}
}
\begin{document}
\pagestyle{main}
\Blinddocument
\end{document}
I'm not sure but the
landscape option for the document class may be omitted. I used the
titlesec package because it allows to customize both with a single package instead of
fancyhdr and
sectsty. Consider this example as a suggestion of a basic structure. If the setup is not according to your taste, you can easily modify it by studying the manual.
Just a final remark concerning MWEs. Your code isn't one because the
frbib package is not available for me. Thus I can't compile your code and the package can't be excluded as a cause for the misbehaviour.