I want line spacing only for certain pages and keep the default for other pages. For example, I want no line spacing for certificate pages and line spacing of 1.5 (MS Word equivalent) for chapter pages. How to get this done?
[Tex/LaTex] Line spacing for only certain pages
line-spacing
Best Answer
You can load the
setspace
package. With it you can then set the spacing for certain sections by enclosing them in its own environment by using the tags\begin{spacing}{<length>} ... \end{spacing}
.Output
Code
If you use this a lot, you can set a new command in the preamble (before
\begin{document}
) likeso you can just type those commands, or enter a parameter by writing
\newcommand{\bsp}{\begin{spacing}{#1}}
, so in the document you can type\bsp{1.5}
or\bsp{2}
.