diff options
authorGravatar √Čtienne Deparis 2019-08-14 21:38:08 +0200
committerGravatar √Čtienne Deparis 2019-08-14 21:38:08 +0200
commitd17ca5aaec764254e35dda0dcb27ae58bfb0f10b (patch)
parent6b7a9fe6733dea4720b0e4f328dc4a51fb81b196 (diff)
Document the use of footnotesHEADmaster
-rw-r--r--awesomebox.pdfbin52565 -> 54269 bytes
3 files changed, 40 insertions, 1 deletions
diff --git a/awesomebox.pdf b/awesomebox.pdf
index 10b721d..6c38487 100644
--- a/awesomebox.pdf
+++ b/awesomebox.pdf
Binary files differ
diff --git a/awesomebox.tex b/awesomebox.tex
index 45e6181..7bdd0af 100644
--- a/awesomebox.tex
+++ b/awesomebox.tex
@@ -357,7 +357,36 @@ or environments. Its default value is the following (to match the one
defined by AsciiDoctor) and you can change it this way:
-\section{With other environments}
+\section{In the wild}
+\subsection{Compatibility with inline commands}
+Awesome boxes are drawn with the help of a \texttt{tabular}
+environment. All the glitches that you may encounter with tables will
+happen with awesomebox too. Good news is, the respective solution work
+For exemple, footnotes are known to behave badly with tables: the
+upraised number will appear, but the footnote definition will never be
+appended at the end of the page. To fix that, either for tables or for
+awesomeboxes, you should follow
+ answer on StackOverflow} and use the \texttt{footnote} package
+alongside the command \texttt{\textbackslash
+ make\-save\-note\-env\{tabular\}}.
+ \documentclass{article}
+ \usepackage{footnote}
+ \makesavenoteenv{tabular}
+ \begin{document}
+ \begin{noteblock}
+ Content\footnote{footnote text}
+ \end{noteblock}
+ \end{document}
+\subsection{Compatibility with other environments}
Awesome boxes may be used in any other environments, like in a list.
diff --git a/test.tex b/test.tex
index e6edc72..7826b2e 100644
--- a/test.tex
+++ b/test.tex
@@ -14,6 +14,10 @@
+% Allow footnotes to escape awesomebox
\section{Automatic width detection in list}
@@ -32,6 +36,12 @@
+\section{What about footnotes?}
+I can't get a \verb|\footnote|!\footnote{Can I?}
\section{With custom width declared mid document}