This semester I’ll be teaching real analysis. I am going to have the students type their homework in LaTeX. To make this as easy for them as possible, I will give them a template that is all ready for them to enter their solutions. They shouldn’t have to worry about headers, packages, font sizes, margins, etc. Furthermore, I decided that I should give them a LaTeX cheat sheet—a single document that has all the LaTeX information that they will need. I’ve created LaTeX cheat sheets like this before—but one was for real analysis, one was for topology, one was for linear algebra, and one was for discrete math. Each cheat sheet had different symbols.

So, I decided to bring them all together into a one-size-fits-all LaTeX cheat sheet. I kept it to two pages, so it can be printed (double-sided) on one piece of paper. (I have also posted the LaTeX code. Feel free to take it, edit it, and use it.)

It doesn’t have everything. As I said, I’ve left out all information about headers, etc. Also, since these students will probably not be using figures or tables, I’ve left them out. [Update: I added information about figures. I also added links to some online resources.]

Please let me know in the comments if there is anything that you think I should add. I still have a week and a half to tinker with it before classes begin. Also, please let me know if you find any errors. Thanks!

[Note: When I began this project I intended to modify this cheat sheet by Winston Chang to suit my needs. But in the end, I wiped it clean and started from scratch. (I did use his very nice three-column format though.)]

### Like this:

Like Loading...

*Related*

Does the cheat sheet include a linky to the standard LaTeX guide? (lshort.pdf, I think it’s called)

By:

sherifffruitflyon August 17, 2011at 4:36 pm

Nope. It also doesn’t have information about software, etc. I’ll probably update this old web page of mine to have that type of info.

By:

Dave Richesonon August 17, 2011at 4:46 pm

The commands for quote marks (and single quotes) are not showing properly (I mean, they are showing as almost proper quote marks instead of the commands you need to type for latex to show quote marks). No idea how to display the proper characters in latex, though (maybe \textquotesingle for the right hand one).

By:

Fabioon August 17, 2011at 5:11 pm

Hey, Fabio! Thanks. Yes, I really wanted characters that looked like primes and backward primes (like on the keyboard), but didn’t (and still don’t) know how to do that. Perhaps someone will respond with a solution.

By:

Dave Richesonon August 17, 2011at 5:40 pm

Don’t teach your students to use double dollar signs, that is not recommended for LaTeX. Instead, use \[ ... \] or \begin{equation} … \end{equation}. See l2tabu[1]. (The german version is more updated than the english version, but both feature this tip.)

Also, the amsmath package provides several matrix environments that you can use instead of \left|\begin{array} etc., but that is perhaps more a matter of taste. See the amsmath manual (“texdoc amsmath” in a command line) section 4.1 for a complete list.

[1]http://www.ctan.org/tex-archive/info/l2tabu

By:

Torbjørn Taskjelleon August 17, 2011at 5:31 pm

That is SO FUNNY that you wrote that. I always use \[ and \], and that’s what I had in there until the very end. I put in the $$ thinking that it would be less confusing. Based on your comment, I think I’ll switch it back. I also debated about whether to use \emph use \textit (I always use the former, but I thought the latter might be easier for them to remember).

By:

Dave Richesonon August 17, 2011at 5:38 pm

Unless I’m severely misreading, you have a typo in there under “Equations,” where you say how to write math inline.

By:

Matthew Arboon August 17, 2011at 6:29 pm

I know that it’s probably too late with the class starting so soon, but since you seem to want to shield your students from the unnecessary complexities of document formatting with LaTeX, I wanted to point out one alternative that I’ve started to like very much.

Namely, using markdown+mathjax just like mathoverflow. You get the strength of LaTeX for writing mathematical formulae (with your cheatsheet) but the light weight and much more human readable markup language that is markdown.

There’s a nice, simple (and open source) text editor called Qute that offers a live preview much like mathoverflow. (disclaimer: it’s written by a friend of mine)

Of course, you can still convert everything to LaTeX later — pandoc is an amazing tool.

Anyway, just a thought.

By:

Peteron August 17, 2011at 10:16 pm

Cool. Thanks for sharing that.

By:

Dave Richesonon August 18, 2011at 9:11 am

If it’s really an option and you and the students will actually use it, we should get in touch — Felix is definitely eager for feedback and improvements (other than being bugged by me all the time) and I’d love to hear about how useful it turns out to be.

By:

Peteron August 18, 2011at 10:06 am

I had another suggestion for editors. When I first started using LaTeX I used LyX (http://www.lyx.org/) because as you type your mathematical statements, it displays it directly (live preview I suppose – as above). You don’t need to convert to a PDF to make sure that what you typed in was correct.

I don’t think you have as much flexibility as working directly with the LaTeX, but it gives you a really good feel for what you can accomplish with LaTeX without the learning curve.

Also, since you would be using a template anyway, I believe (not 100% sure) you can just open the template in LyX and type away.

Just another option.

By:

Dave Riegerton August 18, 2011at 3:19 pm

This is so beautiful it made me cry a little bit.

By:

Kate Nowakon August 30, 2011at 5:47 pm

You crack me up, Kate. Glad you like it.

By:

Dave Richesonon August 30, 2011at 10:40 pm

[...] guía, la tradujo y la imprimió para sus alumnos. ¿Que dónde he encontrado esta última? Pues en este post de Division by Zero, donde además nos proporcionan otra chuleta de que también es interesante, y que también os [...]

By:

ChuLaTeX, la mejor manera de llamar a una chuleta de LaTeX (y otra de regalo) - Gaussianos | Gaussianoson September 29, 2011at 4:02 am

[...] Point-and-click menus containing the common LaTeX symbols. This isn’t a key feature for me, but the students would love it. (In the meantime I’ll have to point my students to my quick guide for LaTeX and Detexify.) [...]

By:

Online LaTeX editors « Division by Zeroon December 5, 2012at 12:04 am

[...] my students use LaTeX in many of my classes—by and large they seem to really like it. I made this LaTeX cheat sheet which helps flatten the learning curve a [...]

By:

How I teach topology: an inquiry-based learning approach « Division by Zeroon December 16, 2012at 11:31 am

[...] give a lot of feedback on (rmLaTeX) with your drafts, but I just found a great page with a two-page thing you can print out with a bunch of useful commands and tips. There’s a [...]

By:

New Proof Portfolio Problems | Math 310 - Introduction to Modern Algebraon January 25, 2013at 12:24 am