AleCes wrote:Actually you suggested I should use translation-strings in order "to get fine control on what is printed".
By that i
meant the text (you also said something about uppercase IIRC...
AleCes wrote:However, what I want is:
Code: Select all
\setenotez{
list-heading = \Huge{\chapter*{#1}} ,
split-heading = \large{\section*{#1}},
split-title = <name> <ref>
}
Is there a way to get such fine-tuning working?
That doesn't like right at all! On a technical side neither
\large
nor
\Huge
take an argument but are font switches that are active until the end of the current group or until the next switch.
Why do you want the headings different from other headings in you text? That doesn't seem to make sense to me... if
all chapter titles should be printed
\Huge
then this should be adjusted (e.g. with titlesec for all
\chapter
's at once. Changeing only the font size of the heading of the endnotes seems very inconsistent to me typographically...
Something like this is a setting I'd expect:
Code: Select all
\documentclass{book}
\usepackage[rm]{titlesec}
\titleformat*{\chapter}{\Huge\bfseries}
\titleformat*{\section}{\large\bfseries}
\usepackage{enotez}
\setenotez{
split-title = <name> <ref> ,
split = chapter ,
list-style = itemize
}
\DeclareTranslation{English}{enotez-chapter}{Chapter}
\renewcommand*\enmark[1]{\llap{#1}}
\usepackage{blindtext}
\begin{document}
\chapter{Introduction}
\blindtext\endnote{\blindtext}
\blindtext\endnote{\blindtext}
\blindtext\endnote{\blindtext}
\blindtext\endnote{\blindtext}
\blindtext\endnote{\blindtext}
\printendnotes
\end{document}
Regards