Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line spacing in longtable environment #2

Open
gruberchr opened this issue Aug 1, 2019 · 2 comments
Open

Line spacing in longtable environment #2

gruberchr opened this issue Aug 1, 2019 · 2 comments

Comments

@gruberchr
Copy link

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?

@gruberchr gruberchr changed the title spacing in longtable environment Line spacing in longtable environment Aug 1, 2019
@davidcarlisle
Copy link
Member

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?

@FrankMittelbach
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants