0

I'm not sure how I can add line spacing of 1.2 or 1.5 between each of the items below

 \section{Coursework}
    Android Concurrency\\
    Web System Architecture\\
    Software Engineering\\
    Algorithms\\
    Design Patterns\\
    Database Management\\
    \sectionsep
  • Hello and welcome to Tex.SX ! First, the example you have given is not complete, we require a Minimal Working Example. Second, you are abusing \\ , to get a new paragraph, simply add another linebreak (i.e. press enter twice) between each item. Third, you are looking for the vertical space commands \medskip \bigskip and \vspace – Elad Den Oct 9 '16 at 9:03
  • 2
    whenever \\ is used outside of a table or an alignment, it is a sign that something is wrong. Isn't that some kind of list, which would be better marked up as \item Android Concurrency \item Web System Architecture ... It is impossible to tell (or answer the question) from such a small fragment – David Carlisle Oct 9 '16 at 9:04
  • I am actually following this resume format, and this is the section coursework in this resume github.com/deedy/Deedy-Resume. I'm sorry, I don't understand LaTex at all, just trying to understand enough to have my resume formatted. – McFiddlyWiddly Oct 9 '16 at 9:37
  • Template confusion strikes again. Thanks templates :-( – Johannes_B Oct 9 '16 at 9:40
  • 2
    @McFiddlyWiddly, after seeing your template, realising the \\ was there originally, and seeing the template hell @Johannes_B posted. I have come to one final conclusion as to how to help you: DON'T USE THIS TEMPLATE. Check this page out, it has simpler, better coded options... – Elad Den Oct 9 '16 at 10:15
2

Use this command for 1.2:

\renewcommand{\baselinestretch}{1.2}‎‬

or use this command for 1.5:

\renewcommand{\baselinestretch}{1.5}‎‬
  • these would affect his entire document, I do believe he wanted spacing only between the items in this "list". But, again, it's hard to tell for sure... – Elad Den Oct 9 '16 at 9:08
  • @EladDen Well then go back to 1.0 or whatever. Look at the template, it really doesn't matter if you add a bit crappy code to the pile. – Johannes_B Oct 9 '16 at 9:49
2

You have several choices to get a bigger line spacing.

The important point is: Be aware that most (all?) CV templates are just rubbish.

McFiddlyWiddly

\section{Coursework}

\subsection{Graduate}

\begingroup
Advanced Machine Learning \\[5pt]
Open Source Software Engineering \\[5pt]
Advanced Interactive Graphics \\[5pt]
Compilers + Practicum \\[5pt]
Counting Ducks\\[5pt]
\setstretch{1.2}% needs package setspace
Advanced Machine Learning \\
Open Source Software Engineering \\
Advanced Interactive Graphics \\
Compilers + Practicum \\
Counting Ducks\\
\setlength{\parskip}{.5ex}
Advanced Machine Learning \par
Open Source Software Engineering \par
Advanced Interactive Graphics \par
Compilers + Practicum \par
Counting Ducks\par
\endgroup

\sectionspace % Some whitespace after the section

You could also use a tabular environment, or a list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.