Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
• Author
Posts
• Andrew Zhao
Participant
Post count: 1

`\input{}` , `\include{}`, and `\catchfile ` methods all don’t work for generated tex file (unlike esttab). I end up compiling all generated `tablename.tex` to pdf then insert them into my `main.tex`. But I don’t think this would be a good solution. Is there any way to easily insert generated latex table to other tex files for asdocx.

Attaullah Shah
Moderator
Post count: 21

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.

Viewing 2 posts - 1 through 2 (of 2 total)
• You must be logged in to reply to this topic.