young@emx.utexas.edu (Young U. Ryu) (09/15/90)
In article <37040@ut-emx>, I have posted: | |I would like to place footnotes just below |tables and figures. A good example is the table |in Page 162 of LaTeXbook. | |I have tried "minipage" environment (together with |a re-definition of \footnoterule), but I could not |get footnotes in the table in Page 612 of LaTeX book. | piet@cs.ruu.nl (Piet* van Oostrum) suggested: > \begin{table} > \begin{minipage}{5cm} > \begin{tabular}{ccc} > AAAAA & BBBBB\footnote{this is a footnote} & CCCC \\ > DDDDD & EEEEE & FFFFF > \end{tabular} > \end{minipage} > \end{table} As a matter of fact, that's what I have tried; but the result was not what I want (e.g. the table in Page 612 of LaTeX book). In order to remove the footnote ruke, I redefined \footnoterule. It was OK. But I could not adjust vspace before the footnote and left indent before the footnote mark. Young @ Univ. of Texas at Austin (young@emx.utexas.edu)
piet@cs.ruu.nl (Piet van Oostrum) (09/17/90)
In article <37203@ut-emx>, young@emx (Young U. Ryu) writes: | |In order to remove the footnote ruke, |I redefined \footnoterule. It was OK. |But I could not adjust vspace before the footnote and |left indent before the footnote mark. OK, it wasn't clear from you first question that THAT was the problem. 1. Vertical space is specified in the latex style files as \skip\@mpfootins. You can easily compensate for that by redefining \renewcommand {\footnoterule} {\unskip} Note that this is a hack. The rules are that \footnoterule should occupy zero vertical space. But that doesn't seem to matter in a minipage. In a normal page it would confuse the output routine. The horizontal space is hardwired in the style file, e.g. in article.sty: \long\def\@makefntext#1{\parindent 1em\noindent \hbox to 1.8em{\hss$^{\@thefnmark}$}#1} ^^^^^ change this to your taste or leave it out completely. This is my new try: \documentstyle{article} \begin{document} \begin{minipage}{7cm} \makeatletter \long\def\@makefntext#1{\noindent $^{\@thefnmark}$#1} \makeatother \renewcommand {\footnoterule} {\unskip} \begin{tabular}{|c|c|c|} \hline AAAAA & BBBBB\footnote{this is a footnote} & CCCC \\ \hline DDDDD & EEEEE & FFFFF \\ \hline \end{tabular} \end{minipage} \end{document} -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete')