diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/etoc/etocsnippet-46.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/etoc/etocsnippet-46.tex | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/etoc/etocsnippet-46.tex b/Master/texmf-dist/doc/latex/etoc/etocsnippet-46.tex new file mode 100644 index 00000000000..7e36c0a5923 --- /dev/null +++ b/Master/texmf-dist/doc/latex/etoc/etocsnippet-46.tex @@ -0,0 +1,23 @@ +%% LaTeX2e file `etocsnippet-46.tex' +%% generated by the `filecontentshere' environment +%% from source `etoc' on 2019/11/17. +%% +\etocruledstyle[2]{\normalfont\normalsize\rmfamily\itshape + \fbox{\parbox{.6\linewidth}{ + \leftskip 0pt plus .5fil + \rightskip 0pt plus -.5fil + \parfillskip 0pt plus 1fil This is the global table of + contents on two columns, using \etoc default line styles, but with + sections as chapters, and subsections as sections. + }}} +\etocdefaultlines +\etocsetnexttocdepth{1} +\begingroup +\etocsetlevel{section}{0} +\etocsetlevel{subsection}{1} +\renewcommand*{\etocfontone}{\normalfont \normalsize} +\renewcommand*{\etoctoclineleaders} + {\hbox{\normalfont\normalsize\hbox to 1ex {\hss.\hss}}} +\sloppy +\tableofcontents +\endgroup |