Research
- Crime Categories
- Murder Circumstances
- Charges
- Murder Numbers by SHR
- Definitions of Murder
- Crime Literature
- Other Literature
- Seminars
- Journal Ranking
- Laws
- Changes in Law and Reporting in Michigan
- Citation Guides
- Datasets
Writing
Methods
- BLP
- Econometrics Models
- Econometrics Tests
- Econometrics Resources
- Event Study Plots
- Metrics Literature
- Machine Learning
Python-related
- Python Basic Commands
- Pandas Imports and Exports
- Pandas Basic Commands
- Plotting in Python
- Python web scraping sample page
- Two Sample t Test in Python
- Modeling in Python
R-related
- R Basics
- R Statistics Basics
- RStudio Basics
- R Graphics
- R Programming
- Accessing MySQL Databases from R
Latex-related
Stata-related
SQL
Github
Linux-related
Conda-related
AWS-related
Webscraping
Interview Prep
Other
LaTeX Basics
(Updated Aug 27, 2023)
Table of contents
Sections and Subsections
Changing the numbering of sections and subsections to letters
In appendices, researchers usually number their sections and subsections with letters rather than numbers. See link for more information.
Changing the numbering of tables and figures to correspond to sections
Some journals require tables and figures to be numbered in accordance with section numbers. For example, instead of being called Figure 16, the figure would be called Figure 4.3. See link for more information.
Font
Text color
\textcolor{red}{(how large)}
Hyperlinks
Reference The following can handle long urls with a large number of hyphens. It can also allows for colored links.
\PassOptionsToPackage{hyphens}{url}\usepackage{hyperref}
\hypersetup{
colorlinks=true, %set true if you want colored links
linktoc=all, %set to all if you want both sections and subsections linked
allcolors=blue
}
Appendix
\appendix
\section{Appendix}
Lists
Enumerate environment
Normal line spacing
\usepackage{enumitem}
\begin{enumerate}[nolistsep]
\end{enumerate}
Checklists
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\newcommand{\done}{\rlap{$\square$}{\raisebox{2pt}{\large\hspace{1pt}\cmark}}%
\hspace{-2.5pt}}
\newcommand{\wontfix}{\rlap{$\square$}{\large\hspace{1pt}\xmark}}
% usage:
% \begin{todolist}
% \item[\done] Frame the problem
% \item Write solution
% \item[\wontfix] profit
% \end{todolist}