私は、endnote
本の末尾の脚注と参考文献として脚注を配置するためにを使用していますnatbib
。そのため、両方のリストに同じインデントを設定する必要があります。
文末脚注のインデントを次のように設定できることはわかっています。
\def\enoteformat{\rightskip=0pt \leftskip=0pt \parindent=1.8em
\leavevmode\llap{\makeenmark}}
しかし、 で使用される設定を取得する方法がわかりません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}
答え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}}