Here is my MWE:
Code: Select all
\documentclass[12pt,openany,letterpaper]{book}
\usepackage[T1]{fontenc}
\usepackage[round,sort,comma]{natbib}
\newcounter{bibcount}
\usepackage{hyperref,url}
\usepackage{color}
\usepackage[english]{babel}
\usepackage[autostyle, english = american]{csquotes}
\newcommand{\red}{\color[rgb]{1,0,0}}
\hypersetup{,colorlinks=true,allcolors=red}
\setlength\bibindent{10cm}
\makeatletter
\patchcmd{\@lbibitem}%
{\item[}%
{\item[\hfill\stepcounter{bibcount}{[\thebibcount]}}%
{}%
{}
\patchcmd{\@lbibitem}%
{\hfil \NAT@anchor {#2}{\NAT@num }]}%
{]}
{}
{}
\setlength{\bibhang}{2.00\parindent}
\renewcommand\NAT@bibsetup[1]{%
\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\parindent}%
\setlength{\itemsep}{\bibsep}%
\setlength{\parsep}{\z@}}
\makeatother
\bibliographystyle{unsrtnat}
\begin{document}
\vspace*{\fill}
\begingroup
\begin{center}
{\LARGE
{\bf Title Page} \\[20pt]
}
{\LARGE
{\sc Spring 2020}
}
\vspace{5cm}
{\LARGE
{\LaTeX} Note
}
\vspace{5cm}
{\LARGE
{\em COVID--19}
}
\end{center}
\endgroup
\vspace*{\fill}
\newpage
\chapter{Chapter 1}
\section{Section 1}
Markov Chains \cite{n97}
\section{Section 2}
A graduate text in Mathematics \cite{ds14}
\chapter{Chapter 2}
\section{Section 1}
Probability and Measure Theory, \cite{MR1810041}.
\chapter{Chapter 3}
Algebra, \cite{MR1034353}.
\clearpage
\bibliography{ref}
\thispagestyle{plain}
\pagestyle{plain} \thispagestyle{plain}
\end{document}
Code: Select all
@book {MR1810041,
AUTHOR = {Ash, Robert B.},
TITLE = {Probability and Measure Theory},
EDITION = {Second},
NOTE = {With contributions by Catherine Dol{\'e}ans-Dade},
PUBLISHER = {Harcourt/Academic Press, Burlington, MA},
YEAR = {2000},
PAGES = {xii+516},
ISBN = {0-12-065202-1},
MRCLASS = {28-01 (60-01)},
MRNUMBER = {1810041},
}
@article {MR1034353,
AUTHOR = {Hungerford, Thomas W.},
TITLE = {A counterexample in {G}alois theory},
JOURNAL = {Amer. Math. Monthly},
FJOURNAL = {American Mathematical Monthly},
VOLUME = {97},
YEAR = {1990},
NUMBER = {1},
PAGES = {54--57},
ISSN = {0002-9890},
MRCLASS = {12F10},
MRNUMBER = {1034353},
URL = {https://doi.org/10.2307/2324007},
}
@book {n97,
AUTHOR = {Norris, J. R.},
TITLE = {Markov Chains},
PUBLISHER = {Cambridge University Press},
YEAR = {1997},
DOI = {10.1017/CBO9780511810633},
}
@book {ds14,
AUTHOR = {Stroock, Daniel W.},
TITLE = {An Introduction to Markov Processes},
PUBLISHER = {Springer, Berlin, Heidelberg},
EDITION = {Second},
YEAR = {2014},
ISBN = {978-3642405228},
PAGES = {IX+275},
DOI = {10.1007/978-3-642-40523-5},
}
I am wondering what is going wrong here and how to fix it.
Thank you!