1

I would like to remove the space between words when the text is wrapped in columns 2,4 and 5.
Then I want to adjust the text alignment of the last 3 columns to right.
Lastly if I can wrap the 3th column tile would be great.

\begin{table}[H]
\centering
\begin{adjustbox}{max width=1\textwidth,center}
\begin{tabular}{@{}l p{0.18\linewidth} c p{0.15\linewidth} p{0.35\linewidth} c r r @{}}
\toprule
\multicolumn{1}{c}{Name} & \multicolumn{1}{c}{Data Set} &  Number of Assets & \multicolumn{1}{c}{Optimization} & \multicolumn{1}{c}{Risk Model} &  Signal & \multicolumn{1}{c}{Start} & \multicolumn{1}{c}{Backtest} \\ \midrule
Global 1 & Global equities, bonds, 55 FX,   and commodities & 55 & EPOS & Exponentially-weighted daily   volatilties (60-day center-of-mass) and 3-day overlapping correlations (150   day center-of-mass) & TSMOM & 01/01/1970 & 01/01/1985 \\
Global 2 & Global equities, bonds, 55 FX,   and commodities & 55 & EPOS & Risk model from Global 1, where   correlations are shrunk 5\% & TSMOM & 01/01/1970 & 01/01/1985 \\
Global 3 & Global equities, bonds, 55 FX,   and commodities & 55 & EPOS & Risk model from Global 1,   enhanced via random matrix theory & TSMOM & 01/01/1970 & 01/01/1985 \\
Equity 1 & 49 industry portfolios & 49 & EPOS & 60 months (equal-weighted), 5\%   shunk & XSMOM & 01/01/1927 & 01/01/1942 \\
Equity 2 & 49 industry portfolios & 49 & EPOS & 40 days (equal-weighted), 5\%   shunk & XSMOM & 01/01/1927 & 01/01/1942 \\
Equity 3 & 49 industry portfolios & 49 & EPOS & 120 days (equal-weighted), 5\%   shunk & XSMOM & 01/01/1927 & 01/01/1942 \\
Equity 4 & 49 industry portfolios & 49 & EPOS & 120 days (equal-weighted), 5\%   shunk & XSMOM*sigma & 01/01/1927 & 01/01/1942 \\
Equity 5 & 49 industry portfolios & 49 & EPOS & 120 days (equal-weighted), 5\%   shunk & XSMOM*sigma\textasciicircum{}2 & 01/01/1927 & 01/01/1942 \\
Equity 6 & 49 industry portfolios & 49 & EPO with anchor= 1/N & 60 months (equal-weighted), 5\%   shunk & XSMOM & 01/01/1927 & 01/01/1942 \\
Equity 7 & 49 industry portfolios & 49 & EPO with anchor= 1/sigma & 60 months (equal-weighted), 5\%   shunk & XSMOM & 01/01/1927 & 01/01/1942 \\
Equity 8 & Each industry split in 2   portfolios based on past 12 month return & 98 & EPOS & 60 months (equal-weighted), 5\%   shunk & XSMOM & 01/01/1927 & 01/01/1942 \\ \bottomrule
\end{tabular}
\end{adjustbox}
\caption{}
\label{tab:my-table}
\end{table}

enter image description here

Basically I want to replicate this next table

enter image description here

1 Answers1

1
  • Please always provide MWE (Minimal Working Example), a complete small document, which can be compiled as it is (as I do below).
  • Newer scale table, it cause inconsistent font size in table.
  • For less space between column context in table body you need to make column headers narrower.
  • With small redesign of your table:
\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{ragged2e}
\usepackage{booktabs, makecell, tabularx}
\newcolumntype{R}[1]{>{\RaggedRight\hsize=#1\hsize\hspace{0pt}}X}

\begin{document} \begin{table}[htb] \caption{Data for time period from 01/01 in start year to 01/01 in back test year. Opt.: type of Optimization} \label{tab:my-table} \end{table} \setlength\tabcolsep{3pt} \footnotesize \begin{tabularx}{\textwidth}{@{}l R{1} l R{0.7} R{1.3} c r r @{}} \toprule Name
& Data Set & \makecell[l]{Num. of\ Assets} & Opt. & Risk Model & Signal & start & \makecell[l]{Back\ test} \ \midrule Global 1 & Global equities, bonds, 55 FX, and commodities & 55 & EPOS & Exponentially-weighted daily volatilties (60-day center-of-mass) and 3-day overlapping correlations (150 day center-of-mass) & TSMOM & 1970
& 1985 \ Global 2 & Global equities, bonds, 55 FX, and commodities & 55 & EPOS & Risk model from Global 1, where correlations are shrunk 5% & TSMOM & 1970 & 1985 \ Global 3 & Global equities, bonds, 55 FX, and commodities & 55 & EPOS & Risk model from Global 1, enhanced via random matrix theory & TSMOM & 1970 & 1985 \ Equity 1 & 49 industry portfolios & 49 & EPOS & 60 months (equal-weighted), 5% shunk & XSMOM & 1927 & 1942 \ Equity 2 & 49 industry portfolios & 49 & EPOS & 40 days (equal-weighted), 5% shunk & XSMOM & 1927 & 1942 \ Equity 3 & 49 industry portfolios & 49 & EPOS & 120 days (equal-weighted), 5% shunk & XSMOM & 1927 & 1942 \ Equity 4 & 49 industry portfolios & 49 & EPOS & 120 days (equal-weighted), 5% shunk & XSMOMsigma & 1927 & 1942 \ Equity 5 & 49 industry portfolios & 49 & EPOS & 120 days (equal-weighted), 5% shunk & XSMOMsigma\textasciicircum{}2 & 1927 & 1942 \ Equity 6 & 49 industry portfolios & 49 & EPO with anchor= 1/N & 60 months (equal-weighted), 5% shunk & XSMOM & 1927 & 1942 \ Equity 7 & 49 industry portfolios & 49 & EPO with anchor= 1/sigma & 60 months (equal-weighted), 5% shunk & XSMOM & 1927 & 1942 \ Equity 8 & Each industry split in 2 portfolios based on past 12 month return & 98 & EPOS & 60 months (equal-weighted), 5% shunk & XSMOM & 1927 & 1942 \ \bottomrule \end{tabularx} \end{document}

you will get the following result:

enter image description here

Is this result satisfactory?

Zarko
  • 296,517