Position table and graph in Latex using texdoc

by Rodrigo   Last Updated September 11, 2019 21:23 PM

I am new in Latex with stata, for this purpose I am using texdoc, lamentably I have some problem in graph and table position into the pdf document, below I show pdf images and example of my code.

Thanks in advance.

pag1 pag2 My code example:

texdoc init ej.tex, replace

/***
\documentclass{article}
\usepackage{stata}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{tabularx}

\begin{document}

\section*{MY FIRST LATEX :}

This is my first Latex, now I show tables:

***/
texdoc stlog  quietly

clear all
sysuse auto, clear
 eststo:  reg price weight mpg 
esttab using example.tex, label  title(Regression table) replace


scatter price mpg
texdoc stlog close
texdoc graph tar

 /***

You can see that result are according to my late jobs.

\begin{center}

\input{example}

\end{center}

\section*{Graph}

In figure we see  a nice graph.

\begin{center}
\includegraphics{tar.pdf}
\end{center}

\end{document}


Related Questions



texdoc giving error when try to open manual

Updated January 24, 2018 09:23 AM

texdoc package-name results no documentation found

Updated September 05, 2017 07:23 AM


Cannot find package stata.sty

Updated August 30, 2018 12:23 PM