## LaTeX forum ⇒ General ⇒ Increased Size and uppercased Name of Endnotes List Topic is solved

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

### Re: Increased Size and uppercased Name of Endnotes List

Well, if it must be then something like
\setenotez{   list-heading = {\Huge\bfseries#1} ,   split-heading = {\large\bfseries#1} ,}

might work (I haven't tried it).

Regards
site moderator & package author

Tags:

AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm
Unfortunately what you suggested doesn't do the work it's supposed to do, it actually brings forth a mess, try it for yourself.

cgnieder
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm

\usepackage{etoolbox}\newrobustcmd*\enotezchapter[1]{{\Huge\bfseries#1}}\newrobustcmd*\enotezsection[1]{{\large\bfseries#1}}\setenotez{   list-heading = \enotezchapter{#1} ,   split-heading = \enotezsection{#1} ,}

Regards
site moderator & package author

AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm
No way, still a mess, I think I need to completely redefine the format of chapter titles (list-heading) and section titles (split-heading) in the Notes chapter because the way you suggested the Notes chapter page's layout looks like a normal page with headers, and list-headings are preceded by a point because of this in the prologue:

\titleformat{\section}[display]{}{}{0pt}{\thesection.\ }[]

cgnieder
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm
I tested the code I proposed: with an up to date enotez it works without a problem -- but it looks ugly. Then I looked at the definitions of \section and \chapter in book.cls and I found the default formatting is
• \Huge \bfseries for \chapter and
• \Large\bfseries for \section.
That is: they already have the formatting that you want -- now I'm even more confused! What exactly do you want to change from the default settings or why doesn't the default setting no suit your needs?
site moderator & package author

AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm
cgnieder wrote:I tested the code I proposed: with an up to date enotez it works without a problem -- but it looks ugly. Then I looked at the definitions of \section and \chapter in book.cls and I found the default formatting is
• \Huge \bfseries for \chapter and
• \Large\bfseries for \section.
That is: they already have the formatting that you want -- now I'm even more confused! What exactly do you want to change from the default settings or why doesn't the default setting no suit your needs?

Of course, however I had to modify the standard chapter formatting to suit my needs, to the extent that now only the chapter number is \Huge while the title is \large.

\usepackage{titlesec}\titleformat{\chapter}[display]{\centering\bfseries\large}{\Huge\thechapter}{0pt}{\MakeUppercase}[]

As for sections I need them to be \large, not \Large.

I know this thing is so complicated but please understand I'm forced to reproduce the formatting of a book printed at the beginning of last century.

cgnieder
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm
AleCes wrote:Of course, however I had to modify the standard chapter formatting to suit my needs, to the extent that now only the chapter number is \Huge while the title is \large.

That is information that would have been helpful from the start... So you want those modified \chapter and \section but with a different font size for the list of endnotes?
site moderator & package author

AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm
I'm so sorry cgnieder, I thought it proper to take those lines away from the minimal example...

Yes, I want a different size for chapter and sections titles in the endnotes chapter.

cgnieder
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm
Can you then provide a minimal working example that includes your redefinitions of \chapter and \section, please?
site moderator & package author

AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm
Here it is: please forgive me but I thought including these would uselessly lengthen the minimal example...
