On 7/1/20 9:45 AM, Dilawar Singh wrote:
.. list-table:: Smoldyn model in Python and plain text
:align: left
* - .. literalinclude:: /../examples/S10_boxes/box.txt
- .. literalinclude:: /../examples/S10_boxes/box.py
:language: python
```
I replaced the files names with their relative paths. It seems that
`list-table` does not (yet) support changing the vertical alignment of the
content in the cell
(https://docutils.sourceforge.io/docs/ref/rst/directives.html#list-table).
Currently the content is vertically aligned to the middle; I'd like it
to be
aligned to the top. Is there a way around it other than playing with the
css?
None that I know of. The docutils documentation only mentions horizontal
alignment,
https://docutils.sourceforge.io/docs/ref/rst/directives.html#list-table
Cheers,
Jörg
--
DI Jörg Faschingbauer
Linux und Open Source - Programmierung, Beratung und Schulung
https://www.faschingbauer.me
https://www.faschingbauer.co.at
[email protected]
Bergwirtstrasse 10
A-8075 Hart bei Graz
Tel. +43-664-5783814
UID: ATU64329756
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/3cfaf42c-67c1-0ad3-bfda-393d4ad4f00c%40faschingbauer.co.at.