1

I have a number of footnotes and endnotes that are included at the end of a document. The first endnote is not aligned with the rest of the end/footnotes:

\documentclass[12pt,a4paper]{report}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{hyperref}
\usepackage{parskip}
\usepackage[toc,page]{appendix}

\usepackage{endnotes} 
\let\footnote\endnote
\renewcommand\enoteheading{\chapter{Notes}}

\begin{document}

\tableofcontents

\chapter{chapter}

\section{section}
first\footnote{hello}, 

second\endnote{this is my equation
\begin{equation}
z=x+y
\end{equation}
}

third\endnote{another equation $a+b+c$}

\appendix
\addcontentsline{toc}{chapter}{Notes}

\theendnotes

\end{document}

It currently looks like: enter image description here

but I want all notes to be aligned with the first one. What is the best way to do this?

1 Answer 1

1

Use the below macro in preamble part:

\renewcommand\enoteformat{\rightskip=0pt \leftskip=0pt \parindent=0em
  \leavevmode\makeenmark\raggedright}

enter image description here

1
  • 1
    you really shouldn't need \rightskip=0pt since \raggedright` resets it. Jan 5, 2017 at 8:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .