affans / yorkuthesis

Latex template for a masters/phd degree at York University. Meets FGS regulations. Last updated for 2019.
MIT License
9 stars 0 forks source link

Line spacing #1

Open Nasidiqi opened 3 years ago

Nasidiqi commented 3 years ago

Hoe can i increase Line spacing in whole document?

affans commented 3 years ago

Try the setspacing package.

\usepackage{setspace}
\doublespacing 
% or \onehalfspacing 
% or \setstretch{1.25} for custom spacing 
\begin{document} 
....
\end{document}

To change line spacing in the middle of the document, use

\begin{singlespace}
   %% or any other predefined spacing, see package details
\end{singlespace}
Nasidiqi commented 3 years ago

where do place

\usepackage{setspace} \doublespacing % or \onehalfspacing % or \setstretch{1.25} for custom spacing \begin{document} .... \end{document} in .cls file?

affans commented 3 years ago

You can put it in your main .tex file. No need to modify the cls file unless you know what you are doing. A good place would be after the lines

\documentclass{york-thesis-modified}

%========== basic required packages  =================
\usepackage[tracking]{microtype}
\usepackage[T1]{fontenc}  
\usepackage[utf8]{inputenc} 
%% add spacing package here %%