GeneralIncreased Size and uppercased Name of Endnotes List

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Increased Size and uppercased Name of Endnotes List

Post by cgnieder »

How about this:

Code: Select all

\documentclass[10pt,a5paper,openany]{book}
\usepackage{blindtext}
\usepackage{bookmark}
\usepackage{enotez}

\setenotez{
  reset = true,
  backref = true,
  totoc = chapter,
  split = chapter,
  list-style = itemize ,
  list-heading = \chapter*{#1} ,
  split-heading = \section*{#1} ,
  split-title = <name> <ref>
}

\renewcommand*\enmark[1]{\llap{#1}}
\usepackage{titlesec}
\titlespacing{\chapter}{0pt}{*0}{*1.5}
\titlespacing{\section}{0pt}{*2}{*1.5}
\titlespacing{\subsection}{0pt}{*0}{*0}
\titleformat{name=\chapter}[display]
  {\centering\bfseries\large}
  {\Huge\thechapter}
  {0pt}
  {\MakeUppercase}
  []
\titleformat{name=\chapter,numberless}[display]
  {\centering\bfseries\huge}
  {}
  {0pt}
  {\MakeUppercase}
  []
\titleformat{name=\section}[hang]
  {\centering\bfseries\large}
  {}
  {0pt}
  {\thesection.\ \MakeUppercase}
  []
\titleformat{name=\section,numberless}[hang]
  {\centering\bfseries\large}
  {}
  {0pt}
  {\MakeUppercase}
  []
\titleformat{\subsection}[hang]
  {\bfseries\small}
  {}
  {0pt}
  {\thesubsection.\ \textsc}
  []
\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand{\thesection}{\Alph{section}}
\renewcommand{\thesubsection}{\arabic{subsection}}

\begin{document}

\chapter{Introduction}
\blindtext
\endnote{\blindtext}
\blindtext
\endnote{\blindtext}
\blindtext
\endnote{\blindtext}
\blindtext
\endnote{\blindtext}
\blindtext
\endnote{\blindtext}

\printendnotes
\end{document}
Regards
site moderator & package author

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Increased Size and uppercased Name of Endnotes List

Post by AleCes »

Thank you so much you've been of such a great help to me!!! I really don't know how I could have pulled it off without you!

hang is better for numberless chapter titles such as Notes' because display leaves an empty space above the title when there's no chapter number.

Code: Select all

\titleformat{name=\chapter,numberless}[hang]
  {\centering\bfseries\Huge}
  {}
  {0pt}
  {\MakeUppercase}
  []
Thanks again.
Post Reply