Page LayoutAlternative Format for the Footnote Numbering

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
eilonsolan
Posts: 4
Joined: Tue Aug 27, 2013 3:20 pm

Alternative Format for the Footnote Numbering

Post by eilonsolan »

The number of a footnote appears as a superscript. I would like it to appear in footnote size and not as a superscript, but as part of the text (to those who wonder why, this is how the publisher wants it to look like). Anyone knows how to do that?

I tried this but the footnote still appears in superscript.

Code: Select all

\renewcommand{\thefootnote}{{\scriptsize\arabic{footnote}}}
I use the article class.

Thanks,
Eilon
Last edited by localghost on Tue Aug 27, 2013 6:32 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Alternative Format for the Footnote Numbering

Post by localghost »

It's a bit complicated, but not impossible.

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}

\makeatletter
\def\@makefnmark{\hbox{\normalfont\scriptsize\@thefnmark}}
\long\def\@footnotetext#1{\insert\footins{%
    \reset@font\footnotesize
    \interlinepenalty\interfootnotelinepenalty
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
    \hsize\columnwidth \@parboxrestore
    \protected@edef\@currentlabel{%
       \csname p@footnote\endcsname\@thefnmark
    }%
    \color@begingroup
      \@makefntext{%
        \rule\z@\footnotesep\ignorespaces\enspace#1\@finalstrut\strutbox}%
    \color@endgroup}}%
\makeatother

\begin{document}
  Text \footnote{Footnote}.
\end{document}
With a class from KOMA-Script it would be a bit easier.


Best regards and welcome to the board
Thorsten
eilonsolan
Posts: 4
Joined: Tue Aug 27, 2013 3:20 pm

Re: Alternative Format for the Footnote Numbering

Post by eilonsolan »

Thanks, Thorsten!
One issue
The footnotemark also appears in script size, and this makes realizing that it means a reference to a footnote challenging. I would like the footnotemark to be in superscript, while the number in the footer just before the footnote itself to appear in script size. Is that possible?
Thanks again,
Eilon
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Alternative Format for the Footnote Numbering

Post by localghost »

I always forget that KOMA-Script contains the scrextend package, which lets you use some features in other classes. This package makes the task quite easy.

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{scrextend}

% Footnote mark in text
\deffootnotemark{\textsuperscript{\thefootnotemark}}

% Footnote mark in footer
\deffootnote{2em}{1.5em}{\scriptsize\thefootnotemark\enskip}

\begin{document}
  Text\footnote{Footnote.}.
\end{document}
Details about the package features can be found in the KOMA-Script user guide.


Addendum:

An additional solution without any package.

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}

\makeatletter
\long\def\@makefntext#1{%
  \parindent 1em\noindent \hb@xt@ 1.8em{\hss \normalfont\scriptsize\@thefnmark}\enskip #1}
\makeatother

\begin{document}
  Text\footnote{Footnote}.
\end{document}
My first approach was too complicated and not thought out very well.
eilonsolan
Posts: 4
Joined: Tue Aug 27, 2013 3:20 pm

Re: Alternative Format for the Footnote Numbering

Post by eilonsolan »

Thanks, this does the trick.
Eilon
Post Reply