[texhax] How to insert table note in longtable?

Uwe Lück uwe.lueck at web.de
Sat Jun 3 18:11:15 CEST 2006


In my previous posting I had forgotten that you have given
an example, sorry. Now I have tried it -- the footnote appears
on the first page! Do you have a recent version of longtable?
If you do, you might try another system. Perhaps you
haven't told the whole story. E.g., a footnote can go to
the next page if you precede \footnote with \pagebreak
in the same line, even \nopagebreak[3] can have the same
effect -- cf. TeXbook Exercise 15.13. Or \marginpar can
drag footnotes to later pages, due to a bug in LaTeX's output
routine.

-- Uwe Lueck

At 15:47 22.05.06, Alex Pivovarov wrote:
>Sometimes I need to insert notes under table.
>
>Table comtains list of machine parts.
>Somemes I need to add note about some machine part. The note should be
>place on the same page in table note area (under the table, on this
>page).
>
>--------------------------------------------------
>there is my document (it contains one picture {pic17282} ) :
>---------------------------------------------------
>
>\documentclass[a4paper,landscape]{letter}
>
>\usepackage{longtable}
>\usepackage{fullpage}
>\usepackage{eso-pic}
>\usepackage{graphicx}
>\usepackage[dvips]{geometry}
>
>         \addtolength{\oddsidemargin}{-.875in}
>         \addtolength{\evensidemargin}{-.875in}
>         \addtolength{\textwidth}{1.75in}
>
>         %\addtolength{\topmargin}{-.5in}
>         \addtolength{\textheight}{.5in}
>
>% `rose.eps' from CTAN: macros/generic/boxedeps/
>\newcommand\BackgroundPicture{%
>    \put(50,0){%
>      \parbox[b][\paperheight]{\paperwidth}{%
>        \vfill
>        %\centering
>        \includegraphics{pic17282}%
>        \vfill
>      }}}
>% The picture is centered on the page background
>
>\AddToShipoutPicture{\BackgroundPicture}
>
>\begin{document}
>
>\title{Examples}
>
>
>\begin{longtable}[r]{|p{6mm}|p{22mm}|p{22mm}|p{40mm}|}
>
>\hline \multicolumn{1}{|c|}{\textbf{ITEM}} &
>\multicolumn{1}{c|}{\textbf{PART NO}} &
>\multicolumn{1}{c|}{\textbf{CHANGE NO}} &
>\multicolumn{1}{c|}{\textbf{DESCRIPTION}} \\ \hline
>\endfirsthead
>
>\hline \multicolumn{1}{|c|}{\textbf{ITEM}} &
>\multicolumn{1}{c|}{\textbf{PART NO}} &
>\multicolumn{1}{c|}{\textbf{CHANGE NO}} &
>\multicolumn{1}{c|}{\textbf{DESCRIPTION}} \\ \hline
>\endhead
>
>\hline \multicolumn{4}{|l|}{{Note:}} \\ \hline
>         \endfoot
>
>\hline \multicolumn{4}{|l|}{{Note:}} \\ \hline
>\endlastfoot
>
>1  & 1H0 455 333 & 1H0 455 233A & Comperssor \\
>2  & 1H0 455 334 & & \\
>3  & 1H0 455 335& & \\
>4  & 1H0 455 336& & \\
>5  & 1H0 455 337& & \\
>6  & 1H0 455 338& & \\
>7  & 1H0 455 339& & Some part\footnote[1]{} \\
>8  & & & \\
>9  & & & \\
>10  & & & \\
>11  & & & \\
>12  & & & \\
>13  & & & \\
>14  & & & \\
>15  & & & \\
>16  & & & \\
>17  & & & \\
>17A  & & & \\
>18 & & & \\
>18A  & & & \\
>19  & & & \\
>19A  & & & \\
>20  & & & \\
>20A  & & & \\
>21  & & & \\
>21A & & & \\
>22 & 1H0 988 233 & 1H0 122 453A & Hex head bolt 45x6mm \\
>23 & & & \\
>24 & & & \\
>24A & & & \\
>25 & & & \\
>25A & & & \\
>26 & & & \\
>27 & & & \\
>27A & & & \\
>28 & 1H0 233 189A &  & Nut \\
>28A & & & \\
>
>
>\end{longtable}
>
>
>\end{document}
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org



More information about the texhax mailing list