Hot answers tagged

23

You can use the endnotes package: \documentclass{article} \usepackage{endnotes} \let\footnote=\endnote \begin{document} text\footnote{test footnote} \newpage \theendnotes \end{document} To add a horizontal rule below the "Notes" heading, you can redefine the \enoteheading command; for example, to obtain a rule of width equal to 0.5\textwidth you can ...


20

This is a stripped-down version of the code in the parnotes package. NOTE to anyone wanting to "do x after every paragraph": The proper way to make long-term changes to \par is through \@setpar, or by modifying \@par along with \par. Many LaTeX environments reset \par to \@par at end; see source2e chapter ltpar.dtx. Here's a hack using ...


19

You can also stick with endnotes. Each time you use \theendnotes, all endnotes that were stored previously will be put there. So just write \theendnotes at the end of each chapter. \documentclass{report} \usepackage{endnotes} \begin{document} \chapter{First} Testing.\endnote{First test.} \theendnotes \setcounter{endnote}{0} \chapter{Next} ...


16

The pagenote package allows for endnotes ("pagenotes") at the end of each chapter. \documentclass{book} \usepackage{pagenote} \makepagenote \renewcommand*{\notedivision}{\section*{\notesname\ to chapter~\thechapter}} \renewcommand*{\pagenotesubhead}[2]{} \begin{document} \chapter{bla} \section{blubb} Some text.\pagenote{The first endnote.} ...


15

You may put each paragraph into a minipage, because minipages have their own footnotes: \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext} \newenvironment{mpar}{\par\noindent\minipage{\linewidth}% \setlength{\parindent}{1em}% }{\endminipage\par\medskip} \begin{document} \section{Test} \blindtext \begin{mpar}First ...


13

