1

How can I produce this footnote numbering?

Paragraph 1: This is a text [footnote 1]. This is another [footnote 2].
Paragraph 2: I have seen in many books this usage of footnotes [footnote 1 for paragraph 2]. It is good. [footnote 2 for paragraph 2]

---------
1     [1] footnote1
      [2] footnote2

2     [1] footnote1 (for paragraph 2)
      [2] footnote2 (for paragraph 2)
  • You lost me with all the brackets. Would it be sufficient to use 1.1 for first paragraph, first footnote, 1.2 for the second footnote in the first paragraph, and 2.1 for the first footnote in the second paragraph? – John Kormylo Aug 11 '15 at 14:38
  • You are right. Sorry, first time with latex... I try this: – John2 Aug 11 '15 at 14:56
  • \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[greek, english]{babel} \usepackage{bigfoot} \DeclareNewFootnote[para]{B} \begin{document} \paragraph{1} \greektext Είμαστε έτοιμοι; \latintext Text will be the first\footnoteB{a paragraph footnote} text\footnoteB{another one} text\footnoteB+{new paragraph} text\footnoteB{another one} text\footnoteB+{this is in a new paragraph} \paragraph{2} We are all good.\footnote{and yes.} \greektext Αυτά είναι πολύ καλά.\footnote{Είναι δύσκολο.} \end{document} – John2 Aug 11 '15 at 14:58
  • Is it possible to have the paragraph numbering to the left of the footnotes to which are related to? – John2 Aug 11 '15 at 15:01
  • That would be a bit more ambitious. – John Kormylo Aug 11 '15 at 15:28
3

It should be noted that \everypar is used by many packages for their own purposes, and gets set to \relax frequently.

\documentclass{article}
\usepackage[paperwidth=4in,paperheight=3in]{geometry}

\renewcommand{\thefootnote}{\arabic{paragraph}.\arabic{footnote}}

\begin{document}
\everypar{\refstepcounter{paragraph}\setcounter{footnote}{0}}% must be renewed frequently
This is text.\footnote{first paragraph, first footnote}
This is more text.\footnote{first paragraph, second footnote}

This is a new paragraph.\footnote{second paragraph, first footnote}
This is more text.\footnote{second paragraph, second footnote}
\end{document}

small page

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.