0

Why does Latex insist on centering this table? I can't get it to align the table to the top of the page. If I add additional table lines, or even other blocks, they are pushed out the bottom of the page. Please see my MWE below:

\documentclass[25pt, landscape]{tikzposter} % font 12, 14, 17, 20 or 25

% -------------------------------------------- This determines the size and margins \geometry{paperwidth=24in, paperheight=36in}

\makeatletter \setlength{\TP@visibletextwidth}{\textwidth-1\TP@innermargin} \setlength{\TP@visibletextheight}{\textheight-1\TP@innermargin} \makeatother

\begin{document}

\block{Exciting Table to Wow and Impress my Client}{ \begin{tabular}{c p{25cm} p{30cm} |c|c|c|c|c|c|c|c|c|c|c|c|}

# & A thing & Description of the thing & JAN & FEB & MAR & APR & MAY & JUN & JUL & AUG & SEP & OCT & NOV & DEC \

\hline \hline 1& One reason to love Latex & Terse and impressive example. & X & & & X& & & X& & &X & & \ 2& Several more reasons & So many examples to list! & X & & & & & & & & & & & \ \end{tabular} }

\end{document}

enter image description here

cmp
  • 57

1 Answers1

1

tikzposter reserves a space for the title. If you don't want a title and want reclaim the space, you must nullify it with an appropriate \definetitlestyle and later invoke it with \maketitle.

b

\documentclass[25pt, landscape]{tikzposter} % font 12, 14, 17, 20 or 25

% -------------------------------------------- This determines the size and margins \geometry{paperwidth=24in, paperheight=36in}

\makeatletter \setlength{\TP@visibletextwidth}{\textwidth-1\TP@innermargin} \setlength{\TP@visibletextheight}{\textheight-1\TP@innermargin} \makeatother

\definetitlestyle{Zero}{titletotopverticalspace=-260pt,titletoblockverticalspace=0pt}{} % added <<<<<<<<<<<<<

\begin{document} \usetitlestyle{Zero}% added <<<<<<<<<<<<< \maketitle% added <<<<<<<<<<<<<

\block{Exciting Table to Wow and Impress my Client}{
    \begin{tabular}{c p{25cm} p{30cm} |c|c|c|c|c|c|c|c|c|c|c|c|}

        \#  &amp; A thing &amp; Description of the thing &amp; JAN &amp; FEB &amp; MAR &amp; APR &amp; MAY &amp; JUN &amp; JUL &amp; AUG &amp; SEP &amp; OCT &amp; NOV &amp; DEC \\ 

        \hline \hline
        1&amp; One reason to love Latex &amp; Terse and impressive example. &amp; X &amp; &amp; &amp; X&amp; &amp; &amp; X&amp; &amp; &amp;X &amp; &amp;  \\
        2&amp; Several more reasons &amp; So many examples to list! &amp; X &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp;  \\
    \end{tabular}
}

\end{document}

If you decide to have a title everything is easier. The block will be right there.

b

\documentclass[25pt, landscape]{tikzposter} % font 12, 14, 17, 20 or 25

% -------------------------------------------- This determines the size and margins \geometry{paperwidth=24in, paperheight=36in}

\makeatletter \setlength{\TP@visibletextwidth}{\textwidth-1\TP@innermargin} \setlength{\TP@visibletextheight}{\textheight-1\TP@innermargin} \makeatother

\usetitlestyle{Default}

\title{A tikzposter} \author{By myself} \institute{}

\begin{document}

\maketitle[titletotopverticalspace=30pt,titletoblockverticalspace=40pt ]% added <<<<<<<<<<<<<

\block{Exciting Table to Wow and Impress my Client}{
    \begin{tabular}{c p{25cm} p{30cm} |c|c|c|c|c|c|c|c|c|c|c|c|}

        \#  &amp; A thing &amp; Description of the thing &amp; JAN &amp; FEB &amp; MAR &amp; APR &amp; MAY &amp; JUN &amp; JUL &amp; AUG &amp; SEP &amp; OCT &amp; NOV &amp; DEC \\ 

        \hline \hline
        1&amp; One reason to love Latex &amp; Terse and impressive example. &amp; X &amp; &amp; &amp; X&amp; &amp; &amp; X&amp; &amp; &amp;X &amp; &amp;  \\
        2&amp; Several more reasons &amp; So many examples to list! &amp; X &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp; &amp;  \\
    \end{tabular}
}

\end{document}

Simon Dispa
  • 39,141
  • Awesome! Thanks. See also: https://tex.stackexchange.com/questions/413936/tikzposter-without-maketitle – cmp Nov 26 '21 at 23:55