This is a template for a science textbook for the LaTeX document preparation software. The license is Creative Commons Zero v1.0 Universal.
The template originated from the author's search for a professional textbook style with the same level of quality as the most "elegant" looking books in his own library of math and computer science books.
This search ended when the author realized that the default book style of the LaTeX software produces the same style he was looking for. That style is exemplified by the classic computer science textbook "Compilers: Principles, Techniques, and Tools", also known as "The Dragon Book".
The goal of this template is to provide a minimal working example of a large textbook in the default style so you can see, for example, what a Table of Contents or an Index spanning multiple pages will look like.
View the stb-template-letter.pdf file for the example PDF suitable for printing on US Letter paper or viewing online.
View the stb-template.pdf file for the example PDF for a book size layout of around 6" by 9".
The author has also contributed this template to the gallery on Overleaf. Overleaf is a company that provides online latex editing software with free personal accounts (at the time of this writing).
- Free CC0 license with no attribution required
- Contains extensive comments
- Based on the default book class
- Geometry set for approx. 6" x 9" size textbook
- Optional geometry for US Letter printouts
- Standard pages for printing
- Half Title
- Frontispiece
- Full Title
- Colophon
- Preface
- Table of Contents
- Index
- Graphically styled title pages with free "self-publishing" logo
- Letter headings for the index
- Contains fake content which demonstrates a large book
Install the texlive* packages and latexmk. Run "make" to build the PDFs.
The author will try to fix any obvious defects in this template when notified but otherwise support may be limited. This template is intended for new documents. Instructions for adapting this template to existing documents are outside the scope of this project. Help with using LaTeX or "make" is outside the scope of this project.