Thursday, 22 August 2013

PDF Latex lastpage does not work

PDF Latex lastpage does not work References I\'ve added the last page package tried to display the pager but the last page wont display. What\'s wrong with my code, the last page will just display a \"??\": {.select date_format(now(),\" %M %d, %Y %r\") as run_date} {.select username from deskpad.user where user_id=@user_teller} \\documentclass{article} \\usepackage[paperheight=11in,paperwidth=8.5in,margin=0.1in,headheight=0.5in,footskip=0.4in,includehead,includefoot]{geometry} \\usepackage{graphicx} \\usepackage{fancyheadings} \\usepackage{fancybox} \\usepackage{longtable} \\usepackage{setspace} \\usepackage{textcomp} \\usepackage{colortbl} \\usepackage{booktabs} \\usepackage{fancyhdr} \\usepackage{lastpage} \\usepackage[absolute]{textpos} \\renewcommand{\\familydefault}{\\sfdefault} \\pagestyle{fancy} \\renewcommand{\\headrulewidth}{0pt} \\fancyhf{} \\fancyhead[l]{ } \\fancyfoot[l]{ \\small{ \\begin{tabular}{p{4.0in} p{4.0in}} \\hspace{15pt} \\small{ \\emph{ Date Printed: {.\\run_date\\} } } & \\raggedleft{ \\small{ \\emph{ Page \\thepage\\ of \\pageref{Last Page} } } \\hspace{15pt}} \\tabularnewline \\end{tabular} } }

No comments:

Post a Comment