summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
blob: 2f810d7035450b479e0923c5cbc8781d0e85ba90 (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/09/23.
%%
\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}