add preface template

This commit is contained in:
Zheyuan Wu
2026-01-19 21:37:27 -06:00
parent d4df6b37c9
commit e95ebb5027
4 changed files with 64 additions and 1 deletions

BIN
main.pdf

Binary file not shown.

View File

@@ -20,7 +20,8 @@
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{tikz} \usepackage{tikz}
\graphicspath{{./images/}} \graphicspath{{./images/}}
% dependency graph
\usetikzlibrary{positioning,arrows.meta}
% --- Bibliography: biblatex + biber --- % --- Bibliography: biblatex + biber ---
\usepackage[ \usepackage[
@@ -71,6 +72,7 @@
\mainmatter \mainmatter
% Each chapter is in its own file and included as a subfile. % Each chapter is in its own file and included as a subfile.
\subfile{preface}
\subfile{chapters/chap1} \subfile{chapters/chap1}
\subfile{chapters/chap2} \subfile{chapters/chap2}
\subfile{chapters/chap3} \subfile{chapters/chap3}

BIN
preface.pdf Normal file

Binary file not shown.

61
preface.tex Normal file
View File

@@ -0,0 +1,61 @@
% preface.tex
\documentclass[main.tex]{subfiles}
\begin{document}
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
\section*{Philosophy}
This book is intentionally small and opinionated:
\begin{itemize}
\item Each chapter is a self-contained unit you can compile on its own.
\item Definitions are prioritized over intuition when the two conflict.
\item Every theorem should have an explicit list of dependencies:
what results it uses, and what background it assumes.
\end{itemize}
\section*{How to use the dependency graph}
Think of the graph below as a diagnostic tool.
If something feels like a black box, locate the nearest node you dont fully own yet,
then check the suggested “symptoms” under that node.
\bigskip
% --- Dependency tree graph (TikZ) ---
\begin{figure}[ht]
\centering
\begin{tikzpicture}[
node distance=10mm and 18mm,
box/.style={draw, rounded corners, align=center, inner sep=4pt},
arrow/.style={-Latex}
]
\node[box] (lin) {Linear Algebra\\(bases, maps, eigenvalues)};
\node[box, right=of lin] (real) {Real Analysis\\(limits, continuity, measure-lite)};
\node[box, below=of lin] (prob) {Probability\\(expectation, variance, concentration)};
\node[box, below=of real] (top) {Topology/Geometry\\(metrics, compactness)};
\node[box, below=12mm of prob] (func) {Functional Analysis\\($L^p$, Hilbert spaces, operators)};
\node[box, below=12mm of top] (quant) {Quantum Formalism\\(states, observables, partial trace)};
\node[box, below=14mm of func, xshift=25mm] (book) {This Book\\(Chapters 1--n)};
\draw[arrow] (lin) -- (func);
\draw[arrow] (real) -- (func);
\draw[arrow] (prob) -- (func);
\draw[arrow] (func) -- (quant);
\draw[arrow] (lin) -- (quant);
\draw[arrow] (top) -- (quant);
\draw[arrow] (func) -- (book);
\draw[arrow] (quant) -- (book);
\draw[arrow] (prob) -- (book);
\end{tikzpicture}
\caption{Dependency tree: prerequisites and how they feed into the main text.}
\label{fig:dependency-tree}
\end{figure}
\end{document}