Latex does sound like a good option.
If you went the html route though, this is how you can make a table.
For the simplest table that would work on a very old browser:
For a bootstrap table (which classes are available in jupyter):
- Tables · Bootstrap – you just add the “table” class to a table element
// the second option is what is used in: Best tool for printing tables in Jupyter notebook? - #8 by djsegal
( beyond this, i guess i don’t really understand the use-case )
edit: you could for example, then, prevent cells from being wider than 160px or something
// see the max-width
style attribute