(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

Font size

Text color

\textcolor{red}{(how large)}

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}