You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setspace package prevents settings for line spacing getting effective in floating environments like table for instance. This is desired behavior. But in contrast to that in longtable environments line spacing is applied. Therefore tables created with tabular in a table environment look different than tables created with longtable.
Is this intended as well?
The text was updated successfully, but these errors were encountered:
gruberchr
changed the title
spacing in longtable environment
Line spacing in longtable environment
Aug 1, 2019
setspace is even older than longtable (I think) so asking what was originally intended is hard to answer.
However the feature request seems reasonable modulo the usual concerns about compatibility effects on existing documents, I'll see what I can do. @FrankMittelbach any thoughts?
It is certainly odd this way but what setspace prevents is linespacing in floats so a tabular set without a surrounding float environment would get linespaced. So the question is what are longtables: considered to be like floats or like \begin{center}\begin{tabular}... or if both when to apply line spacing and when not (when they have no "caption"?)
So it isn't really a clear cut answr in my opinion what would be the correct design.
And by the way, unconditionally suppressing linespacing in floats seems to me also not absolutely the right thing to do, in theory it should probably configurable too
\usepackage[floats,text,footnotes]{setspace}
with "text" being the default. This way one could even do longtable and leav it to the user if that should be linespaced or not
The
setspace
package prevents settings for line spacing getting effective in floating environments liketable
for instance. This is desired behavior. But in contrast to that inlongtable
environments line spacing is applied. Therefore tables created withtabular
in atable
environment look different than tables created withlongtable
.Is this intended as well?
The text was updated successfully, but these errors were encountered: