Question

I'm interested in writing a formula sheet for an upcoming exam in Physics. I want to create something similar to this. I have the sources, however, I can't understand what's going on over there, and I can't seem to render it using LyX. I have used LyX for quite a while and used some ERT (TeX code) now and again, but I am by no means a LaTeX expert. I have no problem writing some LaTeX code if needed (and I'm pretty sure it'll be needed), but if you suggest it, please explain the code. Also, I do want the main editing of formulas, etc. to be done in LyX.

Any suggestions?

Was it helpful?

Solution

This document is a little hard to understand because it is split up into so many files. The most important points are the makefile and macros.tex, which renames some of the basic commands.

The main construct used is the tabular environment. This is a useful resource with some simple examples of how to construct various tables. The "Spanning in both directions simultaneously" subsection of the multirow/column discussion deserves close attention, as a lot of the behavior is fussy and nonobvious. (Multicolumn and multirow should always be used in that order, reversing them can cause baffling display bugs). This is used in a few places in the sample document where it is not always immediately obvious from the pdf.

The same wiki also explains most of the mathematical notation used in your example cheat sheet. In brief, math-formatted sections are delimited by $s or \[ and \] and most of the basic math expressions have sensible syntax.

If you want to incorporate images into your cheat sheet, you may want to look into EPS. Although LaTeX does support other formats, they are less convenient.

Do you have any specific questions? In general, I would recommend reading through the wiki to get a general understanding of the language, look up any commands prefaced with a \ that you don't understand, and look in the macro definitions if you can't find any information online about them.

OTHER TIPS

You could build something similar to that with the web app at http://www.formulasheet.com, which uses Latex to create formulas, without having to worry about the Latex source for page placement.

That is TeX, not LaTeX. TeX is a more basic language that LaTeX, which is a macro system sitting on top of TeX. You would have to learn that, e.g. through one of the books at http://www.macrotex.net/texbooks/ (look for TeX, not LaTeX).

On the other hand, it would not be too difficult to roll your own from scratch in LaTeX (or LyX). For a cheat sheet, you would likely want the geometry package for using the whole sheet area. Other than that, I think that a big table with formulae should be rather easy to put together.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top