diff options
Diffstat (limited to 'macros/latex/contrib/yb-book/README.md')
-rw-r--r-- | macros/latex/contrib/yb-book/README.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/macros/latex/contrib/yb-book/README.md b/macros/latex/contrib/yb-book/README.md index a9eae33589..fcc2528d67 100644 --- a/macros/latex/contrib/yb-book/README.md +++ b/macros/latex/contrib/yb-book/README.md @@ -1,4 +1,5 @@ -[![make](https://github.com/yegor256/yb-book/actions/workflows/make.yml/badge.svg)](https://github.com/yegor256/yb-book/actions/workflows/make.yml) +[![make](https://github.com/yegor256/yb-book/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/yb-book/actions/workflows/l3build.yml) +[![CTAN](https://img.shields.io/ctan/v/yb-book)](https://ctan.org/pkg/yb-book) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/yb-book/blob/master/LICENSE.txt) This LaTeX class I use to format [my books](https://www.yegor256.com/books.html), @@ -10,10 +11,14 @@ and then use in the preamble: ```tex \documentclass{yb-book} +\renewcommand*\thetitle{New Book About OOP} \renewcommand*\theauthor{Jeff Lebowski} \renewcommand*\thevolume{1} -\renewcommand*\thetitle{New Book About OOP} +\renewcommand*\theversion{1.0} \begin{document} +\ybPrintTitlePage +\chapter{First One} +\section{About Something Interesting} Hello, world! \end{document} ``` |