TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As I want to write a short "book" about Analysis I would like to work with a template which is good enough for readability, looks good and furthermore can handle dozens of my theorems, axioms, corollaries etc. by layouting them as good as possible. Can anyone suggest or even provide a good template which satisfies my needs?

share|improve this question
Possible duplicates: How to write a book in LaTeX?, Technical documentation and/or book templates?. And, just because, consider viewing: Showcase of beautiful typography done in LaTeX? – Werner Sep 10 '11 at 17:50
up vote 14 down vote accepted

i would suggest using the amsbook document class. it incorporates amsthm and amsmath, and is tuned particularly for use with math-heavy books. several publishers other than the ams (american math society) base their house packages on amsbook.

for variations in the final appearance (while using exactly the same input), there are several ams "author packages" that format the output in the specified style of the different ams book series. all are extensions to amsbook, guaranteeing consistency of input handling and the ability to switch smoothly from one style to another if desired.

there are some differences between amsbook and the basic latex book class, principally in the input style of the top matter and in the inclusion of starred chapter and section titles in the table of contents; these are "house style" matters based on traditional ams practices. these decisions are subjective; your mileage may vary.

amsbook is part of the ams-latex collection, which is included in the latex "required" components. all are on ctan and in the tex live distribution.

disclaimer: i'm one of the maintainers of the ams-latex collection, and principal support contact when ams authors encounter problems.

share|improve this answer

Here is the free available algebra book from Jim Hefferon: http://joshua.smcvt.edu/linalg.html/ You can download the sources and have a look into the preamble of the document. You can get some ideas or use it as a skeleton for your book.

share|improve this answer

Your question seems a little fuzzy: Readability? Good looks? That's in the eye of the beholder. Likewise, there usually isn't much to a template. It sets up the basic structure of the files that you will input into it (such as the chapters). Since you indicate your book is in Analysis, you should use the amsbook format. TUG (TeX User's Group) has a AMS book template that can get you started. The AMS (American Mathematical Society) has more in depth information to help authors prepare there books in the style of the AMS here. The link to author monograph packages might be especially helpful.

You should also be aware that most schools with math programs (at least in the US) have LaTeX templates to fit their style: example. Likewise, many book publishers have their LaTeX templates: Springer.

The AMS book template link I provided is fairly basic, but since you are talking about readability, it sounds like you are looking for more than basic. If that's so, consider a math book you like the typesetting on and check the website for their style files.

share|improve this answer

From someone who has learned the hard way, I think it is best to start with the minimum set of packages:


I would use the standalone package for dividing your chapters into separately compilable files.

Then add packages only as you need them. There are questions that help you decide What packages do people load by default in LaTeX?.

As you go you'll probably need to select a theorem package (amsthm, ntheorem), a list package (enumitem), and something for doing graphs and figures (tikz, pgfplots). There are plenty of questions here on selecting those, but I included my preferences in parenthesis.

share|improve this answer
For graphs and figures, I find asymptote readable (C++-like syntax) and powerful. Even when running standalone you can freely use LaTeX (and math!) in labels. – vonbrand Jan 17 '13 at 12:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.