Showing posts with label puthesis. Show all posts
Showing posts with label puthesis. Show all posts

Friday, October 9, 2009

Puthesis for AGEC thesis

The puthesis template does 99% of your thesis formatting. The 1% left, however, is a pain in the neck. For example, using puthesis out of the shelve gave me the following problems (Ask Lou Ann for the format requirements, do it early):

1. The margins were not as required
2. The spaces between headings and subheadings were not as specified.
3. The little dots of the table of contents did not touch the number pages.
4. The table captions did not met the requirements.
5. The headings and subheadings had a format different than what is needed.
6. The original template I got did not indent the first line after Chapter headings.

To fix 1-3 and 5 I modified the puthesis.cls file and renamed it as
puthesis_mod.cls. (Download puthesis_mod.cls ) You can search over comments starting with NV to see what I did. I counted 16 modifications; sadly, I do not remember why I did half of them. Moreover, the brackets specifying the options for agecon include several tweaks. My fix to the table of contents leaders only works for two subdivisions, if you have more, have fun trying to add extra divisions in a similar way to the ones that I added. To fix 4, and other little things I do not remember, puthesis.cls has built-in options. So, in addition to using puthesis_mod.cls, I used this as the first line of the preamble:

\documentclass[agecon,ajae,dissertation,nochapterblankpages,nononchapterblankpages,uglyheadings]{puthesis_mod}

Notice that puthesis_mod.cls is genetically engineered to include the bibliographical AAEA style, which was mentioned in an earlier post.

I also noticed that other people working with puthesis had not the same problems I had, and I ignore why that is the case.

Two more things:

1. Margins work --- but you have to be sure that Page Scaling is set to none when you use Adobe Acrobat Reader to print.
2. Figures and tables that are aligned at the top of the page tend to break the 1 inch top margin. My solution was to use \begin{}[hb]. Itworked (h for here, b for bottom). As a very last resource, for tables that occupy an entire (or more) page, a \vspace{-.1in} statement did the trick. Put it after the \begin{} and before the \caption.

Monday, August 31, 2009

AJAE standard references in Latex and Puthesis

The package economic has a bibliography style based on AJAE standards:
The package is at:
http://www.ctan.org/tex-archive/biblio/bibtex/contrib/economic/
and should be easy to install using mike/live tex standard installers.
To use it with puthesis, add this line to puthesis.cls (I added it where all the bib styles are defined, I do not know if that matters):
\DeclareOption{ajae}{\set@@optionbibstyle{ajae}}.
Then, declare it in the document class:
\documentclass[agecon,ajae,dissertation]{puthesis} (thanks Todd for this hint) and be sure to declare it as bib style in the bibliography section:
\bibliographystyle{ajae}.