This is my latex file:
\documentclass[11pt]{article}
\usepackage{setspace}
\begin{document}
\section*{Section 1}
\begin{spacing}{1.5}
Unnecessary\\
space\\
after\\
this1
\end{spacing}
\section*{Section 2}
Perfect\\
space\\
after\\
this2
\section*{Section 3}
\end{document}
This is the output:
I want as much space after 'this1' as there is after 'this2'. Any help would be appreciated.
Best Answer
You can achieve your goal by modifying the
spacing
environment provided by thesetspace
environment. This may be done along the following lines, which uses thecalc
package and changes what's done at the end of aspacing
environment.