0

enter image description here

I want to place the heading in the middle and the page number below in Latex. Please suggest how to do it.

I am using the following coding.

\chapter{$\Lambda$-Modules}\ref{ch:prili}
\pagestyle{myheadings}
\markright{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Chapter
\ref{ch:prili}:~Preliminaries}
\thispagestyle{empty}
1
  • 3
    Please provide us with some form of minimal document to work with.
    – Werner
    Commented Jun 17, 2014 at 15:33

2 Answers 2

1

The fancyhdr package provides a lot of options for customizing headers and footers, including control over the location of page numbers. Having the page number at the bottom and a centered header text could go like this, for a simple example:

\documentclass{book}

\usepackage{fancyhdr}
\pagestyle{fancy}

\chead{Header text} % Can also use \lhead or \rhead

\cfoot{\thepage} % Can also use \lfoot or \rfoot

\begin{document}
...
0

fancyhdr is the easiest way to go. \usepackage{google} for more info. i think you want something like (not tested)

\usepackage{fancyhdr}
\fancyhead{} % clear all header fields
\fancyfoot{} % clear all footer fields
\fancyhead[CE,CO]{\chaptername \thechapter. \chaptermark}
\fancyhead[LE,RO]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\pagestyle{fancy}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .