LaTex on iOS? Texpad is one way to go!

LaTeX

If you’re not familiar with LaTeX or haven’t used it yet: don’t panic; chances are, you might be more productive and efficient without it! According to empirical research by Knauf & Nejasmic in 2014, LaTeX users were especially susceptible to grammatical and orthographical errors. Although (importantly, I feel), the study also found that LaTeX users reported enjoying their respective software editors a lot more than their counterpart WYSIWYG (or What you see is what you get editors) users. 

Essentially, LaTeX is a plain text writing interface which formats a document you are preparing in as simple or as complex a structure as you’d want, using relatively simple syntax. It's easy to get started with LaTeX (this is a great resource) and there are plenty of editors available that can show you real-time previews of your document. Regardless of average productivity, there are some reasons why I prefer writing academic text in LaTeX and why it works for me:

  • It provides a distraction-free environment for academic writing: when I open up my LaTeX editor, I know it’s go-time!

  • The structure of formatting equations, symbols (such as δ¹⁸O for example), tables, and figures is intuitive and simple. This can be particularly boosted with the use of text expanding software (such as aText) or Apple Scripts.

  • Academic journals usually share LaTeX templates formatted according to their specifications. This makes reformatting into another journal’s format a breeze.

  • BibTeX makes the insertion of citations and formatting of references effortless. My article management system, Papers3, has an easy-to-use BibTeX record export for any papers I might need to cite for a particular manuscript or proposal.

  • It’s free and open source!

Texpad

Although LaTeX itself is a free and open source software, there are several pay-to-use editors with varying degrees of utility depending on the purpose and user. I’ve tried out quite a few editors to varying degrees of (personal) success. Currently, the one that works best for me is Texpad. First off, Texpad is only compatible with Apple and is not particularly inexpensive: the Mac version is $25 and the iOS version is $15. This has proved worth it for me though, especially since I have configured the iOS version to sync via iCloud. This means I can simply sit on my couch with the iPad and continue writing a manuscript where I left off on the MacBook book in the office! With the advent of iOS 11, it has never been easier to move complex tasks usually suited for the laptop over to the iPad, and Texpad brings this same functionality to LaTeX. The nerd in me delights at the prospect of taking a piece of glass wherever I want and still type an academic manuscript.

Advantages of Texpad:

  • The editor is light yet powerful.

  • The editor is enabled with a spellchecker! 

  • The editor can autocomplete citations and other commands.

  • It “knows” your code with effective highlighting and parsing, as well as recognizing bookmarks and structures in your document.

  • The design and UI is clean, minimal, highly customizable (themes and fonts!), and helps me focus.

  • It is also compatible with Markdown.

  • There is an iOS version with a local, offline typesetter that actually works!

Setting up Texpad on iOS with iCloud

Texpad on the iOS has a file browser that is compatible with the new Files app and also has access to Dropbox and WebDAV. Texpad has its own cloud platform called Connect for syncing projects, but I found this to be really buggy and incapable of handling journal-based projects (even the AGU template for example) on the iPad (lots of crashing and heartbreak!) Next, I tried the Dropbox sync (I am a Dropbox user) but even this proved to be somewhat buggy. Finally, I went back to the Files app and tried to sync my projects with iCloud: this was a resounding success, regardless of project size or complexity! Here’s how I set it up:

  1. Download the Texpad iOS app.
  2. On your MacBook, create an iCloud-synced folder entitled ‘Texpad’ (or some variant) and make sure you save your LaTeX project here on the Mac-version of Texpad, including the .bib, .sty, and .bst files for your journal formatted manuscript.
  3. In the iOS app, under File Browser, click on Open From Document Picker under ‘Local’. (Note Open versus Import will depend on what type of versioning history you’d like to set for your project).
  4. This will open the Files app, and once you navigate over to your iCloud Drive, you will see your saved projects under the Texpad folder you created.
  5. Open the .tex file.
  6. Before hitting ‘Typeset’ (I know it’s tempting!), go back to the File Browser, and open all the other files (BibTeX etc.) related to your project. This will ensure that these files are accessible for typesetting on your iOS device.
  7. Last step before typesetting: make sure that you download all the bundles that your LaTeX typesetter needs including all those fancy fonts
  8. Typeset and enjoy!

Geologic Genealogy

Ever since I read Ian Stimpson’s blog post on his academic genealogy, I have been fascinated in trying to figure out my geologic lineage.

My Ph.D. advisor Terry Quinn (and committee member Fred Taylor) were both graduate students of Robley K. Matthews at Brown University (though Fred went on to do his Ph.D. with Art Bloom at Cornell). He also advised Tom Crowley, Richard Poore, Bill Curry, & Rick Fairbanks amongst other paleoclimate/paleoceanography stalwarts. R. K. Matthews was a sedimentary geologist who worked on the Bahama Bank, Barbados, and Belize and was also interested in foraminiferal sediments and paleoclimate. He is (in)famous for writing a letter with George Kukla to (then) President Nixon, which many of you will be familiar with, about global cooling and an imminent ice age for the Earth. RK Matthews seems to be a fascinating man.

