I wrote the following code:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsfonts}
\usepackage{footnote}
\usepackage[italian]{babel}
\usepackage{soul}
% serve (forse insieme a graphicx) per aggiungere freccia e testo/equazione sopra segno uguale =
\usepackage{mathtools}
% serve per plottare freccia grande, vuota, ruotata (vedi file: quadrato con frecce)
\newcommand{\eqstackrel}[1]{\stackrel{\substack{\mathclap{#1}\\[0.5ex]\displaystyle\uparrow\\ ~}}{ = } }
%serve per aggiungere testo sopra segno uguale =
\title{\textbf{Elementi di Calcolo delle Probabilità}}
\author{}
\date{}
\begin{document}
\maketitle %serve per stampare il titolo ed eventualmente altro
Ecco del testo\footnote{Ecco una nota al testo.}
\begin{align}
P(R_2 | B_1) &= \left( 1 - P(R_1 | R_2) \right) \frac{P(R_2)}{1 - P(R_1)}
\eqstackrel{P(B | A) = P(B) \quad \text{rel. 126 a pag. 49}}
\\
&= \left( 1 - P(R_1) \right) \frac{P(R_2)}{1 - P(R_1)} \\
&= P(R_2)
\eqstackrel{\text{per hp\footnotemark}}
\\
&= \frac{R}{R + B}
\end{align}
\footnotetext{aaa}
\end{document}
The problem is that the footnote has a wrong number; in particular the previous footnote has the number 1, instead the footnote introduced by footmark has the number 4. How can I fix it?
\documentclass
, the\usepackage
used, etc. so that we could compile directly...\bigl(
and\bigr)
instead of\left(
and\right)
in your case.\left(
and\right)
, the exterior brackets have the same size as the interior ones. For a good mathematical notation, you have to fix the sizes of the brackets 'by hand'.