I am trying to add a footnote in my latex document but I have an undefined control sequence error. Here is a minimal example:
\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage[x11names,dvipsnames,svgnames,table]{xcolor}
% general incantations
\usepackage[export]{adjustbox}
\usepackage{afterpage}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{placeins}
\usepackage{pdfpages}
\usepackage{algorithm2e}
\usepackage{array}
\usepackage{booktabs}
\usepackage[most]{tcolorbox}
\usepackage{calligra}
\usepackage{caption}
\usepackage{datetime}
\usepackage{dblfnote}
\usepackage{dirtytalk}
\usepackage{dsfont}
\usepackage{etex}
\usepackage{fancyhdr}
\usepackage{fix-cm}
\usepackage[T1]{fontenc}
\usepackage{textcomp,gensymb} %for \degree C symbol
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{listings}
\usepackage{transparent}
\usepackage[everyline=true,framemethod=tikz]{mdframed}
\usepackage{mparhack}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{parskip}
\usepackage{lscape}
\usepackage{pdflscape}
\usepackage{pdfpages}
\usepackage{placeins}
\usepackage[document]{ragged2e}
\hyphenpenalty=10000
% For diamond and club and space
%\usepackage{fdsymbol}
%Automated appendices
\usepackage[titletoc,title,header]{appendix} %advanced functionality
%language settings
\usepackage[utf8]{inputenc}
\usepackage[australian]{babel}
\usepackage{csquotes}
%page setup
%this where we adjust the binding offset, if relevant
\usepackage[a4paper]{geometry}
\usepackage{lastpage} % for page 1 of n footers
%cross referencing
\usepackage[hidelinks]{hyperref}
%\usepackage[colorlinks=false]{hyperref}
\usepackage{cleveref}
%maths stuff
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{mathrsfs}
\setcounter{secnumdepth}{5}
%lists
\usepackage{enumitem}
%working collaboratively
\usepackage[backgroundcolor=yellow]{todonotes}
% bibliography file using harvard
%\usepackage[style=authoryear-ibid,backend=biber]{biblatex}
%\usepackage[style=alphabetic,citestyle=authoryear,backend=biber]{biblatex}
\usepackage[style=alphabetic,citestyle=alphabetic,backend=biber]{biblatex}
\bibliography{bibliography.bib} % with extension
%glossary for acronyms
\usepackage[acronym,nonumberlist,toc,section=subsection,numberedsection=nolabel]{glossaries}
\makeglossaries
%line spacing
\linespread{1.25}
%$\heartsuit\varheart\diamondsuit\vardiamond\clubsuit\spadesuit$
\begin{document}
\footnote{text}
\section{Introduction}
\subsection{Subsection Examples}
I am a subsection
\subsubsection{Sub Subsection Example}
I am a sub subsection
\end{document}
Thank you for your help.
Best Answer
the error is an incompatibility with
But as you are not using that package you can simply delete it.
Several other
\usepackage
lines should also be deleted egetex
should never be used, you loadinputenc
andgraphicx
twice for example.