\label{\detokenize{tabular:table-having-caption}} \begin{savenotes}\sphinxattablestart \sphinxthistablewithglobalstyle \centering \sphinxcapstartof{table} \sphinxthecaptionisattop \sphinxcaption{caption for table}\label{\detokenize{tabular:id1}} \sphinxaftertopcaption \begin{tabulary}{\linewidth}[t]{|T|T|} \sphinxtoprule \begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxstyletheadfamily \sphinxAtStartPar header1 \sphinxbeforeendvarwidth \end{varwidth}% &\begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxstyletheadfamily \sphinxAtStartPar header2 \sphinxbeforeendvarwidth \end{varwidth}% \\ \sphinxmidrule \sphinxtableatstartofbodyhook\begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxAtStartPar cell1\sphinxhyphen{}1 \sphinxbeforeendvarwidth \end{varwidth}% &\begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxAtStartPar cell1\sphinxhyphen{}2 \sphinxbeforeendvarwidth \end{varwidth}% \\ \sphinxhline\begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxAtStartPar cell2\sphinxhyphen{}1 \sphinxbeforeendvarwidth \end{varwidth}% &\begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxAtStartPar cell2\sphinxhyphen{}2 \sphinxbeforeendvarwidth \end{varwidth}% \\ \sphinxhline\begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxAtStartPar cell3\sphinxhyphen{}1 \sphinxbeforeendvarwidth \end{varwidth}% &\begin{varwidth}[t]{\sphinxcolwidth{1}{2}} \sphinxAtStartPar cell3\sphinxhyphen{}2 \sphinxbeforeendvarwidth \end{varwidth}% \\ \sphinxbottomrule \end{tabulary} \sphinxtableafterendhook\par \sphinxattableend\end{savenotes}