Files
the-sourdough-framework/book/book.tex
2025-02-27 13:17:16 +00:00

68 lines
1.8 KiB
TeX

\documentclass[paper=a4, twoside=false, fontsize=12pt, parskip=half,
bibliography=totoc, listof=totoc]{scrbook}
% General packages
\usepackage{blindtext}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{chemformula}
\usepackage{chemfig}
\usepackage[mode=match, reset-text-family=false]{siunitx}
\usepackage{fontspec}
\usepackage[font={sffamily, sbseries}]{quoting}
% style=nextline breaks on make4ht
\ifdefined\HCode\else
\usepackage{enumitem}
\setlist[description]{style=nextline, leftmargin=0cm}
\fi
\DeclareNewTOC[
type=flowchart,%
types=flowcharts,% ,
float,
floattype=4,%
counterwithin=chapter,
name=Flowchart,%
listname = {List of Flowcharts}
]{loc}
\setuptoc{loc}{chapteratlist}
\DeclareTOCStyleEntry[numwidth=3em]{tocline}{figure}
\DeclareTOCStyleEntry[numwidth=3em]{tocline}{flowchart}
\DeclareTOCStyleEntry[numwidth=3em]{tocline}{table}
% Clickable links in the table of contents
\usepackage{hyperref}
\usepackage{bookmark}
\hypersetup{%
linktoc=all,
colorlinks = true,
linkcolor = hlorange,
urlcolor = codeblue,
citecolor = hlocre,
breaklinks = true,
pdfinfo={%
Title={The Sourdough Framework},
Author={Hendrik Kleinw\"achter},
Subject={The sourdough bread baking bible},
Keywords={Sourdough, dough, bread, wheat, baking, bake, home-baking,
yeast, rye, crumb, debug, gluten, dough strength, crust, DIY,
framework, https://the-sourdough-framework.com,
https://www.the-bread-code.io/,
https://github.com/hendricius/the-sourdough-framework,
open-source, CC-BY-SA}
}
}
% Basic attributes
\author{Hendrik Kleinwächter}
\title{The Sourdough Framework}
\begin{document}
\input{bread-types/bread-types}
\input{wheat-sourdough/wheat-sourdough}
\end{document}