I once uncovered the following code on comp.text.tex, credited to Ulrich Dirr: %%% hyperendnotes.sty \makeatletter \newif\ifenotelinks \newcounter{Hendnote} % Redefining portions of endnotes-package: \let\savedhref\href \let\savedurl\url \def\endnotemark{% \@ifnextchar[\@xendnotemark{% \stepcounter{endnote}% \protected@xdef\@theenmark{\theendnote}% ...


12

Have you looked at the endnotes package? It does precisely what you want, with the option to collect both footnotes and endnotes into one. http://ctan.tug.org/tex-archive/help/Catalogue/entries/endnotes.html


11

You can redefine \enoteformat: \documentclass{article} \usepackage{endnotes} \usepackage{lipsum} \let\footnote=\endnote \renewcommand\enoteformat{\rightskip=0pt \leftskip=0pt \parindent=0em \leavevmode\makeenmark\raggedright} \begin{document} text\footnote{test footnote1} \lipsum[1] text\footnote{test footnote2 \lipsum[2]} \lipsum[1-7] \theendnotes ...


9

As you noticed, the # confuses TeX, because the endnotes are eventually read in as a macro replacement text. Use \urldef for the problematic entry: \documentclass[12pt, a4paper, twoside]{article} \usepackage[T1]{fontenc} \usepackage{endnotes} \usepackage{url} \urldef\rossetti\url|http://www.rossettiarchive.org/docs/nb0005.duke.rad.html#0.1.19| ...


9

Here's an automatic version: \documentclass{book} \usepackage{endnotes,chngcntr} \usepackage[perpage,symbol*]{footmisc} \counterwithin*{endnote}{part} % Reset endnote numbering every new part \counterwithin*{endnote}{chapter} % Reset endnote numbering every new chapter \makeatletter \renewcommand\enoteheading{% \setcounter{secnumdepth}{-2} ...


8

The header of the endnotes are saved in the the command \enoteheading. Here the original definition. \def\enoteheading{\section*{\notesname \@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}% \mbox{}\par\vskip-\baselineskip} To setup the rule you can use: \def\enoteheading{\par\kern2\baselineskip% \footnoterule% ...


8

If you only have a single \footnotemarks inside \footnotes, then the following should work: \documentclass{article} \usepackage{endnotes}% http://ctan.org/pkg/endnotes \let\footnote\endnote \def\footnotetext{\endnotetext[\number\numexpr\value{endnote}+1]} \let\footnotemark\endnotemark \begin{document} Here is a footnote% \footnote{That contains a nested ...


8

The parindent for endnotes is set by the macro \enoteformat: instead of restating its (modified) definition, it's simpler to patch it. \documentclass{book} \usepackage{endnotes} \let\footnote=\endnote \usepackage{etoolbox} \patchcmd{\enoteformat}{1.8em}{0pt}{}{} \begin{document} Some text. Some text. Some text. Some text.\footnote{Some text. } ...


8

endnote from CTAN may give a suitable starting point. Here's a quick example: \input endnote Hello world! This is to have an endnote. \endnote{[1]}{ Endnote text.} \producenotes \bye


7

You can patch the command that formats the endnote to add \RaggedRight to it. The easiest way to do this is with the etoolbox package, using the \appto macro, which appends code to an existing macro. \usepackage{etoolbox} \appto{\enoteformat}{\RaggedRight} Here's your sample document: \documentclass[endnotes]{apa6e} \usepackage{etoolbox} \title{} ...


7

OK, after grepping the sty file I found this: % JK Introduced \notesname in the spirit of international \LaTeX. % JK \notesname is set per default to be {Notes}, but can easily % JK be redifined, e.g. for german language % JK \renewcommand{\notesname}{Anmerkungen} Nothing to add, I suppose;) (My previous answer, with ...


7

You have to run bibtex in order for the footnotes to appear, so in particular, you can't use \begin{thebibliography}{99}...\end{thebibliography} but rather \bibliography{mybib}, which RevTeX4.1 will rewrite as though it says \bibliography{mybib,mypaperNotes} and create a file mypaperNotes.bib with the endnotes in it.


7

\begin{filecontents*}{parnotes.sty} \ProvidesPackage{parnotes}[2011/12/10 v0.0.1 Paragraph notes (Ahmed Musa)] \NeedsTeXFormat{LaTeX2e}[2011/06/27] \RequirePackage{combokeys} \let\parnotesnosep\medbreak \declarecombokeys[keyprefix=KVA,keyfamily=parnotes,macroprefix=pnt@]{% cmd/notecolor/black; cmd/noteformat/\@firstofone; cmd/notefont/\footnotesize; ...


7

I'm not so sure it's wise to have three different kinds of notes. This seems to be predestined to confuse readers. Having them all numbered with the same counter seems even more confusing to me: why is number 1 in the margin, number 2 in the footer and number 3 at the end of the section? Is there some pattern to it? If really all three note types are ...


7

The endnotes package uses \makeenmark for typesetting the footnote mark both in the text and in the endnotes. We can take advantage of the fact that the endnotes are printed in a group to redefine the command locally: \documentclass{article} \usepackage{endnotes,etoolbox} \renewcommand{\notesname}{References} % end note marker = superscripted number in ...


6

You may use the pagenote package: \documentclass{report} \usepackage{pagenote} \makepagenote \renewcommand*{\notedivision}{\chapter*{\notesname}} \let\footnote\pagenote \begin{document} \chapter{First} Some text.\footnote{A footnote.} \begin{thebibliography}{9} \bibitem{A01} A bibitem. \end{thebibliography} \printnotes \end{document}


6

Here is a first attempt at inserting the information manually. I'm sure it can be automated, but that would require making sure that you have end notes in each of the parts/chapters that you use so as to avoid outputting sectional headings without any end notes in them: \documentclass{book} \usepackage{endnotes}% http://ctan.org/pkg/endnotes ...


6

Here is a solution using the \pretocmd provided by the etoolbox package. \documentclass{book} \usepackage{etoolbox} \usepackage{pagenote} \makepagenote \begin{document} \chapter{Chap 1} \pretocmd{\chapter}{\printnotes*}{}{} \chapter{Chap 2} \chapter{Chap 3} \chapter{Chap 4} \printnotes* \end{document} As you can see the command may be used after the ...


6

With enotez the \label command should be outside the endnote text; see the final example in section 3.1. You don't need footmisc as you can define a \footref command with enotez features: \documentclass{article} \usepackage{enotez} \renewcommand{\footnote}{\endnote} \newcommand{\footref}[1]{% \enotezwritemark{\enmarkstyle\ref{#1}}% } \begin{document} ...


6

\renewcommand\prenotetext{\ignorespaces} To spot this, I just added \tracingall which says \prenotetext -> {blank space } {the letter H} so defining \prenotetext to not be a space fixes it, making it \ignorespaces is just "belt and braces".


5

To avoid repetitive typing of \parnotes, something like the following is possible, but I haven't time now to look at the behavior of multicols in this case. \def\beginparnotes{% \let\@saved@par\par \def\par{% \@saved@par \vspace{\parnotevskip}% \parskip\z@ \ifx\PN@text\@empty\else \expandafter\parnotes \fi }% } ...


5

Use \footnote instead of \endnote for the inner note level. To avoid mixing up end- and footnotes, consider also to use symbols for footnotes (and make the footnote "numbering" per-page). \documentclass{article} \usepackage{endnotes} \usepackage{perpage} \MakePerPage{footnote} \renewcommand*{\thefootnote}{\fnsymbol{footnote}} \begin{document} \null\vfill% ...


5

After a lot of trial and error, I'v come up with what seems to be a solution. I suspect that my approach is rather long-winded and offers room for improvement. Rummaging through endnotes.sty and pagenote.sty, I noticed that endnotes provided for writing more data in the .ent file (an auxiliary file that contains the text of endnotes). Basically, parts of ...


5

There is a bug in the style file endheads. It contains these lines: \@ifclassloaded{memoir}{ \makepagestyle{endnotesstyle} \makeevenhead{endnotesstyle}{{\small\textrm{\thepage}}}{{\small{\em \the\notesheadername~\mymarks}}}{} \makeoddhead{endnotesstyle}{}{{\small{\em \the\notesheadername~\mymarks}}}{{\small\textrm{\thepage}}} \makeevenfoot{}{}{} ...


5

Edit in reaction to comments for using the same endnotemark more than once: With endnotes: Use \endnotemark[number] and \endnotetext[number]: \documentclass{scrartcl} \usepackage{endnotes} \title{Concepts} \author{Lala\endnotemark[1], Lilo\endnotemark[2], Lolita\endnotemark[1], Lulu\endnotemark[3]} \begin{document} \maketitle ...



Only top voted, non community-wiki answers of a minimum length are eligible