design/tpl: Introduce bibliography
This starts with the Hadamard Product as an example. It also: - Configures BibLaTeX with biber. - Renames \undef, since BibLaTeX apparently defines it. - Redefines the citation and url colors, since they're bright and ugly.master
parent
e07887f8b5
commit
9c72d397d4
|
@ -11,6 +11,12 @@
|
||||||
*.out
|
*.out
|
||||||
*.toc
|
*.toc
|
||||||
|
|
||||||
|
# BibLaTeX
|
||||||
|
*.bbl
|
||||||
|
*.bcf
|
||||||
|
*.blg
|
||||||
|
*.run.xml
|
||||||
|
|
||||||
# Index
|
# Index
|
||||||
*.idx
|
*.idx
|
||||||
*.ilg
|
*.ilg
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
inputs := tpl.tex tpl.sty \
|
inputs := tpl.tex tpl.sty tpl.bib \
|
||||||
$(wildcard sec/*.tex)
|
$(wildcard sec/*.tex)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,9 @@ sufficient to install all necessary dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ apt install --no-recommends \
|
$ apt install --no-recommends \
|
||||||
make latexmk \
|
make latexmk biber \
|
||||||
texlive-latex-extra texlive-fonts-extra texlive-science
|
texlive-latex-extra texlive-fonts-extra texlive-bibtex-extra \
|
||||||
|
texlive-science
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
|
@ -632,8 +632,8 @@ We therefore establish a relationship to the notation of linear algebra
|
||||||
\begin{remark}[Logical Connectives With Matrix Notation]
|
\begin{remark}[Logical Connectives With Matrix Notation]
|
||||||
From the definition of \axmref{class-mat-not},
|
From the definition of \axmref{class-mat-not},
|
||||||
it should be clear that the logical connective $\monoidop$ necessarily
|
it should be clear that the logical connective $\monoidop$ necessarily
|
||||||
acts like a Hadamard product with respect to how individual elements are
|
acts like a Hadamard product\cite{wp:hadamard-product} with respect to
|
||||||
combined.
|
how individual elements are combined.
|
||||||
\end{remark}
|
\end{remark}
|
||||||
|
|
||||||
\index{classification!intuition}
|
\index{classification!intuition}
|
||||||
|
|
|
@ -555,10 +555,10 @@ When $\len{K[J]}=1$
|
||||||
\end{equation}
|
\end{equation}
|
||||||
We may optionally omit the domains as in the vector notation.
|
We may optionally omit the domains as in the vector notation.
|
||||||
|
|
||||||
\indexsym\undef{undefined}
|
\indexsym\eleundef{undefined}
|
||||||
\index{undefined}
|
\index{undefined}
|
||||||
If a matrix is \emph{not} rectangular,
|
If a matrix is \emph{not} rectangular,
|
||||||
the symbol~$\undef$ can be used to explicitly denote that specific scalar
|
the symbol~$\eleundef$ can be used to explicitly denote that specific scalar
|
||||||
values are undefined;
|
values are undefined;
|
||||||
this is useful when the matrix representation is desirable when
|
this is useful when the matrix representation is desirable when
|
||||||
describing the transformation of non-rectangular data \emph{into}
|
describing the transformation of non-rectangular data \emph{into}
|
||||||
|
@ -568,8 +568,8 @@ For example,
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
\begin{bmatrix}
|
\begin{bmatrix}
|
||||||
0 & 1 & 2 \\
|
0 & 1 & 2 \\
|
||||||
3 & 4 & \undef \\
|
3 & 4 & \eleundef \\
|
||||||
5 & \undef & \undef
|
5 & \eleundef & \eleundef
|
||||||
\end{bmatrix}_{\underset{k\in K_j}{j\in J}}
|
\end{bmatrix}_{\underset{k\in K_j}{j\in J}}
|
||||||
=
|
=
|
||||||
\Vector{\Vector{0,1,2},\Vector{3,4},\Vector{5}},
|
\Vector{\Vector{0,1,2},\Vector{3,4},\Vector{5}},
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
% TAME Programming Language Bibliography
|
||||||
|
|
||||||
|
@online{wp:hadamard-product,
|
||||||
|
organization = {Wikipedia},
|
||||||
|
title = {Hadamard product (matrices)},
|
||||||
|
url = {https://en.wikipedia.org/wiki/Hadamard_product_(matrices)},
|
||||||
|
date = {2020-05-26},
|
||||||
|
}
|
|
@ -13,8 +13,11 @@
|
||||||
\usepackage[amsfonts,amssymb]{concmath} % Fonts used by the text
|
\usepackage[amsfonts,amssymb]{concmath} % Fonts used by the text
|
||||||
\usepackage{euler} % Concrete Mathematics
|
\usepackage{euler} % Concrete Mathematics
|
||||||
\usepackage{makeidx} % Indexing
|
\usepackage{makeidx} % Indexing
|
||||||
|
\usepackage[backend=biber]{biblatex} % BibTeX replacement
|
||||||
\usepackage[colorlinks=true,
|
\usepackage[colorlinks=true,
|
||||||
linkcolor=href,
|
linkcolor=href,
|
||||||
|
citecolor=cite,
|
||||||
|
urlcolor=href,
|
||||||
draft=false]{hyperref} % Hyperlinks (even in draft mode)
|
draft=false]{hyperref} % Hyperlinks (even in draft mode)
|
||||||
\usepackage{xcolor} % Colors (for hyperlinks)
|
\usepackage{xcolor} % Colors (for hyperlinks)
|
||||||
\usepackage{amsmath,amsthm} % AMS macros, including theorems
|
\usepackage{amsmath,amsthm} % AMS macros, including theorems
|
||||||
|
@ -24,6 +27,8 @@
|
||||||
\usepackage{manfnt} % Dangerous Bend symbols
|
\usepackage{manfnt} % Dangerous Bend symbols
|
||||||
\usepackage{rotating} % Rotating objects
|
\usepackage{rotating} % Rotating objects
|
||||||
|
|
||||||
|
\addbibresource{tpl.bib}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
@ -32,6 +37,7 @@
|
||||||
% Colors from Tango Icon Theme
|
% Colors from Tango Icon Theme
|
||||||
% https://en.wikipedia.org/wiki/Tango_Desktop_Project
|
% https://en.wikipedia.org/wiki/Tango_Desktop_Project
|
||||||
\definecolor{href}{HTML}{204a87}
|
\definecolor{href}{HTML}{204a87}
|
||||||
|
\definecolor{cite}{HTML}{4e9a06}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,7 +95,7 @@
|
||||||
\newcommand\MFam[5]{\ensuremath{%
|
\newcommand\MFam[5]{\ensuremath{%
|
||||||
\Vector{{#1_{#2}}_#4}_{\underset{#4\in {#5_#2}}{#2\in #3}}
|
\Vector{{#1_{#2}}_#4}_{\underset{#4\in {#5_#2}}{#2\in #3}}
|
||||||
}}
|
}}
|
||||||
\newcommand\undef{\boxtimes}
|
\newcommand\eleundef{\boxtimes}
|
||||||
|
|
||||||
% Variable subscripts
|
% Variable subscripts
|
||||||
\let\varsubscript\imath
|
\let\varsubscript\imath
|
||||||
|
|
|
@ -65,8 +65,11 @@
|
||||||
\input{sec/appendix-typesetting.tex}
|
\input{sec/appendix-typesetting.tex}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% Ensure Copyright line does not show for Index
|
% Ensure Copyright line does not show
|
||||||
\cfoot[\thepage]{\thepage}
|
\cfoot[\thepage]{\thepage}
|
||||||
|
|
||||||
|
\printbibliography[heading=bibintoc]
|
||||||
|
|
||||||
\clearpage
|
\clearpage
|
||||||
\printindex
|
\printindex
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue