GeneralThe effect of command \baselinestretch

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
QwareeqMathematics
Posts: 68
Joined: Mon Jul 06, 2009 7:44 pm

The effect of command \baselinestretch

Post by QwareeqMathematics »

I need the command :

Code: Select all

\renewcommand{\baselinestretch}{1.5}
before the introduction chapter , but when I put it there(before \chapter{Introduction}) , it effected only in the definition ,theorems, ...etc environments lines.

Also, I tried to change the place of it into the chapter , but it effected same previous effect.

Where is the problem ?

Thx

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: The effect of command \baselinestretch

Post by php1ic »

If you want it for the entire document, you need to put it before the \begin{document}.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

The effect of command \baselinestretch

Post by localghost »

See l2tabu for information on this command.


Best regards
Thorsten
QwareeqMathematics
Posts: 68
Joined: Mon Jul 06, 2009 7:44 pm

Re: The effect of command \baselinestretch

Post by QwareeqMathematics »

Thx php1ic , but I don't need that.

Hey localghost , I read the file you put and I did that using setspace package , but how to specific a manual line spread space for setspace package? Thank you
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

The effect of command \baselinestretch

Post by localghost »

Outline the problem clearly. Describe where you want which effect. Build a minimal working example (MWE). For the line spacing you mentioned in your initial post you can simply include the package with an option.

Code: Select all

\usepackage[onehalfspacing]{setspace}
For more information see the setspace package file (*.sty). There's also the spacing environment which takes a mandatory argument for specification of individual spacing beside the predefined values.

Code: Select all

\begin{spacing}{1.25}
  % Text passage
\end{spacing}
You can achieve this effect globally by declaring it in the preamble.

Code: Select all

\setstretch{1.25}
Keep building a MWE in mind for all future requests. Otherwise there will be no specific help possible.
QwareeqMathematics
Posts: 68
Joined: Mon Jul 06, 2009 7:44 pm

Re: The effect of command \baselinestretch

Post by QwareeqMathematics »

thx :)
Post Reply