<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1447433198457_401747">Yeah, RST tables suck.  I'm finding that using list-table is a lot easier and</div><div id="yui_3_16_0_1_1447433198457_401745" dir="ltr">at least allows me to specify the column widths.  For example:</div><div id="yui_3_16_0_1_1447433198457_401743" dir="ltr"><br></div><div id="yui_3_16_0_1_1447433198457_401741" dir="ltr">.. list-table::</div><div id="yui_3_16_0_1_1447433198457_401739" dir="ltr">  :widths: 25 25 50</div><div id="yui_3_16_0_1_1447433198457_401737" dir="ltr">  :header-rows: 1</div><div id="yui_3_16_0_1_1447433198457_401735" dir="ltr"><br></div><div id="yui_3_16_0_1_1447433198457_401733" dir="ltr">Gives three columns; each of the first two columns consume 25% of the page</div><div id="yui_3_16_0_1_1447433198457_401731" dir="ltr">width and the third column consumes the remaining 50%.</div><div id="yui_3_16_0_1_1447433198457_402074" dir="ltr"><br></div><div id="yui_3_16_0_1_1447433198457_402076" dir="ltr">Andreas told me about list-tables to solve the line length problems in the</div><div id="yui_3_16_0_1_1447433198457_402078" dir="ltr">source files but I'm finding they solve other problems as well.<br></div><div id="yui_3_16_0_1_1447433198457_401440"><span></span></div><br> <blockquote id="yui_3_16_0_1_1447433198457_401466" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div id="yui_3_16_0_1_1447433198457_401465" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1447433198457_401464" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1447433198457_401463" dir="ltr"> <hr id="yui_3_16_0_1_1447433198457_401462" size="1">  <font id="yui_3_16_0_1_1447433198457_401468" face="Arial" size="2"> <b id="yui_3_16_0_1_1447433198457_402080"><span id="yui_3_16_0_1_1447433198457_402079" style="font-weight:bold;">From:</span></b> Lana Brindley <openstack@lanabrindley.com><br> <b><span style="font-weight: bold;">To:</span></b> openstack-docs@lists.openstack.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, November 15, 2015 1:45 PM<br> <b id="yui_3_16_0_1_1447433198457_402083"><span id="yui_3_16_0_1_1447433198457_402082" style="font-weight: bold;">Subject:</span></b> Re: [OpenStack-docs] Improving tables for RST guides<br> </font> </div> <div id="yui_3_16_0_1_1447433198457_401470" class="y_msg_container"><br>-----BEGIN PGP SIGNED MESSAGE-----<br clear="none">Hash: SHA256<br clear="none"><br clear="none">On 16/11/15 04:13, Andreas Jaeger wrote:<br clear="none">> On 11/15/2015 06:16 PM, Gauvain Pocentek wrote:<br clear="none">>> Hello all,<br clear="none">>><br clear="none">>> This is a request for help :)<br clear="none">>><br clear="none">>> Tables genereated in RST guides are not very nice at the moment (at<br clear="none">>> least in the config-ref, see<br clear="none">>> <a id="yui_3_16_0_1_1447433198457_401472" shape="rect" href="http://docs.openstack.org/draft/config-ref-rst/firewalls-default-ports.html" target="_blank">http://docs.openstack.org/draft/config-ref-rst/firewalls-default-ports.html</a><br clear="none">>> for instance).<br clear="none">>><br clear="none">>> Do we already have a way to generate nicer tables, or do we have a CSS<br clear="none">>> expert who could maybe update the theme? I'd be happy to do it myself<br clear="none">>> but I'm *really* bad at that kind of things.<br clear="none">> <br clear="none">> There's one change for better padding unreleased, see<br clear="none">> I25dc93686e45fdbc1522cded7ab413cc9d4bb0b8<br clear="none">> <br clear="none">> But that's just one small piece of the problem,<br clear="none"><br clear="none">Tables in RST generally are pretty awful. The padding will help, but I'm not sure what else can be done.<br clear="none"><br clear="none">L<br clear="none"><br clear="none">- -- <br clear="none">Lana Brindley<br clear="none">Technical Writer<br clear="none">Rackspace Cloud Builders Australia<br clear="none"><a shape="rect" href="http://lanabrindley.com/" target="_blank">http://lanabrindley.com</a><br clear="none">-----BEGIN PGP SIGNATURE-----<br clear="none">Version: GnuPG v2<br clear="none">Comment: Using GnuPG with Thunderbird - <a shape="rect" href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br clear="none"><br clear="none">iQEcBAEBCAAGBQJWSP0FAAoJELppzVb4+KUyvscH/jmVjoN9YstFdYrR3VtLg5zj<br clear="none">zZoJGoxHfRDO14/MDBlridAGCw2ZsonUUP1RoB7qRRdNiS8PMbQPjmLEvIbiEG3a<br clear="none">z/xGECsIhCpV7dbMzGrU11hXjlTOHZHsGQ2hknpaPCF11INuJo+N5sEpTMOrUdSw<br clear="none">+a22kvsEcifLgMqHhFtcU7bBqwc+Cq1p3LDIPXbcZyhHMSIT70lrWm3a8goaTQ2j<br clear="none">xfOCKFBs3Gbd4kgYkprsiCmP/NXeOSr1kRGm31+T9wzg7odb5uktMTyx7kWA3Fe8<br clear="none">wEKfTFQWyZxMCTlRDAQws6S98w7DVK/jol2+11dca56eeUIjC//XAbh0zgUV0Cc=<br clear="none">=PH0f<br clear="none">-----END PGP SIGNATURE-----<div class="qtdSeparateBR"><br><br></div><div class="yqt5855824447" id="yqtfd73810"><br clear="none"><br clear="none">_______________________________________________<br clear="none">OpenStack-docs mailing list<br clear="none"><a shape="rect" ymailto="mailto:OpenStack-docs@lists.openstack.org" href="mailto:OpenStack-docs@lists.openstack.org">OpenStack-docs@lists.openstack.org</a><br clear="none"><a shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a><br clear="none"></div><br><br></div> </div> </div> </blockquote>  </div></body></html>