% Created 2018-03-07 Wed 17:38 % Intended LaTeX compiler: pdflatex \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{grffile} \usepackage{longtable} \usepackage{wrapfig} \usepackage{rotating} \usepackage[normalem]{ulem} \usepackage{amsmath} \usepackage{textcomp} \usepackage{amssymb} \usepackage{capt-of} \usepackage{hyperref} \usepackage{xcolor} \usepackage{tikz} \usepackage{soul} \usepackage{listings} \usepackage[version=3]{mhchem} \usepackage{doi} \usepackage{amsmath} \usepackage[british, english]{babel} \author{Eric S Fraga} \date{\today} \title{} \hypersetup{ pdfauthor={Eric S Fraga}, pdftitle={}, pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs 27.0.50 (Org mode 9.1.6)}, pdflang={English}} \begin{document} \tableofcontents \section{test} \label{sec:orgb830d36} \lstset{language=[LaTeX]TeX,label=fragment,caption= ,captionpos=b,numbers=none} \begin{lstlisting} Here is an interesting (and true) equation: \begin{equation} \int uv' = uv - \int u'v \label{int}. \end{equation} And that happens to be equation \eqref{int} on page \pageref{int}. \end{lstlisting} Here is an interesting (and true) equation: \begin{equation} \int uv' = uv - \int u'v \label{int}. \end{equation} And that happens to be equation \eqref{int} on page \pageref{int}. \end{document}