summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/etoc/etocsnippet-10.tex
blob: b9b14b5ab23ea981dd0c67b604eaab9cf67f21e1 (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 2019/11/17.
%%
\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}