Hello All

I'm trying to export summary statistics from -estat sum- command into LaTeX using user written -esttab- (ssc install esttab).
Code:
estat sum
est store e1
esttab e1 using stats.tex, tex replace
However, this gives me just the sample size in the table. Does anyone know the syntax to handle this?