diff --git a/dottes.tex b/dottes.tex index fce4a05..3c0a7ef 100644 --- a/dottes.tex +++ b/dottes.tex @@ -52,16 +52,14 @@ \vfill \begin{center} \phantomsection + \addcontentsline{toc}{section}{#2} \begin{tabular*}{\textwidth}{@{} p{0.25\textwidth} @{\extracolsep{\fill}} c >{\raggedleft\arraybackslash}p{0.25\textwidth} @{}} - & \Large{#2} & \emph{#4} \\ + & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\ \ifemptyarg{#3}{}{% & #3 & \\ }% \end{tabular*} - \hypertarget{#1}{% - \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} - } - \addcontentsline{toc}{section}{#2} + \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} \end{center} \ifemptyarg{#8}{}{% From {#8}.