Hi,
By default, sphinx uses san-serif fonts for table headers. It is
different from other text.
You can customize it with LaTeX macros. For example, the following
setting uses bold font
for table headers.
latex_elements = {
'preamble': r'\protected\def\sphinxstyletheadfamily {\bfseries}'
}
Thanks,
Takeshi KOMIYA
2019年4月4日(木) 21:20 Sebastian Huber <[email protected]>:
>
> Hello,
>
> I created a simple example project using the Sphinx 2.0 sphinx-quickstart and
> added a simple table to index.rst:
>
> .. Table documentation master file, created by
> sphinx-quickstart on Thu Apr 4 14:08:53 2019.
> You can adapt this file completely to your liking, but it should at least
> contain the root `toctree` directive.
>
> Welcome to Table's documentation!
> =================================
>
> .. toctree::
> :maxdepth: 2
> :caption: Contents:
>
>
> Table
> =============
>
> .. list-table:: Table
> :header-rows: 1
> :stub-columns: 1
>
> * - Header A
> - Header B
> - Header C
> - Header D
> - Header E
> * - Row Header X
> - 1
> - 2
> - 3
> - 4
> * - Row Header Y
> - 5
> - 6
> - 7
> - 8
> * - Row Header Z
> - 9
> - 10
> - 11
> - 12
>
> Indices and tables
> ==================
>
> * :ref:`genindex`
> * :ref:`modindex`
> * :ref:`search`.
>
> It generates the attached PDF output. I don't see anything special in the
> format of the table column/row headers. Is this a bug or a feature? I though
> the header-rows and stub-columns specify which rows/columns are headers?
>
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.