[Tex/LaTex] How to set the header font size using fancyhdr package

fancyhdrfontsizeheader-footer

Basically, I want the header fonts to use a different (smaller) font size than the size I set using \documentclass. What should be the option I'd be using ?

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in, headsep=10pt]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}

\fancyhead[L]{Personal Statement} % What other option should I use to get a custom font size ?

Best Answer

Like Werner writes :

\fontsize{<size>}{<baselineskip}\selectfont typesets whatever follows at size with a baseline skip of but I think \small is a better way because a lot of things are adjusted correctly, the definition of \small starts with :

\newcommand*\small{%   
\@setfontsize\small\@xpt\@xiipt 

example :

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in, headsep=10pt]{geometry}
\usepackage{fancyhdr,lipsum}

\pagestyle{fancy}     
\fancyhead{} % clear all header fields
\fancyhead[L]{\fontsize{10}{12} \selectfont Personal Statement}

\begin{document}
\lipsum
\end{document}