mirror of https://git.robertalessi.net/icite
updated etoc settings
This commit is contained in:
parent
9e6fb0eba8
commit
58bdee4b16
14
icite.dtx
14
icite.dtx
|
@ -180,7 +180,7 @@
|
|||
\usepackage{fontspec}
|
||||
\usepackage[american]{babel}
|
||||
\usepackage[letterpaper,margin=25mm,left=50mm,nohead]{geometry}
|
||||
\babelfont{rm}{Old Standard}
|
||||
\babelfont{rm}[RawFeature=onum]{Old Standard}
|
||||
\babelfont{sf}{NewComputerModernSans10}
|
||||
\babelfont{tt}{NewComputerModernMono10}
|
||||
\usepackage{arabluatex}
|
||||
|
@ -315,26 +315,30 @@
|
|||
{\marginpar{\hfill\emph{New feature} #1}}%
|
||||
\ignorespaces
|
||||
}
|
||||
|
||||
\usepackage{etoc}
|
||||
\etocsettocdepth{paragraph}
|
||||
\makeatletter
|
||||
\newcommand{\icitetableofcontents}{%
|
||||
\begingroup
|
||||
\etocsetstyle{section}{}{}
|
||||
{\etocsavedsectiontocline{%
|
||||
{\l@section{%
|
||||
\numberline{\etocnumber}\etocname}{\etocpage}}{}
|
||||
\etocsetstyle{subsection}{}{}
|
||||
{\etocsavedsubsectiontocline{%
|
||||
{\l@subsection{%
|
||||
\numberline{\etocnumber}\etocname}{\etocpage}}{}%
|
||||
\etocsetstyle{subsubsection}{}{}
|
||||
{\etocsavedsubsubsectiontocline{%
|
||||
{\l@subsubsection{%
|
||||
\numberline{\etocnumber}\etocname}{\etocpage}}{}%
|
||||
\etocsetstyle{paragraph}{}{\leftskip2cm\rightskip 2.2em \parfillskip
|
||||
0pt plus 1fil\relax \nobreak}
|
||||
{\noindent\etocname{} \etocpage{} }{\par}%
|
||||
\etocmulticolstyle[2]{\section*{Contents}}
|
||||
\pdfbookmark[1]{Contents}{toc}
|
||||
\tableofcontents
|
||||
\etoctoclines
|
||||
\localtableofcontents
|
||||
\endgroup}
|
||||
\makeatother
|
||||
\EnableCrossrefs
|
||||
%\CodelineIndex
|
||||
\RecordChanges
|
||||
|
|
Loading…
Reference in New Issue