LaTeX, TeXnicCenter and LyX
Some time ago I sat down to learn how to write equations on Wikipedia using TeX, a language used by scientists and mathematicians for technical documents. MediaWiki, the software behind Wikipedia, uses a subset of this language so that we can have pretty equations on our articles, like this one I just did (right). For some time I was wondering what was used to produce the beautiful equations in textbooks and so I delved further and discovered LaTeX, the language used. It is called a typesetting language – you type out your document with tags (it’s a markup language, not a programming one), run it through the TeX engine and get a beautiful image or PDF out of the other side. It does headings with a table of contents, margin and foot notes, cross references that work regardless of which page the actual content is, tables (with difficulty) and of course beautiful equations like the one above.
Writing LaTeX in a normal text editor works, but it is better to find an app that will check your syntax, highlight brackets and the like, and then compile into a finished document at the press of a button – effectively an IDE. So I started using TeXnicCenter on Windows which is rather nice. I would recommend it for beginners. I would suggest that readers make use of Google primarily for learning the language – there are tutorials dotted around. I intend to write my coursework up this way after Christmas – it makes it look very professional when done right. Then I will get gnuplot (not actually GNU, by the way) up to draw graphs, but I am not sure this is allowed.
Yesterday I found myself on Ubuntu and wanted to write up some revision notes for physics so I fired up the package manager and installed a selection of LaTeX GUIs, and through this discovered LyX, a rather nice one. It is actually a complete environment where you are not required to use any code at all, although a knowledge of how the language works helps. Through this I produced a rather pretty overview of the course so far that I intend to use just before the exam for last-minute revision and something I can add to and complement over the revision period. Also for me doing revision this way is more fun because I do love the beautiful typesetting. So, if you like maths or mathful science, learn LaTeX or get a copy of LyX.
Man, yeah. LyX is great. But LaTeX scares me, because to my eternal shame I still like a completely GUI expereience. It’s one of those things where you want something to put into it purely because of how cool it is.
I use it seriously about once a year (Usually TeXnicCenter, but my cycle this year was mainly BaKoMaTeX, since that is what is installed in college, and I was using their computers for benchmarking).
I’m fairly proficient with churning out a roughly formatted article (must admit that some of the more complex is beyond me – and beyond my needs, so it will stay there), but images are an eternal bugbear (It took me three days to discover that my problems were coming form – of all things – a case mismatch. *mutter*)
Generally it’s use is fairly resticted (unless you need really robust bibliographies or updating section/table names (which is IMO LaTeX’s stength far more than the equation formatting) a word processor is probably better for most people.) – but for scientific writeups it is essential.
As to courseworks, when I did them I did it all electronically (admittedly not in LaTeX) and drew a single graph (with big \Delta x, \Delta y) to appease the markers.