Hey LaTeX users,
I want something like this I know how to put header and footer using fancyhdr. But I am interested in putting some text over footer in every page. For this format I have attached an image as a sample.
Page Layout ⇒ Text above Footer on every Page
Text above Footer on every Page
- Attachments
-
- Screen Shot 2013-04-20 at 7.00.20 PM.png (11.53 KiB) Viewed 15470 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
Text above Footer on every Page
hello mayankmi,
i think what you are looking for is the following:
...it was a pleasure to answer your question as i am a great fan of the ERASMUS Mundus Programme
tommytex
i think what you are looking for is the following:
Code: Select all
\documentclass{article}
\usepackage[left=2.5cm,right=2.5cm]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{1pt}
\lfoot{\thepage}
\rfoot{\vspace{-.8cm}Erasmus Mundus Programme\\\vspace{.24cm}
\footnotesize ADVANCED MASTERS IN STRUCTURAL ANALYSIS OF MONUMENTS AND HISTORICAL CONSTRUCTIONS}
\begin{document}
Tex of document
\end{document}
...it was a pleasure to answer your question as i am a great fan of the ERASMUS Mundus Programme


tommytex
- Attachments
-
- fancyfooter.pdf
- (25.41 KiB) Downloaded 756 times
Re: Text above Footer on every Page
you are very good .. thanks a lot.. it worked.. i use texpad editor for mac and in that everyhting works .. ya erasmus is very good..big fan of it..was in italy now in portugal. yay..
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Text above Footer on every Page
An alternative with less guessed vertical spaces and better alignment for page number and last line of the footer text.
Best regards and welcome to the board
Thorsten
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[margin=2cm]{geometry}
\usepackage{fancyhdr}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.5pt}
\lfoot{\thepage}
\rfoot{%
\smash{% % hide vertical stretch of the following content
\parbox[b]{\textwidth}{%
\raggedleft
Erasmus Mundus Programme\\[1.5ex]
\footnotesize
\MakeUppercase{Advanced Masters in structural Analysis of Monuments and historical Constructions}
}%
}%
}
\pagestyle{fancy}
\begin{document}
Text of document
\end{document}
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Text above Footer on every Page
Thanks a lot. i like here everyone is so helpful..

