LaTeX forum ⇒ Math & Sciencefootnote Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Gvantsa-rx
Posts: 2
Joined: Thu Nov 11, 2021 11:56 am

footnote

Postby Gvantsa-rx » Thu Nov 11, 2021 12:15 pm

Hi everyone,

I have a problem, maybe someone can help me? I need to use * instead of 1 for footnote, just only first one and then it should be counted on... 1, 2, ...
I used this one :

\renewcommand\thefootnote{*}
\footnote{text}
\addtocounter{footnote}{-1}
\renewcommand\thefootnote{\arabic{text}}

but the problem is that, the first footnote is shown *, second is shown as 1. and all following footnotes again as 1.
I'm so unconcentrated, I don't understand where the problem is :roll:

thanks in advance,
Gvantsa

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Ijon Tichy
Posts: 590
Joined: Mon Dec 24, 2018 10:12 am

footnote  Topic is solved

Postby Ijon Tichy » Thu Nov 11, 2021 5:06 pm

Please always try to show a Infominimal working example, because often a good answer depends on what you are really doing. For example, if the first footnote would be part of the title, the following suggestion would not be recommended:
\documentclass{article}

\newcommand*{\firstfootnote}[1]{%
  {\renewcommand*{\thefootnote}{\fnsymbol{footnote}}\footnote{#1}}%
  \setcounter{footnote}{0}%
}
\begin{document}
First\firstfootnote{First footnote}
Second\footnote{Second footnote}
Third\footnote{Third footnote}
\end{document}

instead something line this would be better:
\documentclass{article}

\begin{document}
\title{The title\thanks{With footnote}}
\author{Me}
\maketitle
First\footnote{First footnote}
Second\footnote{Second footnote}
Third\footnote{Third footnote}
\end{document}

And please mark code correctly. Only then the online editor and compiler can be used.

Gvantsa-rx
Posts: 2
Joined: Thu Nov 11, 2021 11:56 am

footnote

Postby Gvantsa-rx » Mon Nov 22, 2021 1:59 pm

Thank you so much for your helpfulness! Everything works perfect.
Thanks and good luck ;)

best regards
Gvantsa


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 3 guests