UPDATED question. Here is an MWE - finally I could produce one.
\documentclass{article}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{fancyhdr}
\usepackage{longtable}
\usepackage{tabu}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{polyglossia}
\setmainlanguage{magyar}
\usepackage{lipsum}
\newcommand{\globFooter}{
\def\alignFooter##1{\vtop{\null\hbox{##1}}}
\cfoot{%
\begin{tiny}
\begin{tabular}{lll}
\alignFooter{\includegraphics[width=2cm]{rBdytQH.png}}
&
\alignFooter{\begin{tabular}{lll}
Address line 1 Address line 1 & Telephone 1 Telephone 1 & Web 1 Web 1 Web 1 Web 1 \\
Address line 2 & Fax line & skype text\\
Address line 3 & Mobile line & Web 2
\end{tabular}}
\end{tabular}
\end{tiny}
}
}
\geometry{tmargin=1in,bmargin=2.5in,lmargin=0.7in,rmargin=0.7in}
\pagestyle{fancy}
\globFooter
\begin{document}
\lipsum[1-6]
Here is some more text that will position the last rows of the table near the footer: Nulla euismod, dolor vitae faucibus tincidunt, ante sem commodo massa, vitae maximus ante nisi eget magna.
\begin{enumerate}
\item Item 1
\item Item 2
\begin{longtabu} to \linewidth {@{}X[p,l]ccrlrrc@{}} %
\multicolumn{6}{p{12cm}}{First row in the table} \\
\multicolumn{3}{l}{}
& \small 1.0 & egy. 99\,999 & 99\,999 HUF & \\
\multicolumn{6}{p{12cm}}{Second row in the table} \\
\multicolumn{3}{l}{}%
& 1.0 & alk. & 5\,000 & 9\,999 HUF & \\
\end{longtabu}
\end{enumerate}
\bigskip
\bigskip
\end{document}
It does not work without the image. The image is here:
It seems that the problem is related to the longtabu
, because the footer overlaps with the longtabu
when the bottom of the table is close to the end of the page. Here is the example overlap:
\footskip
. How do we know? We don't have the full code :(\cfoot{\rule{0.5\textwidth}{0pt}
but I don't understand why!,includefoot,footskip=0.1in
to\geometry{tmargin=1in,bmargin=2.5in,lmargin=0.7in,rmargin=0.7in,includefoot,footskip=0.1in,showframe}
.showframe
is just for demo. Remove it.