Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need your help. I'm using this command:

\renewcommand{\baselinestretch}{1.5}
\normalsize 

to create a spacing between the lines. But I'm still not sure where to insert it, wether before the begin{document} or after or before each text? Because there is one paragraph in the four pages I wrote till now, where there is no line spacing and I don't know why. Or do you know another command which would apply for the whole text? A package probably?

My code:

\documentclass[10pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{titlesec}
\usepackage[left=35mm,right=35mm,top=35mm,bottom=35mm]{geometry}
\titleformat{\section}{\Huge\bfseries}{\thesection}{1em}{}
\titleformat{\chapter}{\huge\bfseries}{\thesection}{1em}{}
\titlespacing*{\section}{0pt}{3.5ex plus 1ex minus .2ex}{8.3ex plus .2ex}
\titlespacing*{\chapter}{0pt}{3.5cm}{2cm}
\linespread{1.5}
\begin{document}

\chapter*{Kapitel1}

\section*{Einleitung}

\subsection*{1.1 Motivation}

\begin{large}
share|improve this question

closed as too localized by David Carlisle, Thorsten, Stefan Kottwitz May 12 '13 at 15:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
See the package setspace. –  Marco Daniel May 12 '13 at 12:49
    
@MarcoDaniel thank you Marco, I think you have to insert this: \usepackage{setspace} \onehalfspacing But it is still not working. –  abdu May 12 '13 at 12:56
    
Please show us an mwe. I am sure that it works. –  Marco Daniel May 12 '13 at 13:02
    
@abdu A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with {} on it). — Only inline markup (`) works in comments. –  Qrrbrbirlbel May 12 '13 at 13:26
    
@Qrrbrbirlbel ok thanks! –  abdu May 12 '13 at 13:36
add comment

1 Answer 1

Have you tried

\linespread{1.5cm}

before the

\begin{document}

line ? I think it should help.

share|improve this answer
    
hey, yes this one works too, however without the 'cm' so just \linespread{1.5}. But still having a problem with the last 3 lines I wrote. They don't have anyspacing, I don't know why. –  abdu May 12 '13 at 12:58
    
Could you put some code in your post or a try to give an example ? –  Alain May 12 '13 at 13:01
    
Yes sure, \documentclass[10pt]{report} \usepackage[utf8]{inputenc} \usepackage{titlesec} \usepackage[left=35mm,right=35mm,top=35mm,bottom=35mm]{geometry} \titleformat{\section}{\Huge\bfseries}{\thesection}{1em}{} \titleformat{\chapter}{\huge\bfseries}{\thesection}{1em}{} \titlespacing*{\section} {0pt}{3.5ex plus 1ex minus .2ex}{8.3ex plus .2ex} \titlespacing*{\chapter}{0pt}{3.5cm}{2cm} \linespread{1.5} \begin{document} \chapter*{Kapitel 1} \section*{Einleitung} \subsection*{1.1 Motivation} \begin{large} ... \subsection*{1.2 Ziel dieser Arbeit} ... till now everything is Ok –  abdu May 12 '13 at 13:11
    
Maybe add the code in your initial post so that users can easily copy it ? –  Alain May 12 '13 at 13:14
    
How do I write the my code clearly in these grey shades? I think the linespacing disappears after I begin with a new subsection. –  abdu May 12 '13 at 13:19
show 2 more comments

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