• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Home
  • About
  • My Blogs
    • Photoblog
    • Knots
    • WP.com tips
kristarella.com

kristarella.com

Happiness Engineer at Automattic, lover of knitting, crochet, sci-fi and more

  • Presentations
  • Plugins
    • Exifography
  • Contact
You are here: Home / Technology / Writing a thesis in LaTeX

Writing a thesis in LaTeX

5 November 2008 by kristarella

Contents
  1. Dave’s thesis in a box
  2. Useful things LaTeX can do
    1. Defining new terms
    2. Math mode & equations
    3. Hyphen in math mode
    4. Long tables
    5. Rotating tables and figures
  3. Stuff I couldn’t do and had to work around
    1. Table descriptions
  4. Bottom line

LaTeX is a document markup system, which helps you to focus on what you’re writing and reduces some of the hassle of tedious tasks like adding references and numbering sections, figures and tables. It also natively handles footnotes, table of contents, lists of figures, lists of tables, headers, footers, margin notes and probably a hundred other things. It lays documents out intelligently, for readability, and you can apply any number of styles to suit your document, be it book, journal article, letter or thesis.

I used TeXShop to edit the .tex files and typeset (render) the document. I also used BibDesk to manage my references (just as easy, if not easier, to use as Endnote). Both of these programs are for Mac OS X; for Windows you might be able to try LaTeX Editor, or TeXnicCenter looks very nice. I’m not sure what you would want to use on Windows for managing references though.

Dave’s thesis in a box

For my thesis I needed something a little more complicated than the standard document template. So I started with Dave’s thesis in a box. It’s basically a collection of files that get compiled together to create your document. It has a separate file for each chapter, which makes writing simpler and reduces the load on your computer (imagine trying to save 70 pages of writing in Word!).

There are other thesis templates floating around if you don’t think this one suits you.

Useful things LaTeX can do

Defining new terms

If you have to type something a lot, you could use TextExpander (which I did for a while), or you could just define some shorthand. Somewhere near the start of your document you put \def\Mf{Methanogenium frigidum} and then whenever you type \Mf in your document, it will output “Methanogenium frigidum” instead.

Math mode & equations

LaTeX has a math mode that you can begin using a dollar sign ($) and also an equation environment using \begin{equation}. It is very useful for typing Greek letters (you need quite a few in biology), writing simple equations, or writing large complex equations. It typesets them very nicely.

Hyphen in math mode

Conveniently, hyphens are automatically changed to minus signs when you’re in math mode. Less convenient when you actually want a hyphen. You can do it with \mbox{-}.

Long tables

You can make a table span multiple pages by using the longtable package and using \begin{longtable} instead of \begin{table}. I used that for my list of abbreviations, which I formatted as a table because I thought it was a bit nicer.

Rotating tables and figures

Apart from placing figures pretty much any way you like, you can use the rotating package to create sideways figures and tables. Very good for wide figures and tables that you don’t want to shrink to unreadable proportions.

Stuff I couldn’t do and had to work around

Table descriptions

It seems like the standard format for tables in biology has the table number and title above the table, whereas figures have the number, title and legend beneath. I wanted to add a small legend/description underneath the table, but there was no standard way to do it. The normal title and legend would be inserted with \caption{Title. Description goes here.}, but if you put another one of those in it creates another table number.

I ended up hacking a solution by adding
\linebreak[4]
\linebreak[4]
{\footnotesize Sequence alignment scores calculated by Clustal 2.0.1.0.}

underneath the tabular environment.

Bottom line

The long and the short of it is that LaTeX is huge in its versatility and well worth learning. However, it does take a bit of learning and I recommend trying it out on smaller projects before venturing into a huge one. However, if you are venturing into a thesis, even if you haven’t tried LaTeX on something smaller it could well be worth learning. It may save you much time in referencing, cross-referencing and document layout. If worst comes to worst you could just copy your text into Word, OpenOffice or Pages and reformat it, which I’m sure you’d be doing several times working in those editors anyway. So give it a go!

