I am using a footnote inside makecell inside a longtable and while the footnote's counter is displayed, the text does not appear at the end of the page. Here's a MWE  \documentclass{article}  \usepackage{longtable} \usepackage{makecell}  \title{A longtable example}  \begin{document}  \begin{center} \begin{longtable}{|l|l|l|} \caption{A sample long table.} \label{tab:long} \\  \hline \multicolumn{1}{|c|}{\textbf{First column}} &amp; \multicolumn{1}{c|}{\textbf{Second column}} &amp; \multicolumn{1}{c|}{\textbf{Third column}} \\ \hline  \endfirsthead  One &amp; \makecell{abcdef\footnote{Test2} \\ ghjijklmn} &amp; 123.456778 \\  \end{longtable} \end{center}  \end{document}
122833
\documentclass{report} \begin{document} Text\footnote{text1} Text\footnote{text2}  \vbox{% \begin{itemize} \item X\footnotemark{} \item Y\footnotemark{} \item Z\footnotemark{} \end{itemize} } \footnotetext{a} \footnotetext{b} \footnotetext{c} \end{document}   generates:  Text^1 Text^2  * X^3 * Y^4 * Z^5  ------------- 1 text1 2 text2 5 a 5 b 5 c   How to recover \footnotetext numbering without manual numbering?  I assume, I know that I used \footnotemark n times, so I would like solution like (It is "pseudocode" of draft of an idea) :  \newcounter{tempcounter := footnotecounter - n} \footnotetext[ ++tempcounter ]{a} \footnotetext[ ++tempcounter ]{b} \footnotetext[ ++tempcounter ]{c}   Or other authomatic numbering solution. I don't want to manually correct this list each time I change footnotes in chapter.  P.S. I know putting list into vbox might look strange, please assume it's just a toy-example of environment that needs usage of \footnotemark+\footnotetext.
22690
I have been trying to add caption and label to a long table (not entirely written below) inside the xltabular environment. After checking ,  and some other posts, I did this:  \usepackage{xltabular} \usepackage{caption} \captionsetup[table]{skip=-10pt}  \captionof{table}{My Table} \begin{xltabular}{\textwidth}{@{}Y|Y|Y@{}}     0.0  &amp; 0    &amp; 0      \\     1.0  &amp; 1000 &amp; 0      \\     2.0  &amp; 2000 &amp; 0  \end{xltabular}   which kinda works. However, I keep getting yellow warning messages:  Package caption Warning: \captionsetup{type*=...} or \captionof outside box or environment on input line 161.  Package caption Warning: The option 'hypcap=true' will be ignored for this particular \caption on input line 161.   Also, \captionsetup[table]{skip=-10pt} stops working if I use \captionof{table}{My Table} and I need it because the space between the table and the caption is too large.  How can I solve these problems without using table environment (it makes my table start in a new page)?
53265
Possible Duplicate:          I am trying to create a table after some text:  Some text. foobar foobar \\  \begin{table}[t] \centering \begin{tabular}{|c|c|c|c|c|c|} \hline  &amp; a &amp; c &amp; &amp; &amp;  \\ \hline $\{X, X', Y\}$ &amp; &amp; b &amp;  &amp; &amp;  \\ \hline \hline \end{tabular} \end{table}   However, the table is appearing before the text even though I type if after I type the text. Why?
105839
\renewcommand method does not work  \documentclass{article} \renewcommand{\thefootnote}{\arabic{footnote}} \begin{document}  \begin{minipage}{1.3\textwidth}  test this\footnote{abc} \end{minipage}  \end{document}   In the following example the footnote number is incorrect. Why?  \documentclass{article} \renewcommand{\thempfootnote}{\arabic{mpfootnote}} \begin{document} \begin{minipage}{.5\textwidth} test this\footnotemark \footnotetext{abc} \end{minipage} \end{document}
26809
I would like to have footnotes in tables, but the \footnote command does not work inside a table environment.  Googling one finds that this is , at least in the UK.  That link contains a list of solutions to the problem, but since the author of the FAQ does not believe that this is good style, no comparison is made between the different methods.  I am sure that there are good typographical reasons why in most situations it is undesirable to have footnotes in tables (although I have never come across them), however I have recently felt the need to do just this in a paper I am currently writing.  Therefore I'd like to ask two questions:   What are the arguments against footnotes in tables? If one really must go against the advice in 1., which method (whether considered in the  or not) would you recommend?   Thanks in advance.  Added  In response to ShreevatsaR's comment: I do not much care for where the text of the footnote appears.  I do however insist on the footnote marks being attached to the relevant entries in the table, so that I can avoid having to reference "the second entry in the eighth line of the table", etc...
91922
I'm making an ordinary table in LyX and the table is going off-page. Seems that LyX isn't wrapping text inside the cells, and having done a search here on SE I still cannot find a solution which would simply   Restrict the overall table width to page width; and Wrap text inside table cells   I've tried some of the advice offered in other answers to this question, but it seems to scale the entire table which is definitely not what I want. I just want text wrapping inside the cells. Thanks.
13266
I must place footnotes and footcites at the bottom of the frames, like shown in the picture:   The line above the footnotes must always be there, and it must have a minimum distance to the bottom of lets say 2.5em.  So I see two possible solutions:   Add the footnote via \setbeamertemplate to the footline. Change the format of the footnoteline and let it always appear, even if no footnote was used.   For the last hours, I tried to accomplish point 1, but I had absolutely no success. Can you please help me? Otherwise I have to use *whisper* Powerpoint. ;)    EDIT: Do you know the phenomenon that only after you ask someone, you can get the right ideas? ;)  Here is a MWE of my current solution:  \documentclass[xcolor={dvipsnames}]{beamer}  \usepackage[absolute, overlay]{textpos} \usepackage{environ}   \usetheme{default} \setbeamertemplate{navigation symbols}{}%remove navigation symbols   \newcommand{\makemyrule}{%     \setlength{\unitlength}{14pt}%      minimum distance to bottom     \ifdim\footnoteheight&gt;\unitlength \setlength{\unitlength}{\footnoteheight} \fi%     check which distance is bigger     \begin{textblock*}{\linewidth}(0pt,\dimexpr\textheight-\unitlength)%    place with use of textpos         \textcolor{blue}{\rule{\paperwidth}{.3ex}}     \end{textblock*} }   \let\oldfootnote\footnote%      redefine the footnote command \renewcommand{\footnote}[1]{\Addheight{#1}\oldfootnote{#1}}  \newlength{\footnoteheight} \newsavebox{\mytext} \newcommand{\Addheight}[1]%     measure height of the text         {%                 \savebox{\mytext}{\small\strut\parbox{\textwidth}%                 {\hspace*{2em}\thefootnote#1}\strut}%       approximated by eye, not perfect!                 \addtolength{\footnoteheight}{\ht\mytext}%                 \addtolength{\footnoteheight}{\dp\mytext}%         }     \NewEnviron{myframe}[1]{%     \begin{frame}{#1}%     \setlength{\footnoteheight}{0pt}%     \BODY%     \makemyrule%     \end{frame}%     }    \renewcommand\footnoterule{}  \begin{document} \begin{myframe}{} \frametitle{Beamer example} using\footnote{Y LUSPIN, et al} footnotes\footnote{P. GHOSEZ, et al and a lot more information to create a linebreak} excessively \footnote{You do not need to read this, this is only blindtext to create even more and more text. Blindtext will go on forever, nobody can stop the allmighty blindtext. I think I am a blindtext author.} \end{myframe}{} \begin{myframe} \frametitle{Beamer example} using\footnote{Y LUSPIN, et al} footnotes\footnote{P. GHOSEZ, et al} \end{myframe}{} \begin{myframe} \frametitle{Another example} without footnotes\\ \end{myframe} \end{document}   What this does: At the beginning of each myframe-environment, the length \footnoteheight is reseted to zero. When a \footnote is placed, the height of the text is added to this length. At the end of each frame, via \makemyrule the bottom rule is created, which is above the footnote texts (my solution is not perfect) or, if there are no footnotes, at least 14pt above the bottom.  My wishes (not real problems, but I want it to work better) are   The height of the footnotetext is only approximated. I would like a solution where you can measure the height of the formatted footnote. The frame environment needs to be renamed to myframe. I would like a solution which works without changing the document. But it all failed, because I could not execute \makemyrule before \end{frame} automatically.
84421
I'm trying to create a multi-page table with all cells having the same height (as well as certain fixed widths) so that certain manual cut-and-paste operations are a lot easier.  One issue is that one column in particular is text-heavy and should line-break within the cell.  As I don't want it justified, I looked into alternatives such as .  This is doing exactly what I want for horizontal alignment.  For vertical alignment, I've looked at  and the \vphantom method detailed in the above link doesn't seem to be working.  Here's what I'm currently working with:  \documentclass[11pt]{article} \usepackage{array}  \newcolumntype{P}[1]{&gt;{\raggedright\hspace{0pt}\arraybackslash}p{#1}} \def\Z{\vphantom{\parbox[c]{1.7in}{\Huge Something Long}}}  \begin{document} \begin{tabular}{| c || P{0.5in} || P{0.5in} || P{5in} |}\hline  1.  \Z &amp;&amp;&amp; Long long long long long long long long long             long long long long long long long text  \\\hline 2.  \Z &amp;&amp;&amp; More long long long long long long long long             long long long long long long long text  \\\hline \end{tabular}   When I compile, the cells do not have a uniform height, and none of them are as large as 1.7 inches vertically.  So this suggests that somehow the \vphantom method is failing.  Does anybody know of a relatively straightforward solution to this problem?
70420
I'm trying to make a longtable that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem:  First possibility: If I use the adjustwidth environment the longtabu does not align correctly. The left margin stays fixed and the right margin gets out of the page. This in contrast, if I do the exact same thing to make a tabu (instead of longtabu), it works perfectly. I think using the adjustwidth is the best way to go, but I can't manage to get it working.  Second possibility: I've found a solution using the fullwidth package. That package does the trick on small longtables, but freezes when I'm trying to do it on my big longtable. The command \setlength\LTleft{-2cm} didn't work as well.  The final option I tried was to use geometry. But that changes the margin of the whole page thus making a page break which I'm not interested in. The code I used for this was  \newgeometry{left=1.2cm} \begin{longtable} long table stuff \end{longtable} \restoregeometry   Here's an example of what I want contra what I get  \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{chngpage} \usepackage{lipsum} \usepackage{tabu}  \begin{document} \section{This is the original textwidth.} \lipsum[1]  \section{This is the width I need for my longtabu} \begin{adjustwidth}{-1in}{-1in} \begin{tabu} to \linewidth {*{13}{|X[l]} |} 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ \end{tabu} \end{adjustwidth}  \section{This is what happens} \begin{adjustwidth}{-1in}{-1in} \begin{longtabu} to \linewidth {*{13}{|X[l]} |} 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ 01 &amp; 02 &amp; 03 &amp; 04 &amp; 05 &amp; 06 &amp; 07 &amp; 08 &amp; 09 &amp; 10 &amp; 11 &amp; 12 &amp; 13 \\ \end{longtabu} \end{adjustwidth}  \end{document}
118659
I would like to set up memoir so that when I use \footnote{foo}, foo is displayed in the margin with the proper label and preferably break over pages.  There is an option \footnotesinmargin which gives almost exactly what I need, only justified. I want it to use ragged2e and change alignment based on even/odd page so that the margin note is always flushed towards the main text area and allows hyphenation on the side of the edge.  \documentclass[12pt, draft]{memoir} \footnotesinmargin \usepackage{polyglossia} \setmainlanguage{english} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} \setmainfont[Ligatures=TeX,Numbers=OldStyle]{Minion Pro} \usepackage{kantlipsum}  \begin{document} \kant[1]\footnote{\kant[1]} \kant[2]\footnote{\kant[2]} \kant[3-5] \end{document}   Possible partial work-around  I have remembered a nice thesis based upon the Classic thesis template and found the  which indeed contains a possible solution:  \usepackage{marginnote} \usepackage{ragged2e} \newcommand{\sidemark}[1]{#1.{\:}}  \newcommand{\marginelement}[2][0]{%   \marginnote{%     \strictpagechecktrue     \checkoddpage     \ifoddpage%       \RaggedRight\footnotesize%     \else%       \RaggedLeft\footnotesize%     \fi%     #2%   }[#1\onelineskip]% }%  \newcommand{\sidenote}[2][0]{%   \footnotemark%   \ignorespaces%   \marginelement[#1]{%     \sidemark{\thefootnote}%     \ignorespaces#2%   }%   \unskip% }%   Nevertheless, I would still prefer a memoir-specific solution with the re-definition of footnotes when used with the option \footnotesinmargin mainly for the sake of portability. This work-around also does not work with hyperref (there is no hypertext connection) and does not break over pages automatically.
18314
How can I have the following "footnote layout"?  Some Text Some Text Some Text Some Text² Some Text   2 FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT   FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT   My problem is that the footnote text starting with the second line is too far left.  \documentclass{article} \usepackage{blindtext}  \begin{document}     \blindtext\footnote{\blindtext} \end{document}
103694
I have a table and some of the number inside has some symbol like * and **  which should be explianed as footer ( at the end of the table not the page) I dont know how to do that and I dont want to change my code  my code looks like this   \begin{table}[h]     \caption  {\bf Performance at First Doubles Matches}  % title name of the table     \centering  % centering table     \begin{tabular}{l c c c }  % creating 4 columns         \hline         % here is the info          \hline         % I need the foot note here ( I dont know if it is called fotenote or not ??) but I need the related info at the end of the table      \end{tabular}     \label{tab:PPer} \end{table}
62536
I need to use a minipage environment and I need a footnote in that minipage. I want the footnote to be numbered in the normal footnote sequence and to occur together with the rest of the footnotes in my document. But, as this minimal example shows:  \documentclass{article}  \begin{document}  Spam  \begin{minipage}{.5\linewidth}     Foo\footnote{bar} \end{minipage}  Ham  \end{document}   the obvious thing produces a footnote that 1) appears at the bottom of the minipage, and not the page itself, and 2) is "numbered" alphabetically.   How can I get a regular footnote in a minipage?
17457
I have a table that is longer than one page. I have found the option to make the header of the table to be added to the second portion of the table after the page break. Is there a way to do the same thing with a footer on the table? I want to add a footer so that if my table was 1000 entries long (12 pages), that the first and last row of each page would be consistent; a header and footer for the table. If I edit the rest of the document (above the table) the table will shift up/down and I want to header and footer of the table to remain at the page breaks. Any ideas?     PAGE BREAK   HEADER OF TABLE TBL TBL TBL TBL TBL TBL TBL TBL TBL TBL TBL TBL FOOTER OF TABLE      PAGE BREAK   HEADER OF TABLE TBL TBL TBL TBL TBL TBL FOOTER OF TABLE  TEXT TEXT TEXT TEXT TEXT TEXT      PAGE BREAK
3777
I would like to use footnotes without cluttering the container paragraph. Something like:  This is a very long complex\footnote[a] sentence.  \foottext[a]{So complex that I would prefer to pull out the footnote text.}   The idea comes from the [linktext][1], [1]: http://url.com markdown syntax.
63871
I am using gb4e for my examples. I can insert footnote in the \ex line, like this:  \begin{exe} \ex It's ok\footnote{no problem}. \end{exe}   But I cannot insert footnote in the \gll line, like this:  \begin{exe} \ex It's ok. \gll C'est parfait\footnote{no problem}\\ Ce est parfait\\ \end{exe}   When I put the \footnote{} in \gll line, it does not compile.  How can I insert footnote in the gloss line? Thank you very much for your help!
7598
I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*).   At some point, the text ends in the beginning of the first column of a new page. I would like to include my table on this page since it has a lot of free space below the text, but when I insert the table* right after the text, it goes to the top of the next page instead:    Do you know a way of obtaining the desired behavior?  Minimal working example :  \documentclass{article} \usepackage{lipsum}  \begin{document} \twocolumn  \paragraph{} \lipsum[1]  \begin{table*} \centering \begin{tabular}{|c|c|c|c|} \hline Column 1 &amp; Column 2 &amp; Column 3 &amp; Column 4 \\ \hline Column 1 &amp; Column 2 &amp; Column 3 &amp; Column 4 \\ \hline \end{tabular} \end{table*}%   \end{document}