Hamza Zubair
Hamza Zubair

Reputation: 1410

Rinohtype Sphinx restructured Text: Fixed Width Tables

Below is how we can get fixed-width, left-aligned tables in rst:

.. list-table:: Table Caption
    :width: 100%
    :align: left

But this doesn't seem to work in rinohtype. The alignment however i was able to get using my own stylesheet like below:

[table]
horizontal_align = LEFT

I don't understand how can i get a full-width table.

Upvotes: 2

Views: 280

Answers (1)

Hamza Zubair
Hamza Zubair

Reputation: 1410

I will try and answer how i solved this, people with more knowledge on this can correct it later.

Based on this issue, fixed-width problem seems to have been resolved.

According to the developer, this will be resolved in the stable release v0.4.3. However, it can also be solved currently by doing:

pip install git+https://github.com/brechtm/rinohtype.git

Upvotes: 2

Related Questions