[Tugindia] tugindia Digest, Vol 78, Issue 10
Amit Raj Dhawan
a_r_dhawan at ieee.org
Wed Jun 24 12:33:43 CEST 2009
*Response to: *
Date: Tue, 23 Jun 2009 20:03:34 +0530
From: Derek Cordeiro <cordeiroderek at gmail.com>
To: TUGIndia Mailing List <tugindia at tug.org>
Subject: [Tugindia] Line spacing question
<4e435490906230733v24221ecbs3ed1722d755b02ce at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
How do I set a line spacing in LaTeX that corresponds to a 1.5 line
spacing in Word/OOo? The setspace package together with
\onehalfspacing does not generate the same line spacing(Word/OOo
generates more space). How do I replicate the same spacing in LaTeX?
(I have specifications given to me as a word document)
===== Reply =====
Line spacing needs more elaboration. You can set line-spacing using a TeX
primitive *\baselineskip = <dimension>*. You do not need any special package
to do that, though LaTeX has packages like *setspace* to do that. The amount
of line-space is related to the size of the font being used, i.e. fixed
line-space of 12pt (\baselineskip = 12pt) would look nice on a 12pt font but
smaller text would appear too much spaced.
It is better to use "ex" (1 ex = height of letter "x" in the preceeding
font), I like *\baselineskip = 2.8ex*, you can use even larger like
= 3.2ex *and compare it with your Word/OOo document and check if it matches.
Keep in mind that "ex" spacing for Computer Modern font is different from
"ex" spacing of Times Roman font. And baselineskip needs to be called after
the font size declaration in the vertical mode to get the beauty.
I hope this helps you.
More information about the tugindia