Endnoteneinrückung gleich Bibliographie

Endnoteneinrückung gleich Bibliographie

Ich verwende es, endnoteum meine Fußnoten als Endnoten am Ende meines Buches und natbibfür meine Bibliographie zu platzieren. Daher möchte ich, dass beide Listen die gleiche Einrückung haben.

Ich weiß, dass ich die Einrückung von Endnoten wie folgt festlegen kann:

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

frage mich aber, wie ich die verwendeten Einstellungen bekomme natbib.

MWE:

% 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}

Antwort1

Wenn ich mir Ihren Kommentar ansehe, denke ich, dass Sie es so wollen:

Bildbeschreibung hier eingeben

Es kann erhalten werden durch:

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

Vollständiger Code:

\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} 

Ursprüngliche Antwort

Meinst du so etwas?

Bildbeschreibung hier eingeben

Es ist erhältlich mit

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

verwandte Informationen