Page Layout ⇒ Why is my footer text going to second line even though I have more than enough space
Why is my footer text going to second line even though I have more than enough space
- Attachments
-
- latex issue.PNG (27.67 KiB) Viewed 4695 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Why is my footer text going to second line even though I have more than enough space
welcome to the forum!
Perhaps post your code, because we cannot really see what you are doing in the code. You can remove non-relevant things in the copy you would post here.
Stefan
Why is my footer text going to second line even though I have more than enough space
Thanks for the warm welcome! I am sorry I thought I pasted the relevant code. Here it is, this is the code i edited to get the footer lines:
Code: Select all
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\fancyfoot[C]{Contact me at 12345566, \href{mailto:xxx@xxx.com}{\underline{xxxx@xxx.com}}, looking forward to working with you }
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{.1pt}
\renewcommand\footrule{\hrule width\textwidth }
% Adjust margins
\addtolength{\oddsidemargin}{-0.5in}
\addtolength{\evensidemargin}{-0.5in}
\addtolength{\textwidth}{1in}
\addtolength{\topmargin}{-.8in}
\addtolength{\textheight}{1.0in}Why is my footer text going to second line even though I have more than enough space
fancyhdr you should change the margins, text width etc. before loading fancyhdr. Otherwise you also have to adjust the width of the header and footer (see the manual
fancyhdr, section 2 and 18 for more information).