HW 1: Introduction to LaTeX
Introduction
In this homework you will gain practice with writing homework
assignments with LaTeX.
Exercises
- We will learn the basics of LaTeX, a comprehensive and powerful
tool for scientific writing, by using Overleaf, a free service
that lets us create, edit, and share scientific ideas online.
Go to Overleaf now and set up
an account.
Alternatively, you may install LaTeX on your own
computer. Dr. Barth has some instructions for installing LaTeX, which you are welcome to use.
If you install this on your own machine, the next few steps will
be different, so feel free to skip down to the problem set. Dr.
Barth has also included a link to commonly used math symbols
which may be very useful as this quarter progresses.
- Once you have an account set up, click on New
Project and choose the Homework Assignment
template. Choose one of the homework templates that are provided
that would give you a start with writing answers to several
problems. (The one titled "Weekly Homework 3, Homework 3 for Dr.
Martin's class" on the 2nd page of templates might be a good place
to start.)
- Click to "Open as Template".
We will be making modifications to the
.tex
file from the template.
- Modify the
main.tex
file so that it has your
name and a title, such as "Homework #1". Whatever you type as
the title of the paper will automatically become the name of the
file, but you can change that at the top of the screen. At the top
of the window you will find the name of the file, with a pencil icon
next to it. Click on the pencil icon to edit the filename.
- Click (or just look) at the preview side of the screen to see
that your changes have gone into effect.
- Use what you can find in this template and others to write up
answers to the following problems:
- Write up a proof of Problem 1.1 from the textbook.
- Write up a proof of Problem 1.10 from the textbook.
- Give the truth table for the XOR boolean operator. (See
Section 3.1 in the text if you are not familiar with this.)
- Type up Definition 4.1.1 from the textbook.
- Give the graph of the curve y = x2 and label
the point (2, 4).
Submit
When you are done, submit the .pdf
file on
Moodle.