Welcome to the TeXnik website (under construction) Footnotes/Endnotes |
||||||||||||||||||
|
Bibliography as Footnotes |
Crossref for Footnotes |
Endnotes |
Footnotes and floats |
Footnotes at the bottom of the page |
Footnote not on two pages |
Footnotes with fancyhdr |
Footnote in tables |
Footnote behind tables |
Footnotemark |
Indentation of Footnotetext |
References for Footnotes |
Space between Text and Footnote |
FootnotemarkThe following always in latex preamble:
Crossreferences of Footnotesin latex preamble:\newcommand\sups[1]{\hbox{\textsuperscript{\normalfont #1}}}in text in tex (red): \sups{<insert the crossref>}
Footnote not on two pagesTo prevent footnotes to be placed on two pages, you can use \interfootnotelinepenalty=10000 in latex preamble.
Footnotes in floatsLatex only supports floating figures/tables/algorithms, but no floating footnotes. You can insert the footnote anyway, but it's often not on the same page!!!\addtocounter{footnote}{-n} \stepcounter{footnote}\footnotetext{... the footnotetext ...} \stepcounter{footnote}\footnotetext{... the next footnotetext ...} ...n is the number of footnotes in your float, e.g. 2.
Indentation of Footnotetext By default footnotes are indented like the following one:
---------------------------- 1 This is a footnotetext with a not so long text.with \usepackage[flushmargin]{footmisc}in latex preamble you'll get no indentation: ---------------------------- 1 This is a footnotetext with a not so long text. 2 anotheroneThe number is outside the left margin!! If you want it like ---------------------------- 1 This is a footnotetext with a not so long text. 2 anotheronewith the number inside the textarea, write in LaTeX preamble: \makeatletter \newlength{\myFootnoteWidth} \newlength{\myFootnoteLabel} \setlength{\myFootnoteLabel}{1.2em}% <-- can be changed to any valid value \renewcommand{\@makefntext}[1]{% \setlength{\myFootnoteWidth}{\columnwidth}% \addtolength{\myFootnoteWidth}{-\myFootnoteLabel}% \noindent\makebox[\myFootnoteLabel][r]{\@makefnmark\ }% \parbox[t]{\myFootnoteWidth}{#1}% } \makeatotherThe package footmisc may be part of the local TeX-installation, but also available at CTAN The only problem is the thanks-footnote on the title-page. latex resets the footmisc-settings, so that this footnote has the indentation. With the package myThanks you can suppress this too. Put this stylefile anywhere in your latex tree and run texhash.
Footnote at the bottom of the page
Sometimes the footnotes don't appear at the bottom of the page. Than you have to use the footmisc-package: \usepackage[bottom]{footmisc}The package footmisc may be part of the local TeX-installation, but also available at CTAN
space between text and footnote \makeatletter \renewcommand\footnoterule{% \vspace{1em}% <-- one line space between text and footnoterule \kern-3\p@\hrule\@width.4\columnwidth% \kern2.6\p@} \makeatotherin latex preamble
Endnotes Package endnotes for end-footnotes. it should be part of the installed LaTeX or available at CTAN. % To turn all the footnotes in your documents into endnotes, say % % \let\footnote=\endnote % % in your preamble, and then add something like % % \newpage % \begingroup % \parindent 0pt % \parskip 2ex % \def\enotesize{\normalsize} % \theendnotes % \endgroup % % as the last thing in your document (just at the place for the endnotes).By default the caption for the endnotes is "Notes". You can change this with \renewcommand\notesname{your language specific notesname}This command has to placed behind the \usepackage{endnotes}! |