All Projects → j2kun → Book Template

j2kun / Book Template

Licence: other
A LaTeX template I used for pimbook

Labels

Book Template

This LaTeX template contains the rough structure of my book, A Programmer's Introduction to Mathematics.

Compiling

Compile with latexmk book.tex using the following .latexmkrc

$pdf_mode = 1;
$postscript_mode = 0;
$dvi_mode = 0;
$pdflatex = 'xelatex -interaction=nonstopmode';
$pdf_previewer = "open -a /Applications/Skim.app";
$clean_ext = "paux lox pdfsync out";

File structure

.
├── about.tex
├── book.tex
├── chapters
│   ├── chapter_template.tex
│   ├── culture.tex
│   └── introduction.tex
├── copyright.tex
├── dedication.tex
├── structure.tex
├── thanks.tex
└── titlepage.tex

book.tex is the main entry point that includes the book templating files, front/end matter, and the individual sources from each chapter. When creating a new chapter, add a new file to chapters and add it to the includeonly and input sections of book.tex.

structure.tex contains the main work of setting up formatting and style, including margins and page size, code listings, theorem environments, etc.

The remaining files should be self-explanatory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].