I want to put inside a left arrow with text in one of my headings in a table. I have tried methods given in amsmath package. But unable to format it. Can you please help me how to format the table.
Code: Select all
\documentclass{article}\usepackage{amsmath,booktabs,caption,multirow,siunitx,threeparttable}\begin{document}\begin{table}[htbp!]%\setlength{\tabcolsep}{3pt}\footnotesize\begin{threeparttable}\caption{Granger Causality Test}\label{tab:causality}\sisetup{table-number-alignment=right,table-figures-integer=2,table-figures-decimal = 2,table-space-text-post =\textsuperscript{\textbf{*}}}{\renewcommand{\arraystretch}{1.2}\begin{tabular}{llSSSS}\addlinespace\toprule& & \multicolumn{3}{c}{\textbf{\Delta S_{r,t}}}\xrightarrow[T]{does granger cause}{\textbf{\Delta F_{r,t}}} & \multicolumn{3}{c}{\textbf{First Difference ( Log )}}\\\cmidrule(r){3-5} \cmidrule(r){6-8}\textbf{Group} & \textbf{Commodity} & \multicolumn{1}{l}{\textbf{Constraint}} &\multicolumn{1}{r}{\textbf{Spot}} & \multicolumn{1}{r}{ \textbf{Future}} & \multicolumn{1}{l}{\textbf{Constraint}} & \multicolumn{1}{r} {\textbf{Spot}} &\multicolumn{1}{r}{ \textbf{Future}} & \multicolumn{1}{c}{\textbf{Integration}} \\\midrule\multirow{2}[0]{*}{Bullion}& Gold & I and T & -3.01 & -2.90 & I & -10.48 & -10.42 & I(1) \\& Silver & I and T & -1.72 & -2.12 & I & -10.67 & -10.22 & I(1) \\\hdashline\multirow{5}[0]{*}{Metal} & Aluminium & I and T & -1.85 & -1.81 & I & -10.37 & -10.77 & I(1) \\& Copper & I and T & -1.90 & -2.15 & None & -11.54 & -8.49 & I(1) \\& Lead & I & -1.67 & -1.79 & None & -9.74 & -9.71 & I(1) \\& Nickel & I & -1.89 & -1.73 & I and T & -11.26 & -10.84 & I(1)\\& Zinc & I & -1.22 & -1.16 & None & -10.69 & -10.50 & I(1) \\\hdashline\multirow{2}[0]{*}{Energy} & Crude Oil & I and T & -1.76 & -1.80 & None & -12.37 & -10.92 & I(1) \\& Natural Gas & I & -2.20 & -2.05 & None & -10.12 & -10.27 & I(1) \\\bottomrule\end{tabular}}\end{threeparttable}\end{table}\end{document}
With sincere regards,
Upananda