Featured Book

LaTeX Beginners Guide

Who is online

In total there are 7 users online :: 1 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Majestic-12 [Bot] and 6 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Text above Footer on every Page Topic is solved

header-footerpage-layoutAdd tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

Text above Footer on every Page  Topic is solved

Postby mayankmi on Sat Apr 20th, 2013

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.
Attachments
Screen Shot 2013-04-20 at 7.00.20 PM.png
Screen Shot 2013-04-20 at 7.00.20 PM.png (11.53 KiB) Viewed 2052 times
mayankmi
 
Posts: 43
Joined: Sat Apr 20th, 2013
Location: portugal

Re: Text above Footer on every Page

Postby tommytex on Sun Apr 21st, 2013

hello mayankmi,

i think what you are looking for is the following:

Code: Select all  •  Open in writeLaTeX
\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 117 times
User avatar
tommytex
 
Posts: 39
Joined: Wed Jan 23rd, 2013

Re: Text above Footer on every Page

Postby mayankmi on Sun Apr 21st, 2013

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..
mayankmi
 
Posts: 43
Joined: Sat Apr 20th, 2013
Location: portugal

Re: Text above Footer on every Page

Postby localghost on Sun Apr 21st, 2013

An alternative with less guessed vertical spaces and better alignment for page number and last line of the footer text.
Code: Select all  •  Open in writeLaTeX
\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
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Text above Footer on every Page

Postby mayankmi on Sun Apr 21st, 2013

Thanks a lot. i like here everyone is so helpful..
:D
mayankmi
 
Posts: 43
Joined: Sat Apr 20th, 2013
Location: portugal


Topic Tags

header-footerpage-layout

Return to Page Layout

Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 guests