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 multicol/multirow support for tables. #4

Closed
vext01 opened this issue Jan 22, 2014 · 4 comments
Closed

Add multicol/multirow support for tables. #4

vext01 opened this issue Jan 22, 2014 · 4 comments

Comments

@vext01
Copy link

vext01 commented Jan 22, 2014

It would be sweet if we could use multirow/multicol in tables somehow.

Cheers

mcnnowak added a commit to mcnnowak/PyLaTeX that referenced this issue Jan 26, 2014
…class.

*Added 'add_multicol' and 'add_multirow' functions to table class.

(This is my first modification to PyLaTeX, I don't know if I followed the
 standards or added the 'multirows' package in the correct place.)

This commit is intended to fix issue JelteF#4: "Add multicol/multirow support for tables."
@mcnnowak mcnnowak mentioned this issue Jan 26, 2014
@JelteF
Copy link
Owner

JelteF commented Jan 29, 2014

Thanks to mcnnowak and some changes I've made we now have partially working multicol and multirow support. They currently only work when they are started in the most left corner, that is why I'm not closing the issue yet.

@vext01
Copy link
Author

vext01 commented Feb 21, 2014

Indeed, this is not quite general enough. For example, it should be possible to have a three column table, where cells in the first row span 4 rows, cells in the second column span 2 rows, and cells in the third column are normal cells spanning 1 row.

@rsullivan00
Copy link
Contributor

I have a solution working at PR #59, using MultiColumn and MultiRow classes, which are added to a table using the 'table.add_row()' interface.

@vext01, your general example is included in the 'multirow' test.

@JelteF
Copy link
Owner

JelteF commented May 24, 2015

This is fixed by #59

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