LaTeX Tips

Convert Bitmap to EPS

Inserting photos in LaTeX is sometimes annoying. Photos are usually in bitmap forms (JPEG, GIF, BMP, etc.) and have to be converted to forms that LaTeX can accept,* such as EPS (Encapsulated PostScript©). The EPS files obtained from most converting software are usually large in size and sometimes with degraded quality. Imgtops is, in my opinion, the best gadget for this job. It turns bitmap files into EPS form, keeping the original quality and only increasing the size a bit.

* pdfLaTeX can directly handle PNG and JPEG files.


Ever need to put all the figures and tables at the end of your manuscript? Don't move them manually; Use the package endfloat. It will even put markers near where the figures (or tables) would normally have occurred. If you like clean text without markers, issue \nomarkersintext.


To use endnotes (notes placed at the end of an article, like references), use the package endnotes. The usage is very similar to that of footnotes.

Add an endnote: \endnote{...}
List all the endnotes: \theendnotes
Set the endnote size: \renewcommand{\enotesize}{\normalsize}

One can also convert all the footnotes to endnotes (say, when submitting papers to a journal) by putting \renewcommand{\footnote}{\endnote} in the preamble.

BibTeX: Disable crossref Inclusion

BibTeX automatically includes the cross-referenced entry in the citation list if it is referred to by two or more entries. To disable this feature, use bibtex -min-crossrefs=999. The default for -min-crossrefs is two.