警告中的TABLARCOLUMNS指令未在latex中显示
我正在使用sphinx作为我的文档。 我有一个注释警告,我想在其中添加一个表。因为我想让表格分布在注释的整个宽度上,所以我想使用tablercolumns指令。 但是,添加此指令时,表不会呈现为latex格式,因此也不会呈现为pdf或html格式 这是我的重组文本片段:警告中的TABLARCOLUMNS指令未在latex中显示,latex,python-sphinx,directive,Latex,Python Sphinx,Directive,我正在使用sphinx作为我的文档。 我有一个注释警告,我想在其中添加一个表。因为我想让表格分布在注释的整个宽度上,所以我想使用tablercolumns指令。 但是,添加此指令时,表不会呈现为latex格式,因此也不会呈现为pdf或html格式 这是我的重组文本片段: .. note:: Reserve the necessary amount of time to install your environment. The following table gives approxi
.. note::
Reserve the necessary amount of time to install your environment. The following table gives approximate values for installation of the Operating System (OS) and for the initialization of the nodes.
.. tabularcolumns:: |p{5cm}|p{5cm}|p{5cm}|
+-------------------------+-----------------------+---------------------+
| Node | Install OS (parallel) | Initialize (serial) |
+=========================+=======================+=====================+
| AS20/AS30 Storage Node | 12 minutes | 10 minutes |
+-------------------------+-----------------------+---------------------+
| AS36 Storage Node | 8 minutes | 15 minutes |
+-------------------------+-----------------------+---------------------+
| AC1/AC2 Controller Node | 8 minutes | 15 minutes |
+-------------------------+-----------------------+---------------------+
当我省略该指令时,表被正确处理如果缩进表3的空格,它应该可以工作。像这样:
.. note::
Reserve the necessary amount of time to install your environment. The
following table gives approximate values for installation of the
Operating System (OS) and for the initialization of the nodes.
.. tabularcolumns:: |p{5cm}|p{5cm}|p{5cm}|
+-------------------------+-----------------------+---------------------+
| Node | Install OS (parallel) | Initialize (serial) |
+=========================+=======================+=====================+
| AS20/AS30 Storage Node | 12 minutes | 10 minutes |
+-------------------------+-----------------------+---------------------+
| AS36 Storage Node | 8 minutes | 15 minutes |
+-------------------------+-----------------------+---------------------+
| AC1/AC2 Controller Node | 8 minutes | 15 minutes |
+-------------------------+-----------------------+---------------------+