[Tex/LaTex] Caption at left side of the table

captionstables

How can I display the table caption at the left side?

Thank you,
enter image description here

Best Answer

with use of package sidecup:

\documentclass{article}
\usepackage[leftcaption]{sidecap} % <-- added
\usepackage{booktabs}
\usepackage{lipsum}

\begin{document}
\lipsum[1]
\begin{SCtable}[][ht]
\caption{The caption text over multiple lines on outer side of table}%
\label{tab:side}
    \begin{tabular}{lll}\toprule
        bla & blu & lbll \\
        \midrule
        bla & djfgkdjf jkdfg  dfkgjd kjgkd fkgjdkfgj kdjfgkj & lbll \\
        bla & blu & lbll \\
        bla & blu & lbll \\
        \bottomrule
    \end{tabular}
\end{SCtable}
\lipsum[2]
\begin{table}[ht]
\caption{The caption text over multiple lines on the top of table}%
\label{tab:top}
\centering
    \begin{tabular}{lll}\toprule
        bla & blu & lbll \\
        \midrule
        bla & djfgkdjf jkdfg  dfkgjd kjgkd fkgjdkfgj kdjfgkj & lbll \\
        bla & blu & lbll \\
        bla & blu & lbll \\
        \bottomrule
    \end{tabular}
\end{table}
\lipsum[3]
\end{document}

enter image description here

Related Question