Text FormattingEndnote formatting - producing hanging paragraphs

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
TomF
Posts: 3
Joined: Fri Apr 06, 2012 5:09 am

Endnote formatting - producing hanging paragraphs

Post by TomF »

Hi,

I am producing a document (scrbook document class) that incorporates around 100 endnotes and I would like to be able to reformat the default way that the endnotes package displays them. Most of the changes I've already done, but I'm stuck on this last point.

Ideally the second and subsequent lines of each note be justified to the start of the first (ignoring the number) - with an output similar to that of enumerate.

Any ideas would be greatly appreciated.

Regards,

TomF

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

TomF
Posts: 3
Joined: Fri Apr 06, 2012 5:09 am

Endnote formatting - producing hanging paragraphs

Post by TomF »

Solved my problem eventually. Use the following (adjust lengths to suit):

Code: Select all

\renewcommand\enoteformat{\noindent\makebox[2.5em][r]{\theenmark.\ }\hangindent 2.5em}
Regards,

TomF
Last edited by Stefan Kottwitz on Fri Apr 06, 2012 11:51 am, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Endnote formatting - producing hanging paragraphs

Post by Stefan Kottwitz »

Hi Tom,

thanks for providing the solution! I marked your post as the solution post, using the checkmark button next to the post title.

Stefan
LaTeX.org admin
Post Reply