Sunday, February 3, 2013

At least it looks nice...

The past week has been focused around both understanding and completing Assignment #1. The questions on this assignment were short but took a lot of thinking because of the need to be very precise. After consulting the textbook and spending time going through possible answers, the most correct answers were selected and submitted to be marked.

It seems like other students, myself included, tend to not enjoy inserting mathematical symbols through the use of Microsoft Word. In order to combat this issue, save time and frustration in the long run, and the opportunity to learn something new, I took the initiative to learn a new programming languageLaTeX.

This programming language or more correctly document markup language allows programmers to customize and manually create their own documents. Normally, Microsoft Word does all the code portions for the user. In LaTeX, one must specifically input everything to be done ranging from document type and size to line breaks. It might seem like a lot more work to have to do everything manually but those that are efficient with the keyboard can type out the symbol syntax quicker than going through the tedious process that is the insert menu.

For example: $\forall x \in Q$ would lead to replace the \forall and \in to the corresponding symbols.
The language itself is not very difficult to get the hang out, only at the beginning does it seem counter intuitive. LaTeX makes your PDF documents look very nice and professional, definitely going to be used to create my future resume. So it might be wrong, but hey, at least it looks nice!

For those interested in learn LaTeX, the following cheat sheet has proven to be very useful: LaTeX Cheat Sheet

3 comments:

  1. I think (you may want to check this) that LaTeX, or at least the underlying TeX, is turing-complete. In other words, any program that can be written in any other programming language can be written in LaTeX.

    ReplyDelete
    Replies
    1. Wow, that's amazing. I thought its only function was to create documents. However, after some reading it turns out that using (La)TeX for other programs is making the task a lot more difficult than it should be.

      So for most cases it is just something that is not nice to know but not really practical in use. However, for some more complex documents or papers (which I don't have the knowledge to fully understand at this point) people are claiming that they have had to use TeX to automate some things like using an ifthenelse statement.

      Delete
  2. LaTeX turing-complete --- see the TeX wikipedia page or http://stackoverflow.com/questions/2968411/ive-heard-that-latex-is-turing-complete-are-there-any-programs-written-in-late

    ReplyDelete