0

Is there a way to format the horizontal line in the footer so that it looks like this one?

enter image description here

I'm using the package fancyhdr to format the header and the footer.

Thank you!

1 Answers1

2

You can resize a \bullet by squeezing/flattening it.

enter image description here

\documentclass{article}

\usepackage{fancyhdr,graphicx} \usepackage{lipsum}

\fancyhf{}% Clear header/footer \fancyfoot[C]{% \makebox[0pt][c]{\thepage}% Page number \makebox[0pt][c]{\raisebox{\baselineskip}[0pt][0pt]{\resizebox{1.2\linewidth}{1pt}{$\bullet$}}}% Varied-width line } \pagestyle{fancy}

\begin{document}

\lipsum

\end{document}

Werner
  • 603,163