Summer Camp for Social Scientists! LaTeX Edition

ICPSR summer program bannerI’m spending the next eight weeks in Ann Arbor, which, aside from its quaint and shady tree-filled streets, is well known as the home of the Michigan Wolverines. What’s perhaps less known  (outside academic circles) is that the University of Michigan is home to one of the most advanced social science research institutes in the world, The Institute for Social Research (ISR). The ISR consists of five separate and independent research centres, one of which is the Inter-university Consortium for Political and Social Research (ICPSR), of which McGill University is a member. The ICPSR manages and curates secondary datasets as well as conducts its own research on how to best curate and manage data. The archive at ICPSR is not only impressively large, but unique and easily accessible to both novice researchers and advanced scholars. Codebooks and data files are all indexed and linked to each other. Previous articles written on the respective dataset are also indexed and linked. The whole layout of the site makes working with secondary data less head-numbingly perplexing. So, while I was browsing their site back in the fall, I happened upon the ICPSR Summer Program in Methods of Quantitative Research. The courses at the summer program are diverse, and aimed at scholars of all levels. For example, they offer courses on basic computing to advanced Bayesian methods. Stumbling upon this social science training program made me feel as if I had found a secret garden. Today at orientation my feelings were confirmed when the director of the program, Professor Bill Jacoby welcomed us to not only the world’s foremost quantitative methods training program but also a ‘summer camp for social scientists’. In short, I feel absolutely privileged to be here*, and intend on sharing some of the resources and experiences I gather here on the blog.

Tonight, Professor Dave Armstrong gave us a quick tour of LaTeX. I’ve used LaTeX before, admittedly though “used” is a liberal term here. However, the lecture was accessible and packed with coding tips and tricks to make LaTeX more attractive to the less than savvy.  LaTeX is a markup language, similar to HTML. It is not a WYSIWYG (what you see is what you get) word processor like Word, OpenOffice, or Pages. So if you’re afraid of programming, then LaTeX is not for you. But if you don’t mind a bit of front-end effort, LaTeX pays off (see this great summary and guide here). First, it looks good. I mean really good. Every econometrics paper you’ve ever read since 2000 has been typeset with it. Which brings me to my second point, it’ll get you lots and lots of nerd-cred by using it. But seriously, LaTeX does offer some compelling and concrete benefits over traditional WYSIWYG programs such as:

  • It’s free & open-source and there’s tons of documentation online regarding troubleshooting
  • You can add on programs such as Sweave that allow you to conduct your stats analysis in R within the a LaTeX text editor program
  • It has easy separation of the content from the format of the document (comes in handy when writing a long document with sections and sub-sections)
  • It has wonderful presentation of mathematical functions and equations (and is miles easier to incorporate into your document than doing so in Word)
  • It beautifully typesets documents (it automatically adjusts the words in ways the WYSIWYG programs do not)
  • It has easy integration of figures and graphs (again, very handy for long documents)

For me, as someone who enjoys light programming, the main barriers to using LaTeX have been the lack of easy integration with zotero and my inability to figure out how to make it format documents respecting the APA 6th Edition Publication Manual. However, these barriers were at least half-way solved this evening. Zotero exports to BibTex, which is the bibliographic program compatible with LaTeX. Although exporting and creating a BibTex file makes for another step in the bibliographic formatting process for zotero users, it’s not an insurmountable step. I also found, although have not tried, this APA 6th edition template and guide for LaTeX. After having attended the lecture this evening, many things that I struggled with when I “used” LaTeX before were clarified. As is the case with learning any new program or programming language, there are many steps and stumbles along the way. I’m sure there’s a lot more to learn about LaTeX than can be explained in one lecture. But tonight I look forward to starting my journey by installing and playing around with TeXStudio.

 

*I want to take a second to gratefully acknowledge the generous support of my supervisor David Rothwell and the CRCF Travel Fund, without whose support I would not be able to take full advantage of this opportunity.

5 responses to “Summer Camp for Social Scientists! LaTeX Edition”

  1. David Rothwell says:

    Great post Anne. Glad you’ve made it AA safely. I’m open to learning LaTeX. I have a user guide pdf with walk through steps. I’ve downloaded MikTeX 2.9. Ultimately, I realized the same problem you mentioned with reference integration. I could be convinced if:
    a. learning BibTex takes me < 20 min, and;
    b. you can show me how to Sweave output from R (seems to be the preferred method of reproducible research/literate programming).

    • Anne Blumenthal says:

      I think BibTex is pretty simple… but for sure I’ll have to figure it out before I can say it takes less than 20 mins, and figuring out Sweave is definitely on the top of my to-do list for the second session. I have never come across a social work thesis or paper (working or otherwise) that has been LaTeXed. Have you?

  2. Bree Akesson says:

    Hi Anne, This sounds like such a great opportunity. Maybe when you return you could give a brief presentation about what you learned. Have a great time, and keep posting!

Leave a Reply

Blog authors are solely responsible for the content of the blogs listed in the directory. Neither the content of these blogs, nor the links to other web sites, are screened, approved, reviewed or endorsed by McGill University. The text and other material on these blogs are the opinion of the specific author and are not statements of advice, opinion, or information of McGill.