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 3979 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- 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 