Although, obtaining information about R. K. Matthews on the internet proved to be quite the tricky task. Cursory internet scouring only took me so far before I hit a dead-end: I couldn’t find out who his advisor was. Distressed, I asked Fred about the matter (which I should’ve done earlier), and he informed me that Edward Purdy at Rice oversaw Matthews’ Ph.D. Armed with this information, I stepped the sleuthing up a notch. From here on, it was quite easy as all the academic ancestors turned out to be eminent professors with detailed biographies (or obituaries) up till a certain degree of separation. Without further ado, my academic genealogy:

 
 

1. Terry Quinn
Paleoceanography/Paleoclimatology
Brown University
Trivia: Coincidentally, Terry is a panel member with my summer-research advisor in India, Rengaswamy Ramesh on the IPCC & PAGES project. [Image Source & Source]

2. Robley K.Matthews (1935-)
Sedimentary Geology/Paleoclimatology/Paleoceanography
Rice University
Trivia: Wrote a letter to President Nixon warning him of imminent global cooling. [Image Source]

3. Edward Purdy (1931-2009)
Carbonate/Petroleum Geology
Columbia University
Trivia: His first paper was titled A Bahamian Faecal-Pellet Sediment [link] [Image Source]

4. Norman Newell (1909 – 2005) & John Imbrie (1925-)
Paleontology/Paleoclimatology/Paleoecology
Yale University
Trivia: Norman Newell was the curator of the American Museum of Natural History & advised Stephen Jay Gould & Niles Eldridge amongst others. John Imbrie was a paleoclimate giant who worked out that Ice Ages were due to Milankovitch Cycles. [Image Source & Source]

5. Carl Owen Dunbar (1891-1979) 
Invertebrate paleontology/Stratigraphy
Yale University
Trivia: He grew up in Kansas and operated machinery on a ranch to harvest wheat before turning to geology. [Image Source]

6. Charles Schuchert (1856-1942)
Paleogeography/Paleontology
Did not formally get his PhD though he went on to become a professor at Yale.
Trivia: He coined the term paleobiology. [Image Source]

Here ends my 6 degrees of separation that I can trace down via doctoral advisors. However, since Schuchert was ‘mentored’ by James Hall, I can go further back if I sweep Schuchert not doing a PhD under the rug. To continue:

7. James Hall (1811-1898)
Chemistry/Stratigraphy/Paleontology
Rensselaer Polytechnic Institute
Trivia: Founding member of the National Academy of Sciences & first president of the Geological Society of America. [Image Source]

8. Ebenezer Emmons (1799-1863)
Stratigraphy/Geology
Rensselaer Polytechnic Institute
Trivia: Known as the founder of American Paleozoic stratigraphy. [Image Source]

9. Amos Eaton (1776-1842)
Botany/Chemistry/Mineralogy
Yale University
Trivia: Co-founded the Rensselaer Polytechnic Institute [Image Source]

10. Benjamin Silliman (1779-1864)
Chemistry
University of Pennsylvania
Trivia: First scientist to distill petroleum. [Image Source]

11. James Woodhouse (1770-1809)
Chemistry/Medicine
University of Pennsylvania
Trivia: Well-voiced opponent of the phlogiston theory. [Image Source]

At this point things start to get fuzzy, but here is the full list (of mainly physicians and medicine men) that follows, with snippets of trivia wherever I could find some:

12. Benjamin Rush (1746-1813)
13. William Cullen (1710-1790)
14. Alexander Monro (primus) (1697-1767)
15. Charles Alston (1683-1760) – Alstonia, a genus of evergreen trees was named after him by eminent botanist Robert Brown (of Brownian motion fame). Curiously, Alstonia is the official state tree of West Bengal.
16. Herman Boerhaave (1668-1738) – Founder of the modern, academic hospital. He was also the first to isolate urea from urine!
17. Burchard de Volder (1643-1709)
18. Franciscus Sylvius (1614-1672)
19. Adolph Vorstius (1597-1663)
20. Gibert Jachaeus (1578-1628) – Famed Aristotelian philosopher
21. Duncan Liddel (1561-1613)
22. John Craig (d. 1620)
23. Theodor Zwinger (1533-1588)
24. Bassiano Landi (?)
25. Giovanni Battista della Monte (?)
26. Niccolò Leoniceno (1428-1524)

With that, I couldn’t find any more leads. I was most impressed by the broad evolution of profession and specialty over the years and how the nationality of advisors changes from time to time. To sum up, I like what Stephen Jay Gould had to say about his advisor:

"The work of graduate students is part of a mentor's reputation forever, because we trace intellectual lineages in this manner. I was Norman Newell's student, and everything that I ever do, as long as I live, will be read as his legacy."

What is your academic/geologic genealogy?