LaTeX forum ⇒ Page LayoutInclude whole the word by hyperreference Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
ciema7
Posts: 10
Joined: Sat Nov 10, 2018 2:31 am

Include whole the word by hyperreference

Postby ciema7 » Tue Dec 04, 2018 4:36 am

Hello,

I have some problems with my table of contents - I mean I do not know how to mark whole word "Literatura" by the hyperreference. I just want the whole word of the literature to be a footnote (please see attached photo).

Here is my code for the part with Bibliography:

  1. \renewcommand\bibname{Literatura}
  2. \renewcommand{\bibpreamble}{\vskip0.7cm}
  3. \nocite{*}
  4. \bibliographystyle{plain}
  5. \addtocontents{toc}{\protect\addvspace{8pt}}
  6. \phantomsection
  7. \addcontentsline{toc}{section}{\numberline\bibname}
  8. \bibliography{collectio}
  9. \end{document}
Attachments
liter.png
liter.png (14.16 KiB) Viewed 127 times
Last edited by Stefan Kottwitz on Tue Dec 04, 2018 5:40 am, edited 1 time in total.
Reason: code marked

User avatar
Stefan Kottwitz
Site Admin
Posts: 9203
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Dec 04, 2018 5:40 am

Hi,

do you have code that can be tested? Like a reduced document code copy, that shows the issue. With those few lines I cannot verify the issue.

Stefan
Site admin

User avatar
Johannes_B
Site Moderator
Posts: 3907
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Dec 04, 2018 7:53 am

Try without the \numberline
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

ciema7
Posts: 10
Joined: Sat Nov 10, 2018 2:31 am

Postby ciema7 » Tue Dec 04, 2018 11:40 am

Thank You Stefan Kottwitz & Johannes_B for help. Johannes_B: the solution You presented was OK, problem disappeared.


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 1 guest