Assignment 0 – Due Monday, August 26

This is a small assignment, just to get you started using LaTeX. It is only worth 10 points, but you need to do it! On Monday, a few randomly-selected students will be asked to show their solutions and describe the LaTeX source.

To start, work through at least sections 1-4 and section 17 of the the LaTeX tutorial at https://www.latex-tutorial.com/, as well as the “Symbols” section. The other sections are good too, but you can work through those later (they aren’t needed for this assignment). Note that under “Tools” there is a sandbox tool that will let you practice with LaTeX. To use LaTeX in this class, you can either install it on your own computer (see the installation section of the tutorial), use it on a UNCG system (a Windows-based system in the labs or the prdile.uncg.edu Linux system), or use an online system like Overleaf.

Once you have learned the basics from the tutorial, download this file:

All assignments in this class will be given with such a template, which you should use for your solution. When you complete your assignment, compile your solution to a PDF file, and submit that in Canvas. For this assignment only also submit your LaTeX source file (the .tex file).

The entire purpose of this assignment is to make sure you can run LaTeX, create a PDF, and enter some simple mathematical formulas. Each of you will type up two formulas, determined by the initial letters of your first and last names. See the first document below for more information and instructions.

Additional LaTeX Tips and Information

To create great looking documents, make sure you keep “math mode” and “text mode” separate in your mind. Anything that is mathematical, including simple variable names, should always be set in math mode. For example, if you have a single letter variable x in a sentence, the LaTeX should look like “variable $x$ is defined to be…” Conversely, anything that is not mathematical should not be put in math mode. Some people incorrectly use math mode (dollar signs) to make text italic, but that is not correct. Math mode will process this text differently, and it can look very bad. Try putting $different$ into LaTeX and seeing how it looks, paying special attention to how the “f” letters are spaced. This looks bad and unprofessional, so don’t do it! Some “math words” that should be typeset in text mode rather than math mode are defined as special keywords, including “log” for logarithms and all of the trigonometric functions (listed on the Symbols section of the tutorial). Make sure you use the “backslash version” of these words so they are typeset properly! If you need to put arbitrary text within a math mode chunk of source, you can do that with \text{}.

For example, the block “\[ x^2\geq 4 \text{\ if\ } x\geq 2\]” will get set as
        x2 ≥ 4 if x ≥ 2.
Note the backslash and space at both the beginning and end of the \text parameter — this is for spacing, because otherwise math mode removes all spaces. This is a common way of adding space in LaTeX (similar to   in HTML), and inside math mode you can use \, (with a comma after the backslash) to add a slightly smaller amount of space.

A few final tips:

That’s it – happy LaTeX’ing!