Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!zandtwerk!tvz From: tvz@zandtwerk.Princeton.EDU (Timothy Van Zandt) Newsgroups: comp.text.tex Subject: Re: Tables in LaTEX? Keywords: LaTEX, table, footnote, caption Message-ID: <8664@idunno.Princeton.EDU> Date: 24 Apr 91 12:50:24 GMT References: <1991Apr23.200105.14819@midway.uchicago.edu> Sender: news@idunno.Princeton.EDU Organization: Princeton University, Princeton NJ Lines: 90 In article <1991Apr23.200105.14819@midway.uchicago.edu> ppalmer@oskar.uchicago.edu (Patrick Palmer) writes: >I am trying to make footnotes in a table in LaTEX, and having no luck. >I am using the table environment, and tried to put in footnotes just >as one would in text. The numbers denoting footnotes appear in the >right places, but the footnotes do not appear. (Since I want the table >on a separate page, I am making it float, but it the footnotes don't >footnotes don't come out even if I forget about float.) The little bit >on footnotes in tables on Page 99 of the Lamport book is enough to >indicate that it is possible, but not enough to help me figure out >how. The bit about footnotes in tables on page 99 is for putting the footnote at the bottom of the table, rather than at the bottom of the page. This is the correct style according to the Chicago Manual of Style. The procedure is to put the contents of the table in a minipage. I.e., you should have \begin{table} \begin{minipage}{\textwidth} \end{minipage} \caption{blah blah} \end{table} Since you are likely to be making boxes in the table, you should read Section C.2.3 about how to put footnotes in boxes. This is also how you would put a footnote in a table and have the footnote appear at the bottom of the page, although you will have trouble keeping the footnote and the table on the same page if the table floats, and this really is not standard style. (It would look especially wierd if you are using special footnote symbols, rather than the regular sequence of symbols.) >Second, I don't want to use numbers for the footnote symbol anyway. >(Numbers make the meaning ambiguous.) I thought one could choose the >symbol, but it seems you can only do so in mathmode? The footnote symbol is usually the value of \thefootnote, but in the minipage environment, it is the value of \thempfootnote. This is set by default to \alph{mpfootnote}, so that small letters a, b, ... are used as footnote markers. If you want to use a succession of asterisks, daggers and so forth, put \def\thempfootnote{\fnsymbol{mpfootnote}} at the beginning of the minipage environment, or put it in the preamble so that it applies to all minipage environments. If you want to put some other symbol, then put \def\markedmpfootnote#1#2{{\def\thempfootnote{#1}\footnote[1]{#2}}} in the preamble, and to use @ as a footnote symbol, use blah blah\markedmpfootnote{@}{See also column 5 above.} blah blah (I haven't tried this in the minipage environment, but I think it will work.) If you are putting the footnotes at the bottom of the page, then eliminate mp from each of the commands given above. >Third, how does one control the size of type in caption of the table? >It comes out smaller than the text and the contents of the table. You need to put some font or size changing commands in the definition of \@makecaption. I put the following in a style file \long\def\@makecaption#1#2{% \vskip 10pt \setbox\@tempboxa\hbox{{\captionfontone #1:} {\captionfonttwo #2}} \ifdim \wd\@tempboxa >\hsize {\captionfontone #1:} {\captionfonttwo #2}\par \else \hbox to\hsize{\hfil\box\@tempboxa\hfil} \fi} so that I can set the caption fonts freely. For example: \def\captionfontone{\large} \def\captionfonttwo{\large} Hope this helps. Tim Van Zandt tvz@princeton.edu