[texhax] Problem with fancyhdr and lastpage output

Gerard Seibert gerard at seibercom.net
Wed Nov 14 19:00:35 CET 2012


On Wed, 14 Nov 2012 16:09:47 +0000
Lars Madsen articulated:

> Would be very helpful if you provided some code for us to see, a so
> called minimal example, ie. the shortest possible document, that
> compiles and show your problem.
> 
> This makes it a lot easier for the rest of us to help

You are absolutely correct:

I have email addresses in the document that I want highlighted and
clickable.

% !TeX spellcheck = en_US
\documentclass[12pt,letterpaper]{letter}
\usepackage[letterpaper]{geometry}
\usepackage[urlcolor=cyan]{hyperref}
\usepackage{color}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{lastpage}
\date{}
\fancyhead{}
\fancyfoot{}
\fancyfoot[C]{\footnotesize Page \thepage\ of \pageref{LastPage}}

\begin{document}
\pagestyle{fancyplain}

\begin{letter}

% bla bla bla


\urlstyle{same}
Email: \href{mailto:somebody at isp.com}{somebody at isp.com}


\end{letter}
\end{document}

Now, if I comment out the "\usepackage[urlcolor=cyan]{hyperref}" line
the problem goes away; however, I no longer have colored or clickable
URLs. I am new at this so I am sure that there is a way around it;
however, I have not discovered it yet.

-- 
Gerard ✌
gerard at seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________



More information about the texhax mailing list