Main

March 12, 2008

Writing a Thesis

Over the past couple of weeks I've started putting together my thesis. I have various things I've written throughout my graduate career (journal articles, presentations, posters, etc) that will be included, so I need not write everything from scratch. I'd estimate about 1/3 of it is already written.

I decided that I was going to use LaTeX to format my thesis. Not many chemistry people use LaTeX - they seem to be entrenched in Microsoft land using Word. Support in LaTeX for chemistry is there, though it may take some work to get everything just right.

There are two areas I had particular trouble with: figures and citations. I'll describe how I resolved these issues.

I wanted crisp, clean figures for my thesis. More than half of the figures I see in presentations and papers are ugly, rasterized, blurry or jagged. Pretty figures means I need to preserve the vector data, rather than pixel data.

Using Ball & Stick to generate 3D structures from PDB files is great. Copying and pasting into ChemDraw allows me to add arrows, bond distances, angles, and so forth and also preserves vector data for the ball and stick drawing.

I can then copy and paste this figure to Adobe Illustrator and save it as an *.eps file without further modification. Be sure to set Preview: Format to "None" when prompted with an EPS Options box. ChemDraw will save your figure as an *.eps file, but for whatever reason this is file can't be opened or converted by anything I've tried (and I tried a lot).

I want to output my LaTeX as a *.pdf document, so I can't use the *.eps images directly. There are two utilities for Macs that I've found can convert an *.eps file to a *.pdf file (the required format for vector images). epstopdf produced an image with poor preservation of color. All my grayscale items turned to black. I went with the Mac native utility pstopdf, which produces brilliant results.

In order to add "chemistry style" references (yea, us chemists apparently vary from the rest of the world when it comes to citations) I used the package achemso.

The default behavior for LaTeX is to stick all your references in one place. A good practice, but for a thesis I needed a separate list of references at the end of every chapter. The package chapterbib takes care of this.

Unfortunately, I spent a good two days attempting to get these two packages to play nice together. Ultimately I emailed one of the authors, and current maintainer of achemso, Joseph Wright, mentioning the incompatibility. He had a workaround to me in less than a half hour, followed by a patched version of the package not even ten minutes later. Thank you Joseph!

The hack involved saving the original \bibliographystyle before loading the package, and restoring it after:

\documentclass{...
\let\orgbibliographystyle\bibliographystyle % add this line
\usepackage{achemso,chapterbib}
...
\begin{document}
\let\bibliographystyle\orgbibliographystyle % and this line
...

Which worked just great. The patched version he sent me eliminated the need for this hack.

June 10, 2006

Update

My ankle has still been bugging me once and a while. I only notice it when I squat down to pick something up, for example, but I suspect it might get worse if I start running again. Last Saturday I rode along with the Saturday morning workout. I biked back and forth with water and food for the people running. Nobody actually needed anything, but it was nice to see some familiar faces and get out on a bike ride.

My third year seminar went well. I resolved some problems I had been having with a few calculations, and am working with my professor and our collaborators writing a paper that will include some of my results.

Right now, I am building a few new computers to help with our chemistry calculations at work. The one I am most excited about is a dual, dual core Opteron system (4 cores!) with 32GB of RAM. This should help us with some of the more complex calculations that we can't run right now. In addition, we are adding significant amounts of storage space to store the results of all our calculations.

I took this photo with my new camera. It is the box of hard drives I ordered, wrapped up in ESD bags. Twenty 300GB drives, that is 6TB of space! For the non-geeky people out there, this is equivalent to about 8600 CDs.

May 29, 2006

Three Years of Graduate School

I'm coming up on the end of my third year of graduate school. Next Friday I'm giving a departmental seminar on the progress of my research to this point. If you want to know more about what I do, or want to attend my seminar (it is open to anyone!) just let me know.

January 12, 2006

qualifying exam

On January 12th, 2006, I passed my qualifying exam and became a PhD candidate.