# How to add mdframed in footer?

I am working on fancyhdr in report generation. Currently I am using fancyhdr which produces one line and I can add left, center and right footers below to this line. But I need an mdframed as footer and need to add right, left and middle text inside it.

Below is sample mdframed which need to be added as footer.

-

You can use something like the following:

\documentclass{article}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{fancyhdr}
\usepackage{lipsum}

\pagestyle{fancy}
\fancyfoot{}
\fancyfoot[C]{%
\begin{mdframed}[linecolor=blue!60,roundcorner=3pt]
\parbox[t]{0.333\textwidth}{\raggedright Text on the left}%
\parbox[t]{0.333\textwidth}{\centering Text on the center}%
\parbox[t]{0.333\textwidth}{\raggedleft Text on the right}
\end{mdframed}%
}

\begin{document}
\lipsum[1-12]
\end{document}


The idea is to place an mdframed environment centered in the footer; inside this environment, three \parboxes of equal length are used to place the footer contents. An image of the footer on the first page:

-

The tcolorbox package is another option to to produce rounded corner boxes, even in the footer:

\documentclass{article}
\usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage{tcolorbox}% http://ctan.org/pkg/tcolorbox
\pagestyle{fancy}