I would like to write a theorem inside a footnote: the statement is not important in the main text, but I'd like to add it as a note.
If I simply add a \begin{theorem} statement \end{theorem}
, latex (correctly) adds a vertical space after the note number, but I'd like the head "Theorem" and the statement to be right after the number.
How can I do this? I tried with some negative vertical space in a \newtheoremstyle
(see below), but it does not work, and I think there is a better solution than manually imitating it with \textbf
and so on (as I did to create the last picture).
\newtheoremstyle{thminfootnote}
{-2cm} % Space above
{} % Space below
{} % Body font
{} % Indent amount
{\bfseries} % Theorem head font
{.} % Punctuation after theorem head
{.5em} % Space after theorem head
{} % Theorem head spec (can be left empty, meaning `normal')
I've done some research online, but I've managed to find just footnotes inside theorems or other environments, which is quite the opposite of what I'm looking for.
Here is my MWE (not working, actually), the screenshot of the PDF, and what i'd like.
\documentclass{article}
\usepackage{amsmath}
\newtheorem{theorem}{Theorem}
\begin{document}
By Pythagorean Theorem\footnote{
\begin{theorem}[Pythagoras's]
Given $a,b,c$ sides of a right triangle, we have $a^2+b^2=c^2$.
\end{theorem}} we can conclude that...
\end{document}
How it should be:
\footnote{Theorem Wombat: All Wombats are cuddly}
. – Johannes_B Oct 29 '17 at 11:37\footnote{{\bfseries Theorem (Wombat)}\hspace{.5em}All Wombats are cuddly.}
– Johannes_B Oct 29 '17 at 11:42