Carlos A. Cinquetti State University of S o Paulo a Department of Economics Ricardo Goncalves Silva SERASA Modelagem Econom trica de Cr dito e e
1 Latex Editor
Miktex already help you a lot with all those Latex code and norms impossible to keep on mind, but Winedt helps with even more: automatically generate all codes you need by simply clicking within the related topic in its menu.
2 Bibliography
One main pro in using writing articles in Latex are the bibliography resources of its bibtex. Yet, for doing so you will face a not small number of challenges. Below are some tips for some common ones.
You must also be advised as to the way of executing both les. It recommended to execute your latex twice after having made important changes on it. The same rule may apply to your bib le, when you click in the box g of your Winedt. However, you should not do with in the normal sequence to produce your pdf or dvi le. Rather execute latex once or twice, then the bibtex, then latex again, and lastly the dvi to pdf routine.
In the case of articles or books by more than two authors, Latex automatically generates (authora et al.). However, if you wish that all names show you must do: \cite*[]{currie:et} and it will apper as (Currie, Levine, Pearlman, and Chui).
3 Tables
3.1 Creating Tables
Creating Tables is awfully tiresome. There is, though, a package that automatically converts Excels Tables into the Latex language. It is called Excel2Latex. After creating your table in the Microsoft Excel, you should execute your Excel2Latex. Your Latex will automatically open an option in the Tools menu, called convert to Latex. Click there and follow it through. Before you have to select, with your mouse, the desired table, which is the only thing Excel2Latex will convert. All these does not spare you from knowing the basic language for tables in Latex, which will enable you making extra ne edition. By the way, notice that your Tabular environment will have to be placed within the Table environment.
3.3 Dimensions
Sometimes your Table takes a too wide or narrow space of your text. One way to overcome it is editing Tables with smaller letter, using the scalefont command: \begin{table}[h!]\scalefont{0.9} \setlength{\tabcolsep}{1.3pt} You can also edit the columns wideness, using the setlenght environment, as in the above example. A corresponding command will be required in your preamble. You can go up to 12pt or more, as well as below 1pt.
The above illustrate a gure transformed to a eps form, store in an specic drive of your computer, as well as the instruction for your Latex to capture it. wrapgure Floating text around gures. \begin{wrapfigure}[6]{o}{10cm} \centering \includegraphics[angle=-90, 4
width=\linewidth]{C:/DATA/figtarlev.eps} \caption{Effective Rate of Protection \label{tarfig}} \end{wrapfigure} It requires the %usepackagewrapf ig. Floatt E similar ao wrapgure, permitindo um detalhamento maior, como a inclus o de nome da a gura. E necess rio no pre mbulo colocar a a %usepackage[rt]oatt ` Onde o argumento opcional rt indica que os gr cos ser o colocados a direita do texto. a a ` Com lt seriam colocados a esquerda e vt indica que o gr co sair a direita nas p ginas ima a` a pares e a esquerda em p ginas mpares. a Exemplo Este ambiente... Reducing the space between gure and the text. In order to make the the command vspace works better, together with the setting of [H] instead of [h!], one should load usepackagef loat \begin{figure}[H] \begin{center} \caption{Effective Rate of Protection \label{tarfig}} \includegraphics[angle=-90, width=\linewidth, totalheight=12cm]{C:/DATA/figtarlev.eps} \end{center} \end{figure} \vspace*{-4cm} Notice the use of the environment center as well as the parameter totalheight within the includegraphics.
\hrulefill Fills the current line with space. With \hrulefill, the space is underlined. Example: If you want to create a form that says Name: __________, where the underline is 3 inches long, use this: Name: \makebox[3in]{\hrulefill} \vspace{len} Leave len vertical space.
8 Special Styles
8.1 Underlines
When working with a coauthors, you may wish to underline some changes made. The same might occur when submitting your paper to a reviewer. Latex has its underlines environment, but it works poorly, for the whole phrase will appear in a unique line. The a good alternative is introducing \usepackage{ulem} and then select the phrase with \emph{here is the phrase underlined}