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

Add option for automatic multicolumn header for groups #113

Open
cgnguyen opened this issue Jan 22, 2019 · 2 comments
Open

Add option for automatic multicolumn header for groups #113

cgnguyen opened this issue Jan 22, 2019 · 2 comments

Comments

@cgnguyen
Copy link

Maybe this is related to this #3.

I find that using the groups label often makes the tables too wide, because the group names make the first column of the table very wide.

I get around this by manually changing the column command to a multi-column that spans the entire width of the table, but this way I have to manually edit every table. Is there a way to automate this?

@cgnguyen
Copy link
Author

For reference - here is the difference in practice

Table too wide
https://imgur.com/a/gdruDlX

Condensed table
https://imgur.com/a/lKidJ4r

@leifeld
Copy link
Owner

leifeld commented Jan 24, 2019

Thanks. I guess this could be a useful addition. Let's treat this separately from #3.

One would need to wrap the group labels in a \multicolumn command. Without looking at the code, off the top of my head, I'm not sure if that's easy to add or if it would require some rewriting of the functions that generate the basic table layout. One should also check the ensure that the changes are fully compatible with the optional dcolumn argument.

If you'd like to give it a try, feel free to add a pull request with some suggested code changes and we'll review it. If you don't feel comfortable trying it, we'll get to it at some point after resolving other issues. Thanks!

@leifeld leifeld added this to the 1.36.25 milestone Mar 15, 2019
@leifeld leifeld removed this from the 1.36.25 milestone May 28, 2020
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

2 participants