Skip to content

yegor256/yb-book

Repository files navigation

LaTeX Class for My Books

make CTAN License

This LaTeX class I use to format my books, which I sell on Amazon.

First, install it from CTAN and then use in the preamble:

\documentclass{yb-book}
\renewcommand*\thetitle{New Book About OOP}
\renewcommand*\theauthor{Jeff Lebowski}
\renewcommand*\thevolume{1}
\renewcommand*\theversion{1.0}
\begin{document}
\ybPrintTitlePage
\chapter{First One}
\section{About Something Interesting}
Hello, world!
\end{document}

If you want to contribute yourself, make a fork, then create a branch, then run make in the root directory. It should compile everything without errors. If not, submit an issue and wait. Otherwise, make your changes and then run make again. If the build is still clean, submit a pull request.