Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!elroy.jpl.nasa.gov!usc!wuarchive!udel!princeton!phoenix!tvz From: tvz@phoenix.Princeton.EDU (Timothy Van Zandt) Newsgroups: comp.text.tex Subject: Re: LaTeX line spacing... Message-ID: <6267@idunno.Princeton.EDU> Date: 14 Feb 91 15:37:18 GMT References: <5E6FF2152000E392@post-office.uh.edu> Sender: news@idunno.Princeton.EDU Organization: Princeton University, Princeton, New Jersey Lines: 37 In article <5E6FF2152000E392@post-office.uh.edu> KATAN@CGRVAX.UWaterloo.CA ("Kim A. Tan") writes: >Good day! > >I have a question about single spacing Table in a double spacing (set by >\beselinestretch=2.0) document. Is there a easy solution to have >single spacing Tables in a double spacing document? Thanks! > Just reset the baselinestretch in the beginning of the table environment and set it back at the end. Two caveats: 1. \baselinestretch takes on its newly assigned value only when there is a type-size change (or a \begin{document}). Just put something like \large\normalsize after you redefine \baselinestretch. 2. The positioning of \renewcommand{\baselinestretch} is important so that you change the spacing in a table, but not in surrounding text. For example, suppose that you have a tabular environment inside a table or center environment. Changing the spacing within the tabular environment has no effect. Changing the spacing before the center environment may also change the spacing of the paragraph the centering environment is part of. This works: \begin{center} \tablespacing \begin{tabular}{cc} foo & bar \\ \end{tabular} \linespacing \end{center} if in the preamble you have the following definitions: \newcommand{\linespacing}{\renewcommand{\baselinestretch}{2}\large\normalsize} \newcommand{\tablespacing}{\renewcommand{\baselinestretch}{1}\large\normalsize}