TransWikia.com

Footnote without reference

TeX - LaTeX Asked by Saurus on August 11, 2021

I am currently writing my bachelor thesis with LaTeX and I want a footnote without a reference. I used a blank footnote with:

    begingroup
    renewcommandthefootnote{}footnote{#1}%
    addtocounter{footnote}{-1}%
    endgroup}

It makes me a footnote at the end of a page without a number as I wish, but then a red box appears at the end of the page in the pdf. With footnotetext, I can create a footnote without the reference, but it needs a number. Is there an option to get rid off the reference AND the number?

Currently its like this: (I need the hyperref-package for url and references and the other footnotes)

documentclass[a4paper, 12pt, bibtotocnumbered]{scrartcl}
usepackage{hyperref}
newcommandblfootnote[1]{%
    begingroup
    renewcommandthefootnote{}footnote{#1}%
    addtocounter{footnote}{-1}%
    endgroup
}
begin{document}
I want a footnote without reference and without a number.blfootnote{This creates a footnote without number but with reference.}
end{document}

2 Answers

Adding the hidelinks option to hyperref in your preamble should do the trick (see here). Put into a MWE:

documentclass[a4paper, 12pt, bibtotocnumbered]{scrartcl}
usepackage[
hidelinks % hide link outlines
]{hyperref}
newcommandblfootnote[1]{%
    begingroup
    renewcommandthefootnote{}footnote{#1}%
    addtocounter{footnote}{-1}%
    endgroup
}
begin{document}
I want a footnote without reference and without a number.blfootnote{This creates a footnote without number but with reference.}
end{document}

Answered by CatThatKilledCuriosity on August 11, 2021

Here, freefootnote will create the desired footnote without a number and without a link. As shown in the MWE, it does not interfere with the use of linked, numbered footnotes elsewhere in the document.

documentclass[a4paper, 12pt, bibtotocnumbered]{scrartcl}
usepackage{hyperref}
letsvthefootnotethefootnote
newcommandfreefootnote[1]{%
  letthefootnoterelax%
  footnotetext{#1}%
  letthefootnotesvthefootnote%
}
begin{document}
I want a footnote without reference and without a number.%
freefootnote{This creates a footnote without number 
  and no longer with reference.}

Regular footnote.footnote{Test}
end{document}

enter image description here

enter image description here

Answered by Steven B. Segletes on August 11, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP