COS 231 SUMMER 2004 Markowsky HW #3 Due Date: June 14, 2004 Last Date: June 21, 2004 HW #3 VI, EMACS AND LATEX EXERCISES Be sure to read the relevant chapters in your textbook as suggested for the original week 3. I will rework the syllabus so it better reflects where we are and post it soon. You should access the Week #3 notes from the website. You will need an ID and password to get these notes. The ID and password are contained in the e-mail that you should receive from me. The notes are rough, but they took longer to assemble than I was expecting. Feel free to use any other resources on the Web to help you with LaTeX. Just indicate which resources you did use. For this homework, you need to prepare three documents using the Unix editors and LaTeX. The first document must be produced using vi, while the second must be produced using Emacs. The third document should be produced using any other text editor that you can find on your system, and which you would like to use. Be sure to spell check each document using a UNIX-based spelling checker. For each document tell which spelling checker you use. I want you to create two versions of each document. The text will be the same for both versions, but they will be formatted with a different style. The first version will just use the {article} style. The second version will use the {article} style with the [twocolumn] option. The combination looks like: \documentstyle[twocolumn]{article} For each document, you need to submit the original text document along with a PDF version of each of the two variations. Thus, you will turn in a total of 9 files: 3 for Document 1 and 3 for Document 2, and 3 for Document 3. DOCUMENT 1 This document must be produced using vi. The document should be about which topics you have liked or not liked in so far in this course. Here is the list of sections that your document must have. 1. You should use the title section with author's name and all the fancy trimmings. 2. You should produce a table of contents using the commands that were described in the LaTeX notes. 3. A section listing your computer background and the reasons that you are interested in UNIX. 4. A section on each of the chapters that you have read in the course so far telling what you got out of the chapter or whether you found it not helpful. These sections can be quite short. 5. A section that illustrates the formula formatting capabilities of LaTeX, by displaying the Quadratic Formula. IF YOU DON'T KNOW WHAT THE QUADRATIC FORMULA IS, YOU SHOULD LOOK IT UP. 6. A section that describes the most useful and least useful (to you) topic that has been presented so far. 7. A section that lists topics that you would like to cover in the remainder of the course. 8. A section on features of vi that you think would be useful in the type of work that you do. You should describe 5 different commands that would be helpful for the type of editing that you do. 9. A section on features of vi that you think would not be useful in the type of work that you do. You should describe 5 different commands that would not be helpful for the type of editing that you do. Be sure to have a short subsection on each command. Each subsection should contain at least one decent paragraph. 10. Add two more sections which are like the previous two sections, except that you should use the vi buffers to permute the sections in the following order: 3 2 5 1 4 where the sections were originally in the order 1 2 3 4 5. You are NOT required to produce an index. You should use the LaTeX commands for section and subsection. Be sure to include at least one list with a sublist. Be sure to use the \TeX and \LaTeX commands somewhere in your document. DOCUMENT 2 This document must be produced using Emacs. This document is about 10 great equations or formulas in science and mathematics. You don't have to understand how to use the equations or formulas. You do need to figure out how to express them in LaTeX and how to display them so the result is attractive. If you don't know the particular equation or formula, you should do some research on the Web. For each equation you should write a short paragraph stating what each term in the formula/equation means and what the equation/formula is used for. You should also give a reference to where you found the formula and the information about it. You should have a table of contents. The formulas/equations are: 1. The Pythagorean Theorem 2. Newton's Universal Law of Gravitation 3. Einstein's Formula for converting Mass to Energy 4. The Lorentz Contraction Formula 5. Ohm's Law 6. Ideal Gas Law 7. Newton's Third Law of Motion 8. The formula for Kinetic Energy 9. The formula for Centripetal Acceleration 10. Heisenberg Uncertainty Principle You should use the LaTeX commands for each section and subsection. DOCUMENT 3 Please pick an editor other than vi or emacs that you can use to produce a file for LaTeX. This document should describe three things: 1. A game that you found on Linux that you have played on another computer system or dedicated game machine. You should compare how the Linux version compares to the other version, and give a short description of the game. 2. A game that you found on Linux that you have not played before. You should give a short description of the game and whether you found it interesting or not. 3. You should figure out how to get a screen shot of each of the two games that you selected, and how to put them into a LaTeX document. You should describe the process for making the screen shot and including it in your document.