отступ в концевой сноске равен отступу в библиографии

отступ в концевой сноске равен отступу в библиографии

Я использую, endnoteчтобы размещать свои сноски как концевые сноски в конце моей книги и natbibдля моей библиографии. Таким образом, я хочу, чтобы оба списка имели одинаковый отступ.

Я знаю, что отступы концевых сносок можно задать следующим образом:

\def\enoteformat{\rightskip=0pt \leftskip=0pt \parindent=1.8em
\leavevmode\llap{\makeenmark}}

но интересно, как получить настройки, используемые в natbib.

МВЭ:

% endnotes
\usepackage{endnotes}
\let\footnote=\endnote
% bibliography
\usepackage[super, longnamesfirst, sort&compress]{natbib}
\setlength{\bibsep}{0.0pt}

\begin{document}

\endnote{testendnote} and \citep{testcite}

% the endnotes
\theendnotes
% the bibliography
\bibliographystyle{ieeetr}
\begin{thebibliography}{99} 
\bibitem{testcite} Bloggs, J., The Journal of Stuff, 2012 
\end{thebibliography} 

\end{document}

решение1

Читая ваш комментарий, я думаю, что вы хотели бы, чтобы было так:

введите описание изображения здесь

Его можно получить с помощью:

\def\enoteformat{\rightskip=0pt \leftskip=21pt \parindent=-11pt
\leavevmode\llap{\makeenmark}\hspace*{11pt}}

Полный код:

\documentclass{article}

% endnotes
\usepackage{endnotes}
\let\footnote=\endnote
% bibliography
\usepackage[super, longnamesfirst, sort&compress]{natbib}
\setlength{\bibsep}{0.0pt}

\def\enoteformat{\rightskip=0pt \leftskip=21pt \parindent=-11pt
\leavevmode\llap{\makeenmark}\hspace*{11pt}}

\begin{document}

\endnote{testendnote some text some text some text some text some text some text some text some text  some text some text} and \citep{testcite}

% the endnotes
\theendnotes
% the bibliography
\bibliographystyle{ieeetr}
\begin{thebibliography}{99}
\bibitem{testcite} Bloggs, J., The Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Journal of Stuff, 2012
\end{thebibliography}

\end{document} 

Оригинальный ответ

Вы имеете в виду что-то подобное?

введите описание изображения здесь

Его можно получить с помощью

\def\enoteformat{\rightskip=0pt \leftskip=10pt \parindent=0pt
\leavevmode\llap{\makeenmark}}

Связанный контент