<gh_stars>1-10
\documentclass[oneside, fontsize=10pt, DIV=14, letterpaper]{scrbook}
%\usepackage[letterpaper, left=0.75in, right=0.75in, top=1in, bottom=1in]{geometry}
\usepackage[english]{babel}
\usepackage{ragged2e}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{csquotes}
%\usepackage{textcomp}
\usepackage{gensymb}
\usepackage{enumitem}
%\usepackage{tcolorbox}
\usepackage{listings}
\usepackage{mathtools}
\usepackage{pifont}
\usepackage{float}
\usepackage{multirow}
\usepackage{comment}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage[boxruled, linesnumbered]{algorithm2e}
\usepackage{caption}
%\usepackage{fontspec}
%\usepackage{unicode-math}
%\usepackage{placeins}
\usepackage{titling}
\usepackage{subcaption}
\usepackage{tikz}
\usepackage{calc}
\usepackage{color}
\usepackage{url}
%\usepackage{newtxtext,newtxmath}
%\usepackage{mathptmx}
\usepackage{mathpazo}
\usepackage{hyperref}

\usetikzlibrary{shapes,positioning,intersections,quotes}

\newcommand{\prmlqstyle}[1]{{\color{red}\textbf{#1}}}
\newenvironment{question}[1]{\par\medskip\noindent{\prmlqstyle{#1}}\hspace*{0.5em}}{\medskip}
\newenvironment{answer}[1]{\par\medskip\noindent{\color{green}\textit{Answer #1.}}\hspace*{0.5em}}{\medskip}
\newenvironment{afternote}{\par\medskip\noindent{\color{blue} \textit{Comment.}}\hspace*{0.5em}}{\medskip}

\newcommand{\dmid}{\mathbin{||}}
\renewcommand\qedsymbol{$\blacksquare$}
\newcommand{\bm}[1]{\boldsymbol{#1}}

\newcommand{\T}{\mathsf{T}}
\newcommand{\supinv}{^{-1}}

\newcommand{\sgn}[1]{\mathrm{sgn}\left(#1\right)}
\newcommand{\ev}[1]{\mathbb{E}\left[#1\right]}
\newcommand{\var}[1]{\mathrm{var}\left[#1\right]}
\newcommand{\cov}[1]{\mathrm{cov}\left[#1\right]}

\makeatletter
\newcommand*\dotp{\mathpalette\bigcdot@{1.0}}
\newcommand*\bigcdot@[2]{\mathbin{\vcenter{\hbox{\scalebox{#2}{$\m@th#1\bullet$}}}}}
\makeatother

% paying tribute to L'Hospital by encoding his "real" name
\newcommand{\lhopitalsrule}{L'H\^{o}pital's rule}

\DeclareMathOperator{\IndFn}{1}
\DeclareMathOperator{\NumOf}{\#}
\DeclareMathOperator{\KLDiv}{KL}
\DeclareMathOperator{\etpy}{H}
\DeclareMathOperator{\mutinfo}{I}

\title{Detailed Solutions to PRML Questions}
\author{Ziyue ``Alan'' Xiang}
\date{\today}

\numberwithin{equation}{chapter}

\begin{document}
	
% using STIX2 fonts (not any more!)
%\setmainfont {STIX2Text-Regular}[Extension=.otf,BoldFont=STIX2Text-Bold,ItalicFont=STIX2Text-Italic,BoldItalicFont=STIX2Text-BoldItalic,]

%\setmathfont{STIX2Math.otf}

\allowdisplaybreaks

\doublespacing
%\onehalfspacing

\pagestyle{fancy}
\fancyhf{}
\chead{\thetitle}
\cfoot{\thepage}

% !! insert begin

% !! insert end
\end{document}
