# Controlling Spacing after paragraph

I'm sure this is trivial, but I'm new to LaTeX and having trouble getting some formatting correct. I want two columns with bold headings and non bold text after. One of the headings, "experiments" has too much info to fit on one line so I want the spacing to be tighter. I've tried several different options but I can't get it right. Here's my attempt at a MWE:

\documentclass[11pt,letterpaper]{article}
\usepackage[left=1.1in,right=1.1in,top=1.1in,bottom=1.1in]{geometry}
\usepackage{setspace}
\begin{document}
\begin{minipage}[t]{0.5\textwidth}
\doublespacing
\raggedright
\textbf{Name:} Jayson \\
\textbf{Course Number:} ECGR 2155\\
\textbf{Experiment Titles:}\\
\singlespacing
Network Analysis,
Th\'{e}venin and Norton Circuits,
Time Constant of an RC Network
\doublespacing
\textbf{Lab Partner:} Marcus \\
\end{minipage}
\hfill
\begin{minipage}[t]{0.5\textwidth}
\doublespacing
\textbf{Date:} \today\\
\textbf{Section:} L03 \\
\textbf{Experiment Numbers:} 8,9,10\\
\end{minipage}
\end{document}

-
You're missing a blank line before \doublespacing\textbf{Lab Partner:} Marcus –  egreg Apr 4 at 12:53

You're missing a blank line before

\doublespacing
\textbf{Lab Partner:} Marcus


The paragraph has not yet ended, so \doublespacing takes over.

However, I'd do it differently from switching between double and single spacing: set (locally) a non zero \parskip:

\documentclass[11pt,letterpaper]{article}
\usepackage[left=1.1in,right=1.1in,top=1.1in,bottom=1.1in]{geometry}
\begin{document}
\noindent\begin{minipage}[t]{0.5\textwidth}
\setlength{\parskip}{\baselineskip}
\raggedright
\textbf{Name:} Jayson

\textbf{Course Number:} ECGR 2155

\textbf{Experiment Titles:}\\
Network Analysis,
Th\'{e}venin and Norton Circuits,
Time Constant of an RC Network

\textbf{Lab Partner:} Marcus
\end{minipage}\hfill
\begin{minipage}[t]{0.5\textwidth}
\setlength{\parskip}{\baselineskip}
\textbf{Date:} \today

\textbf{Section:} L03

\textbf{Experiment Numbers:} 8,9,10
\end{minipage}
\end{document}


If your data are always laid out as shown, perhaps a template form is better:

\documentclass[11pt,letterpaper]{article}
\usepackage[left=1.1in,right=1.1in,top=1.1in,bottom=1.1in]{geometry}
\usepackage{tabularx,array}
\usepackage{xparse}

\ExplSyntaxOn
{
\keys_set:nn { labnotes/heading } { #1 }
\par\noindent
\begin{tabular}{
@{}
>{\raggedright}p{\dim_eval:n{.5\textwidth-\tabcolsep}}
>{\raggedright\arraybackslash}p{\dim_eval:n{.5\textwidth-\tabcolsep}}
@{}
}
\vspace{\baselineskip} &
\end{tabular}
\par
}

{
}
\ExplSyntaxOff

\begin{document}

name=Jayson,
date=\today,
coursenumber=ECGR 2155,
section=L03,
exptitles={
Network Analysis,
Th\'{e}venin and Norton Circuits,
Time Constant of an RC Network
},
expnumbers={8, 9, 10},
partners=Marcus,
}
\end{document}

-
Thank you! Exactly how I would like it to look. I also discovered that \begin{singlespace}..\end{singlespace} gave good results, but I like your solution better. –  JayCle Apr 4 at 13:14
Needed to say, \baselineskip is really a lot. One might prefer something smaller, like 2ex. –  tohecz Apr 4 at 13:38
@tohecz It depends; this seems a lab notes heading, so it might be a good choice. –  egreg Apr 4 at 13:41
@JayCle I have added an alternative version that might ease typing those headers. –  egreg Apr 4 at 13:46
@JayCle That's the key-value interface provided by expl3, the programmer's interface of LaTeX3. If you do texdoc interface3 you'll find the documentation. –  egreg Apr 4 at 17:39