LaTeX forum ⇒ Page LayoutText above Footer on every Page Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
mayankmi
Posts: 45
Joined: Sat Apr 20, 2013 7:52 pm
Location: portugal

Text above Footer on every Page  Topic is solved

Postby mayankmi » Sat Apr 20, 2013 8:14 pm

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 4759 times

Link:
BBcode: Topic is solved[/url]" title="Click to select post's link in BBcode format" onclick="this.focus();this.select();" />
HTML: Topic is solved</a>" title="Click to select post's link in HTML format" onclick="this.focus();this.select();" />
Hide post links
Show post links

User avatar
tommytex
Posts: 39
Joined: Wed Jan 23, 2013 10:04 pm

Postby tommytex » Sun Apr 21, 2013 11:12 am

hello mayankmi,

i think what you are looking for is the following:

  1. \documentclass{article}
  2. \usepackage[left=2.5cm,right=2.5cm]{geometry}
  3.  
  4. \usepackage{fancyhdr}
  5. \pagestyle{fancy}
  6.  
  7. \fancyhf{}
  8. \renewcommand{\headrulewidth}{0pt}
  9. \renewcommand{\footrulewidth}{1pt}
  10.  
  11. \lfoot{\thepage}
  12. \rfoot{\vspace{-.8cm}Erasmus Mundus Programme\\\vspace{.24cm}
  13. \footnotesize ADVANCED MASTERS IN STRUCTURAL ANALYSIS OF MONUMENTS AND HISTORICAL CONSTRUCTIONS}
  14.  
  15.  
  16. \begin{document}
  17. Tex of document
  18. \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 290 times

Link:
BBcode:
HTML:
Hide post links
Show post links

mayankmi
Posts: 45
Joined: Sat Apr 20, 2013 7:52 pm
Location: portugal

Postby mayankmi » Sun Apr 21, 2013 1:27 pm

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..

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Sun Apr 21, 2013 2:33 pm

An alternative with less guessed vertical spaces and better alignment for page number and last line of the footer text.
  1. \documentclass[11pt]{article}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[margin=2cm]{geometry}
  4. \usepackage{fancyhdr}
  5.  
  6. \fancyhf{}
  7. \renewcommand{\headrulewidth}{0pt}
  8. \renewcommand{\footrulewidth}{0.5pt}
  9. \lfoot{\thepage}
  10. \rfoot{%
  11. \smash{% % hide vertical stretch of the following content
  12. \parbox[b]{\textwidth}{%
  13. \raggedleft
  14. Erasmus Mundus Programme\\[1.5ex]
  15. \footnotesize
  16. \MakeUppercase{Advanced Masters in structural Analysis of Monuments and historical Constructions}
  17. }%
  18. }%
  19. }
  20. \pagestyle{fancy}
  21.  
  22. \begin{document}
  23. Text of document
  24. \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

Link:
BBcode:
HTML:
Hide post links
Show post links

mayankmi
Posts: 45
Joined: Sat Apr 20, 2013 7:52 pm
Location: portugal

Postby mayankmi » Sun Apr 21, 2013 11:49 pm

Thanks a lot. i like here everyone is so helpful..
:D

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 3 guests