Text Formattinghow to reduce line spacing in header

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
wjfeeney
Posts: 9
Joined: Sun Aug 06, 2023 9:02 am

how to reduce line spacing in header

Post by wjfeeney »

MWE:

Code: Select all

\usepackage[hmargin={1.2in,1.2in}, vmargin={1.0in, 1.2in}, includehead=false, includefoot=true, centering]{geometry}
\usepackage{setspace}
	\setstretch{1.20}

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancypagestyle{firstpage}{
\setlength{\headheight}{70pt}
\addtolength{\topmargin}{21pt}
\setlength{\headwidth}{6in}
\renewcommand{\headrule}{}
\vspace{-21pt}
\fancyhead[L]\indent{\fontspec{<font>}{\Large <name>}}
\vspace{-12pt}
\fancyhead[R]{\fontspec{<font>}{\small <street>\\ <city>, <state> <zipcode>\\Telephone: <number>\\Mobile: <number>\\ <email address> }
QUESTION: How do I reduce the line spacing in the \fancyhead[R] part to be singlespacing?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

wjfeeney
Posts: 9
Joined: Sun Aug 06, 2023 9:02 am

how to reduce line spacing in header

Post by wjfeeney »

I found a solution that works:

used \setstretch

line 15: \fancyhead[R]{\fontspec{<font>}\setstretch{.90}{\small <street>\\ <city>, <state> <zipcode>\\Telephone: <number>\\Mobile: <number>\\ <email address> }
Post Reply