[Tex/LaTex] How to write a cheat sheet like this in LaTeX


I am self-studying mathematics and would like to write 'cheat sheets' for myself to memorise the contents of the books I have bought – summaries of the text and of the solutions to the exercises.

My handwriting is poor so I think I should write these summaries in LaTeX, and save them as PDF documents.

I am a beginner at using LaTeX and not sure which editor is best for the 'cheat sheet' style I am after, e.g.


I don't need the ability to do graphs just equations.
I guess this has some element of desktop publishing?

Thank you for any advice.

Best Answer

First of all you need to set up the page in the header so that you can use as much space as you want - use geometry package like this or similarly:


Then you need to set small font using \scriptsize and divide your page into three or more columns using minipage environment like this:





Then you can use different mathematical environments (use packages mathtools, amsmath, breqn) inside each minipage (where i put ~) like this:

    &~\smash{c_0 = 1/\sqrt{\varepsilon_0 \mu_0}}\\
    I &= \di e/ \di t\\
    \smash{[C]} &= \smash{[As]}\\

You can use \boxed{} environment to frame the equations. You will need to use \smash{} in order to minimize the vertical spacing of some equations in order not to get too big. Sometimes even \clap{} might come handy - it reduces horizontal spacing.

Inside the align* environment you can vertically align parts of equations with & which will appear one below the other. And you can do this in aligned environment as well.

Related Question