FYI:

>It seems that this feature was introduced in 1.3, so perhaps it was not 
>possible in 2013, but it is now - only the syntax isn't documented.

This is a notation of reStructuredText. so please refer the document of reST
http://docutils.sourceforge.net/docs/ref/rst/directives.html#table

Thanks,
Takeshi KOMIYA

2017-12-14 8:01 GMT+09:00 Aaron Carlisle <[email protected]>:
> You will have to override the CSS of the theme that you are using with this
> CSS code:
>
> table {caption-side: bottom}
>
> On Wed, Dec 13, 2017 at 10:29 AM, 'Erin Kelly' via sphinx-users
> <[email protected]> wrote:
>>
>> I'm replying to this really old post because I couldn't find the
>> information in the current documentation or forums. It seems that this
>> feature was introduced in 1.3, so perhaps it was not possible in 2013, but
>> it is now - only the syntax isn't documented.
>>
>> To include a caption with a table, use .. table::  [your caption here]
>>
>> I found this confusing because you don't normally need to use a tag to
>> start a table, you just draw it in the text file.
>>
>> So instead of just putting the table drawing by itself, put the table tag
>> first and indent the table drawing underneath it:
>>
>> .. table:: Modular Dimensions
>>
>>
>> +---------------------------------------------------------------------------+
>>    | Modular Dimensions
>> |
>>
>> +=======================+===================================================+
>>    | Height                | 1U (1.75 inches, 44.5 mm, nominal EIA
>> standard)   |
>>
>> +-----------------------+---------------------------------------------------+
>>    | Width                 | 19 inches (482.6 mm, nominal EIA standard)
>> |
>>
>> +-----------------------+---------------------------------------------------+
>>
>> I haven't yet figured out how to position the caption below the table - at
>> the moment mine are coming out above, and centered, which I don't like - but
>> I think that's addressed with stylesheets and I will work on that later.
>>
>>
>> On Tuesday, March 19, 2013 at 5:51:47 PM UTC-4, J Luis wrote:
>>>
>>> Hi,
>>>
>>> I searched the docs. I searched this forum. But can't find a way of
>>> putting captions under tabbles.
>>>
>>> We can do it can't we? But how?
>>>
>>> Thanks
>>>
>>> Joaquim
>>
>> --
>> 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.
>
>
>
>
> --
> Aaron Carlisle
>
> Picture taker | Bit cruncher | Pixel pusher | Document writer |
> Project administrator for the Blender 3D Documentation Project
>
> --
> 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.

Reply via email to