program estpdf
	syntax [anything] [,*]
	tempfile output
qui esttab `anything' using `output', `options' booktabs

	!openout_any=a "/usr/texbin/pdflatex" -interaction=batchmode -jobname "`output'"  '\documentclass[varwidth=false, border=10pt]{standalone} \usepackage{blindtext,booktabs} \usepackage[table]{xcolor} \usepackage[T1]{fontenc} \begin{document} \Large \input{'"`output'"'} \end{document}' 2>&1 >/dev/null;  open "`output'.pdf"
end