asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Import tex table generated by asdocx to main tex file › Reply To: Import tex table generated by asdocx to main tex file
Seems you need the tableonly
option, that creates just the table without the file header and package list. For example
asdocx cor Diaper GetupNight PutBabyToSleep PlayWithBaby , /// save(CorrCaringWork.tex) abb(.) title(\notitle) replace tableonly
Also, in the master file where you call the input(), you should include the following lines to the package list
\usepackage{tabularx, booktabs, threeparttable, caption} \captionsetup{font=bf, aboveskip=1ex, belowskip=2ex} \usepackage{multirow}
I shall look into the table title(\i)
, obviously, it is not working.