After issuing
\geometry{paperwidth=42in, paperheight=60in}
you have to recalculate \TP@visibletextwidth
and \TP@visibletextheight
. So, after that line, add
\makeatletter
\setlength{\TP@visibletextwidth}{\textwidth-2\TP@innermargin}
\setlength{\TP@visibletextheight}{\textheight-2\TP@innermargin}
\makeatother
MWE:
\RequirePackage[demo]{graphicx} % remove this line in your document
\documentclass[17pt, a0paper, landscape]{tikzposter}
\geometry{paperwidth=42in, paperheight=60in}
\makeatletter
\setlength{\TP@visibletextwidth}{\textwidth-2\TP@innermargin}
\setlength{\TP@visibletextheight}{\textheight-2\TP@innermargin}
\makeatother
\usepackage{xpatch}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[space]{grffile}
\title{\parbox{0.95\linewidth}{\centering \textbf{My Poster Title}}}
{\setlength{\tabcolsep}{2em}
\author
{%
\begin{tabular}{ c | c | c }
\textbf{Author 1*} \emph{Author position 1} \hfill & \hfill \textbf{Author 2} \emph{Author position 2} \hfill & \hfill \textbf{Author 3} \emph{Author Position 3} \\
\texttt{Auth1@univ.edu; Auth1Phone} \hfill & \texttt{Auth2@univ.edu; Auth2Phone} \hfill & \texttt{Auth3@univ.edu; Auth3Phone} \\
\end{tabular}%
}
\institute
{
\textbf{Affiliated University and Department}\\
\vspace*{0.2em}
Address
}
\titlegraphic
{
\raisebox{2.25cm}{\includegraphics[width=11cm,height=3cm]{/Poster/Logo1.png}}
\hfill
\includegraphics[width=7.5cm,height=7.5cm]{/Poster/Logo2.png}
}
\makeatletter
\def\TP@titlegraphictotitledistance{-7.5cm}
\settitle
{
\centering
\vbox
{
\@titlegraphic \\ [\TP@titlegraphictotitledistance]
\centering
\color{titlefgcolor}
{\bfseries \huge \sc \@title \par}
\vspace*{1em}
{\LARGE \@author \par}
\vspace*{1.2em}
{\LARGE \@institute}
}
}
\makeatother
\begin{document}
\maketitle[width=0.98\textwidth]
\block{First}{Check Span}
\begin{columns}
\column{0.2}
\block{ABSTRACT}
{
asdf
}
\block{INTRODUCTION}
{}
\block{DATA DESCRIPTIONS}
{
\innerblock{Data 1}{qaz}
\innerblock{Data 2}{wsx}
\innerblock{Data 3}{edc}
}
\column{0.2}
\block{ISSUES}
{
lkjh
}
\block{SOLUTIONS}
{
123456789
}
\column{0.6}
\begin{subcolumns}
\subcolumn{0.5}
\block{Case Study I}
{
qwerty
}
\subcolumn{0.5}
\block{Case Study II}
{
uiop
}
\end{subcolumns}
\block{COMPARISON RESULTS}
{
zxcvbnm
}
\end{columns}
\end{document}
And this is the result:
and the paper size is the correct one:
First version:
Put this in your preamble. Here the caption is aligned to the left starting with the figure:
\renewenvironment{tikzfigure}[1][]{
\def \rememberparameter{#1}
\vspace{10pt}
\refstepcounter{figurecounter}
\begin{center}
\tabular{l}
}{
\ifx\rememberparameter\@empty
\else %nothing
\\[10pt]
{\small Fig.~\thefigurecounter: \rememberparameter }
\fi
\endtabular
\end{center}
}
Second version:
Here the caption is aligned totally to the left.
\renewenvironment{tikzfigure}[1][]{
\def \rememberparameter{#1}
\vspace{10pt}
\refstepcounter{figurecounter}
\begin{center}
}{
\ifx\rememberparameter\@empty
\else %nothing
\\[10pt]
{\small Fig.~\thefigurecounter: \rememberparameter \hfill \mbox{}}
\fi
\end{center}
}
Code:
\documentclass[25pt, a0paper, landscape, margin=0mm, innermargin=50mm,
blockverticalspace=15mm, colspace=30mm, subcolspace=8mm]{tikzposter}
\geometry{paperwidth=100cm,paperheight=197cm}
\makeatletter
\setlength{\TP@visibletextwidth}{\textwidth-2\TP@innermargin}
\setlength{\TP@visibletextheight}{\textheight-2\TP@innermargin}
\makeatother
\tikzposterlatexaffectionproofon
% Commands
\newcommand{\bs}{\textbackslash}
\newcommand{\cmd}[1]{{\bf \color{red}#1}}
\usetheme{Simple}
\usebackgroundstyle{Empty}
%\renewenvironment{tikzfigure}[1][]{
% \def \rememberparameter{#1}
% \vspace{10pt}
% \refstepcounter{figurecounter}
% \begin{center}
% \tabular{l}
% }{
% \ifx\rememberparameter\@empty
% \else %nothing
% \\[10pt]
% {\small Fig.~\thefigurecounter: \rememberparameter }
% \fi
% \endtabular
% \end{center}
%}
\renewenvironment{tikzfigure}[1][]{
\def \rememberparameter{#1}
\vspace{10pt}
\refstepcounter{figurecounter}
\begin{center}
}{
\ifx\rememberparameter\@empty
\else %nothing
\\[10pt]
{\small Fig.~\thefigurecounter: \rememberparameter \hfill \mbox{}}
\fi
\end{center}
}
\begin{document}
\maketitle
\begin{columns}%blocks will be placed into columns
\column{.5}
\block{someblock1}{
\begin{tikzfigure}[CAPTION HERE]
\includegraphics[width=0.40\colwidth] {example-image}
\end{tikzfigure}
}
\column{.5}
\block{someblock2}{
\begin{flushleft}
\begin{tikzfigure}[CAPTION HERE]
\includegraphics[width=0.40\colwidth] {example-image}
\end{tikzfigure}
\end{flushleft}
}
\end{columns}
\end{document}
If you want to do it on per figure basis you may use a \parbox
\documentclass[25pt, a0paper, landscape, margin=0mm, innermargin=50mm,
blockverticalspace=15mm, colspace=30mm, subcolspace=8mm]{tikzposter}
\geometry{paperwidth=100cm,paperheight=197cm}
\makeatletter
\setlength{\TP@visibletextwidth}{\textwidth-2\TP@innermargin}
\setlength{\TP@visibletextheight}{\textheight-2\TP@innermargin}
\makeatother
\tikzposterlatexaffectionproofon
% Commands
\newcommand{\bs}{\textbackslash}
\newcommand{\cmd}[1]{{\bf \color{red}#1}}
\usetheme{Simple}
\usebackgroundstyle{Empty}
\begin{document}
\maketitle
\begin{columns}%blocks will be placed into columns
\column{.5}
\block{someblock1}{
\begin{tikzfigure}[{\parbox[t]{0.39\colwidth}{CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE }}]
\includegraphics[width=0.40\colwidth] {example-image}
\end{tikzfigure}
}
\column{.5}
\block{someblock2}{
\begin{flushleft}
\begin{tikzfigure}[CAPTION HERE]
\includegraphics[width=0.40\colwidth] {example-image}
\end{tikzfigure}
\end{flushleft}
}
\end{columns}
\end{document}
Please note that an extra pair of braces is needed surroung the \parbox
in
\begin{tikzfigure}[{\parbox[t]{0.39\colwidth}{CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE CAPTION HERE }}]
Best Answer
Currently, the text as well as the font size is hard coded in the class file. You can easily copy that part from the class file and customize it to your needs. Following the original definition with just the size changed.