-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
LaTeX pdf tables extending beyond width of page #2920
Comments
It's wrong. Please use |
Thanks for this. In the meantime I hand-edited some of the tables. It appears, from how the tables are building, that there is a maximum allowable width in the restructured text source files. The reason I am thinking that this is true is that once I reduced the width of some of the tables, they began building as expected and wrapping text within the cells rather than bleeding the tables off the pages, without my using tabularcolumns. If there is a max width, please document the value. |
The answer is yes and no. Actually, there is a maximum width. It is determined by papersize. As default setting, Sphinx uses A4 paper. So it will be smaller than 21cm (sorry, I don't know default margin size just now). |
Hello, I've tried your suggestion and others. I've changed to using csv I have not yet tried to do any patches of the latex writer. Just wondering, since adding tabu has been under consideration for quite Thanks! On Tue, Aug 30, 2016 at 6:32 PM, Takeshi KOMIYA [email protected]
Elisa Rood Sawyer
|
Not yet. We don't have enough time to improve tables. |
use this .. tabularcolumns:: directive |
Thanks, I am using the .. tabular columns:: directive. It appears to me On Sat, Oct 1, 2016 at 12:22 AM, liminkai520520 [email protected]
Elisa Rood Sawyer
|
I feel this is already resolved. So I close this now. Thanks, |
The content renders OK in HTML and in epub, but not LaTeX pdf. Am hoping to find a way to get verbose content within cells to wrap automatically. I've tried using tabularcolumns without success.
My tables are markdown style.
I thought that I might have some success by experimenting with tablualrcolumns, however when I build using syntax I copied directly from ReadTheDocs (.. tabularcolumns:: |1|c|p{5 cm}|) I get an error:
_! Package array Error: Illegal pream-token (1): `c' used.
See the array package documentation for explanation.
Type H for immediate help.
...
l.563 \begin{longtable}{|1|c|p{5 cm}|}_
Hoping to find a good solution that supports efficient handling of tables moving forward.
The text was updated successfully, but these errors were encountered: