Skip to content

Commit 8786ab0

Browse files
committed
Add phantomsection before List of Things, so TOC will link to the proper page.
1 parent 27ab51e commit 8786ab0

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

elteiktdk.cls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@
448448
% ------------------------------
449449
% Fedőlap
450450
\newcommand{\makecover}{
451+
\phantomsection
451452
\thispagestyle{empty}
452453
\begin{center}
453454
\vspace*{\fill}

tdk.pdf

511 Bytes
Binary file not shown.

tdk.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,24 +91,28 @@
9191

9292
% Irodalomjegyzék (kötelező)
9393
% Bibliography (mandatory)
94+
\phantomsection
9495
\addcontentsline{toc}{chapter}{\biblabel}
9596
\printbibliography[title=\biblabel]
9697
\cleardoublepage
9798

9899
% Ábrajegyzék (opcionális) - 3-5 ábra fölött érdemes
99100
% List of figures (optional) - useful over 3-5 figures
101+
\phantomsection
100102
\addcontentsline{toc}{chapter}{\lstfigurelabel}
101103
\listoffigures
102104
\cleardoublepage
103105

104106
% Táblázatjegyzék (opcionális) - 3-5 táblázat fölött érdemes
105107
% List of tables (optional) - useful over 3-5 tables
108+
\phantomsection
106109
\addcontentsline{toc}{chapter}{\lsttablelabel}
107110
\listoftables
108111
\cleardoublepage
109112

110113
% Forráskódjegyzék (opcionális) - 3-5 kódpélda fölött érdemes
111114
% List of codes (optional) - useful over 3-5 code samples
115+
\phantomsection
112116
\addcontentsline{toc}{chapter}{\lstcodelabel}
113117
\lstlistoflistings
114118
\cleardoublepage

0 commit comments

Comments
 (0)