Text Formatting ⇒ headings in endnote
headings in endnote
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
headings in endnote
Code: Select all
\renewcommand*{\notesname}{Myheading}
\markboth
you could adjust the headings, such as in this sample:Code: Select all
\clearpage\markboth{this and that}{something else}\begingroup\parindent 0pt\parskip 2ex\def\enotesize{\normalsize}\theendnotes\endgroup
endnotes.sty
:Code: Select all
\def\notesname{Notes}%\def\enoteheading{\section*{\notesname\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%\mbox{}\par\vskip-\baselineskip}
\MakeUppercase
. You could remove it in a redefinition.So, redefinitions may look like, in your own preamble:
Code: Select all
\renewcommand*{\notesname}{Myheading}\makeatletter\renewcommand*{\enoteheading}{%\section*{\notesname}%\markboth{\notesname}{\notesname}%\@afterindenttrue}\makeatother
\@afterindenttrue
is to get the paragraph indentation like for any following line.Your end notes may then look like the other headings in your document, with default article settings like:
Stefan
headings in endnote
\notename
as you suggested and then I created a myendnotes.sty
file by changing lines 373-376 in the standard endnotes.sty
file fromCode: Select all
\def\notesname{Notes}%\def\enoteheading{\section*{\notesname\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%\mbox{}\par\vskip-\baselineskip}
Code: Select all
\def\notesname{Notes}%\def\enoteheading{\label{endn}\chapter*{\notesname\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%\mbox{}\par\vskip-\baselineskip}