GeneralRestore the footnote format for minipage

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
csmgroup
Posts: 25
Joined: Sat Jul 17, 2010 6:58 pm

Restore the footnote format for minipage

Post by csmgroup »

The Tufte handout class give a neat layout that shows the footnote at the right hand side not bottom line.

But, when I use the minipage with tufte-handout, and if the minipage has the footnote, the footnote is broken as the attached file.

Is there a way to correct this problem? Is there a way to restore the normal footnote behavior for minipage?

I attach the tufte class just in case.

Code: Select all

Code, edit and compile here:
\documentclass{tufte-handout}
\usepackage{tikz}
\newcommand{\clj}{\textcolor{blue}{\textsc{clojure}}}
\title{Week 31, August$^{1st}$ 2010}
\newlength{\RoundedBoxWidth}
\newsavebox{\GrayRoundedBox}
\newenvironment{GrayBox}[1][\dimexpr\textwidth-4.5ex]%
{\setlength{\RoundedBoxWidth}{\dimexpr#1}
\begin{lrbox}{\GrayRoundedBox}
\begin{minipage}{\RoundedBoxWidth}}%
{ \end{minipage}
\end{lrbox}
\begin{center}
\begin{tikzpicture}%
\draw node[draw=black,fill=black!10,rounded corners,%
inner sep=2ex,text width=\RoundedBoxWidth]%
{\usebox{\GrayRoundedBox}};
\end{tikzpicture}
\end{center}}
\begin{document}
\vskip2ex
\begin{GrayBox}[1.2\textwidth]
The caller uses `use' to use \verb|CLASSPATH/hello.clj|. Now, it's OK to call
the (hi).\footnote{hello}
\end{GrayBox}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attachments
Archive.zip
(16.8 KiB) Downloaded 165 times
Screen shot 2010-08-03 at 12.03.00 AM.png
Screen shot 2010-08-03 at 12.03.00 AM.png (11.57 KiB) Viewed 3321 times
Last edited by csmgroup on Wed Aug 04, 2010 2:31 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Restore the footnote format for minipage

Post by localghost »

Try \footnotemark and \footnotetext and see what happens.


Best regards
Thorsten
csmgroup
Posts: 25
Joined: Sat Jul 17, 2010 6:58 pm

Restore the footnote format for minipage

Post by csmgroup »

Thanks for the answer.

The \footnotetext{...} gives me the correct footnote content, but the number is not shown at the bottom, and even when I give the page number as \footnotetext[\thefootnote]{hello} the number is shown in alphabetical form. And even, it gives me the error message -

Code: Select all

Code, edit and compile here:
l.29 The caller\footnotemark{\value{footnote}}
\footnotetext[2]{hello} uses `...
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Code: Select all

Code, edit and compile here:
\documentclass{tufte-handout}
\usepackage{tikz}
\newcommand{\clj}{\textcolor{blue}{\textsc{clojure}}}
\title{Week 31, August$^{1st}$ 2010}
\newlength{\RoundedBoxWidth}
\newsavebox{\GrayRoundedBox}
\newenvironment{GrayBox}[1][\dimexpr\textwidth-4.5ex]%
{\setlength{\RoundedBoxWidth}{\dimexpr#1}
\begin{lrbox}{\GrayRoundedBox}
\begin{minipage}{\RoundedBoxWidth}}%
{ \end{minipage}
\end{lrbox}
\begin{center}
\begin{tikzpicture}%
\draw node[draw=black,fill=black!10,rounded corners,%
inner sep=2ex,text width=\RoundedBoxWidth]%
{\usebox{\GrayRoundedBox}};
\end{tikzpicture}
\end{center}}
\begin{document}
hello\footnote{experiment}
%\newcounter{\myfootnote}
%\setcounter{\myfootnote}{\value{footnote}}
\vskip2ex
\begin{GrayBox}[1.2\textwidth]
The caller\footnotemark{\value{footnote}}\footnotetext{hello} uses `use' to use \verb|CLASSPATH/hello.clj|. Now, it's OK to call
the (hi).%\footnotemark[\value{\myfootnote}]
\end{GrayBox}
hello\footnote{experiment again}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attachments
Screen shot 2010-08-03 at 8.35.49 AM.png
Screen shot 2010-08-03 at 8.35.49 AM.png (6.99 KiB) Viewed 3314 times
Screen shot 2010-08-03 at 8.35.34 AM.png
Screen shot 2010-08-03 at 8.35.34 AM.png (7.25 KiB) Viewed 3314 times
csmgroup
Posts: 25
Joined: Sat Jul 17, 2010 6:58 pm

Restore the footnote format for minipage

Post by csmgroup »

Stefan answered this question here. The quick answer is

Code: Select all

\let\thempfootnote\thefootnote
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Post Reply