If you need to find a specific function for LaTeX I suggest using Google and searching for “latex” plus a description of what you want to do. I usually found the answer quite quickly.

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on Pocket (Opens in new window) Pocket

Like this:

Like Loading...

Related

Filed Under: Technology Tagged With: free, Free Software, geek, university

Reader Interactions

Comments

  1. ko says

    6 November 2008 at 12:41

    I remember my Dad used to (and probably still does) write all of his technical papers in LaTeX.

    I remember writing stuff in LaTeX around 1991/1992 using vi but that’s because I’m old school.

    I remember then moving to MS Word because it did everything I needed to do (school assignments) at that stage and was much much easier to use. I have not needed to go back to LaTeX and don’t anticipate that I will.

    All the best with your thesis and LaTeX.

  2. kristarella says

    6 November 2008 at 14:53

    Hi ko,

    Yes, LaTeX is particularly good for technical writing.
    I haven’t learnt Vi, that is old school, I think my husband uses it (or maybe Vim).
    Yeah, Word is okay, except for the occassional craziness of MS Office file incompatibilities and propensity to crash. Word, Pages and OpenOffice are usually sufficient. I’ve used them for up to 2500 words, but much more I would use LaTeX. It also produces much smaller file sizes.

  3. ko says

    6 November 2008 at 15:07

    I think my biggest assignment ever was maybe 1500 words so I never hit too many issues with Word.

    These days, I’m like you I guess, I use a combination of Word, Pages, OpenOffice and Word depending on the machine I’m using and what I’m trying to do.

  4. kristarella says

    6 November 2008 at 15:56

    Yeah, I use Pages and OpenOffice myself.

    Wouldn’t be bothered to set up a LaTeX document for simple things. Pages is very nice with all its built in templates and styles. Good for knocking together some tables or making a PDF of instructions. From memory it can import HTML, which is handy too.

  5. Michael Martin says

    9 November 2008 at 12:47

    That sounds like a great tool Kristarella. I’m used to fiddling with Word by now, but from your description alone, it’s clear that it’s not anywhere as flexible for long documents like a thesis! Bookmarked this for learning when I get a chance, thanks. 😀

A triptych of baubles. These are very satisfying t A triptych of baubles. These are very satisfying to paint ❤️💚💙

#watercolor #watercolour #christmas
I have really enjoyed this Christmassy painting! S I have really enjoyed this Christmassy painting! So glad my friend asked me to make some cards for our church helpers, because it set me on a roll!
#watercolor #watercolour #christmas #christmascards #watercolorcards
Had a great Saturday at the GKR Karate State Title Had a great Saturday at the GKR Karate State Titles! I was a sub for @jamesxuereb.me in the Blue Flame Dragons thanks to his sprained ankle; we won first round and came fourth overall!
I did a bunch of judging and officiating, which was really good.
I didn’t place in my individual events, but had a very fun final round of kumite (sparring).

#gkrkarate #karate
More stamping tonight. Even better than last night More stamping tonight. Even better than last night’s!
Did some stamping this evening. Love it! I wish I’d done some pages in other ink colours before I dismantled the stamps 😂
Had an appointment in the city, so I got to visit Had an appointment in the city, so I got to visit the @legocertifiedstores_anz Wicked display!
#wicked #lego #afol #sydney
A little book I made from Bunnings paint sample ca A little book I made from Bunnings paint sample cards. It’s going to be for mini paintings and collages. Sometimes it’s nice to start with a colour rather than a blank white page!
A little while ago I did some swatching of Daniel A little while ago I did some swatching of Daniel Smith and Schminke Horodam watercolours. So soothing! I love some of the granulating colours!
#watercolours
Follow on Instagram

Footer

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts & Pages

  • Home
    Home
  • Edit EPS files in Inkscape on Mac
    Edit EPS files in Inkscape on Mac
  • Contact Me
    Contact Me
  • About
    About
  • Wooden yarn swift
    Wooden yarn swift
  • Aimee Mann
    Aimee Mann

Follow Me On…

  • Instagram
  • X
  • GitHub
  • LinkedIn
  • YouTube

Categories

Copyright © 2025 · Kristen Symonds · kristarella.com

%d