I made a table, but the column width is not even. I tried many methods, but still could not make the column width even. Strange things is that I have many other tables with the same style and their columns have the same width. I am really puzzled here. I appreciate any help on this issue. Thanks.
\documentclass[english,authoryear,12pt]{article} \usepackage{caption} \captionsetup[table]{justification=centering, labelsep=newline, font=bf, skip=1ex} \usepackage{tabularx,booktabs} \usepackage{tabularray} \usepackage{array} \usepackage{longtable} \usepackage[english]{babel} \usepackage{epstopdf} \usepackage{epsfig} %\usepackage{geometry} \usepackage{lscape} \usepackage{pdflscape} \usepackage{rotating} \usepackage{rotate} \usepackage{multirow} \usepackage{parskip} \usepackage[capposition=top]{floatrow} \usepackage{placeins} \usepackage{booktabs} \newcommand{\tabitem}{~~\llap{\textbullet}~~} \usepackage{adjustbox} \usepackage{url} \usepackage{subfigure} \usepackage{threeparttable} \usepackage{setspace} \usepackage{mathrsfs} \usepackage{authblk} \usepackage[authoryear,round]{natbib} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{mathtools} \usepackage{float} \usepackage{floatrow} \usepackage{siunitx} \usepackage{caption} \usepackage[colorlinks,citecolor=red,urlcolor=blue,bookmarks=false,hypertexnames=true]{hyperref} \usepackage{soul} \usepackage[toc,page]{appendix} \bibpunct{(}{)}{;}{a}{,}{,} \bibliographystyle{econ} \renewcommand\Authfont{\small} \renewcommand\Affilfont{\itshape\footnotesize} \renewcommand{\baselinestretch}{1} \sloppy \setcounter{MaxMatrixCols}{10} \setlength{\textheight}{215mm} \setlength{\textwidth}{160mm} \setlength{\oddsidemargin}{0pt} \setlength{\topmargin}{-20pt} \setlength{\headsep}{35pt} \setlength{\textwidth}{160mm} \setlength{\evensidemargin}{0pt} \setlength{\headheight}{12pt} \setlength{\parindent}{0.5cm} \setlength\parskip{0.1in} \providecommand{\lessgtr}{\stackrel{<}{>}} \IfFileExists{pslatex.sty}{ \usepackage{pslatex} }{} %\input{tcilatex} \DeclareUnicodeCharacter{2212}{-} \begin{document} \title{Title A} \pagebreak{} \clearpage \newpage \begin{table}[H]\footnotesize\setlength{\tabcolsep}{3pt} \caption{\textbf{Optimism} \label{tab:optimism}} \begin{tablenotes}[flushleft] \footnotesize \item We report the t-statistics in the parenthesis. *, **, and *** represent significance at the 10\%, 5\% and 1\% levels, respectively. \end{tablenotes} \smallskip \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}l*{3}{c}} \toprule &\multicolumn{3}{c}{ Hold/Underperform/Sell Recommendation} \\ \cmidrule (lr){2-4} \noalign{\smallskip} &\multicolumn{1}{c}{(1)} &\multicolumn{1}{c}{(2)} &\multicolumn{1}{c}{(3)} \\ \midrule & & & \\ X1 & -0.022*** & -0.021*** & -0.019*** \\ & (-3.274) & (-3.257) & (-3.042) \\ X2 & 0.007*** & 0.007*** & 0.008*** \\ & (3.005) & (3.161) & (5.149) \\ X3 & 0.008 & 0.016 & 0.017 \\ & (0.123) & (0.250) & (0.299) \\ X4 & 0.039* & 0.039* & 0.034* \\ & (1.830) & (1.823) & (1.803) \\ X5 & 0.004 & 0.005 & 0.004 \\ & (0.826) & (1.058) & (1.056) \\ & & & \\ Year Fixed Effects & YES & YES & YES \\ Firm Fixed Effects & YES & YES & YES \\ & & & \\ Observations & 71,060 & 71,060 & 71,060 \\ \bottomrule \end{tabular*} \end{table} \pagebreak{} \clearpage \newpage \end{document} 

tabularx?\captionsetup[table]{justification=centering, labelsep=newline, font=bf, skip=1ex}, there's no need for\textbfin\caption{\textbf{Optimism}}.\caption{Optimism}will do.\IfFileExists{pslatex.sty}{\usepackage{pslatex}really?? I wrotepslatexaround 1990 to match the fonts on a Sun (rebadged apple) laserwriter, I don't think I ever used it after we brought out latex2e in 1993. Odd to see it still being used.