summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
blob: 04328e2104aa14f2c6bf2291b48399cf0bd76f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%% LaTeX2e file `etocsnippet-10.tex'
%% generated by the `filecontentsdef' environment
%% from source `etoc' on 2021/07/13.
%%
\begin{figure}[ht!]
  \centering
  \begingroup
  \etocstandardlines
  \renewcommand{\etocbkgcolorcmd}{\color{green!5}}
  \renewcommand{\etocbelowtocskip}{0pt\relax}
  \fboxsep1ex
  \etocframedstyle [1]{\fbox{\makebox[.5\linewidth]{\etocfontminusone
        \hyperref[toc:c]{I am from far away}}}}
  \tableofcontents \label{toc:d} \ref{toc:c}
  \endgroup
\end{figure}