[11300] in Athena Bugs

home help back first fref pref prev next nref lref last post

doublespace.sty (LaTeX style file)

daemon@ATHENA.MIT.EDU (Albert Dvornik)
Thu Oct 28 22:18:59 1993

From: "Albert Dvornik" <bert@MIT.EDU>
To: bugs@MIT.EDU, bug-sipb@MIT.EDU
Date: Thu, 28 Oct 93 22:18:49 EDT


There is a bug in the file
	/usr/athena/lib/tex/macros/doublespace.sty
that causes the definition of \doublespace to get clobbered.
This makes the "doublespace" environment useless.

Adding "doublespace" to document style options changes the default
spacing to double-spaced.  However, if the spacing is set to something
other than double, then "\begin{doublespace}...\end{doublespace}" does
absolutely nothing.

I'm surprised no one noticed this since 1989. ;)
The patch is submitted below.

I replaced the symlink in the sipb locker with a corrected version.
(It will take effect when the locker is released.)

--Albert Dvornik
  MIT Student Information Processing Board
  CSS/Athena Student Consultant


*** /usr/athena/lib/tex/macros/doublespace.sty	Fri Jul  7 09:01:20 1989
--- doublespace.sty	Thu Oct 28 21:32:41 1993
***************
*** 136,142 ****
  \let\endonehalfspace=\endspacing
  
  \def\doublespace{\spacing{2}}
! \let\doublespace=\endspacing
  
  % Fix up spacing before and after displayed math
  % (arraystretch seems to do a fine job for inside LaTeX displayed math,
--- 136,142 ----
  \let\endonehalfspace=\endspacing
  
  \def\doublespace{\spacing{2}}
! \let\enddoublespace=\endspacing
  
  % Fix up spacing before and after displayed math
  % (arraystretch seems to do a fine job for inside LaTeX displayed math,

home help back first fref pref prev next nref lref last post