Title format is defined in headline
template in beamerthemeconfposter.sty
file.
The original one is defined as
\setbeamertemplate{headline}{
\leavevmode
\begin{columns}
\begin{column}{\linewidth}
\vskip1cm
\centering
\usebeamercolor{title in headline}{\color{jblue}\Huge{\textbf{\inserttitle}}\\[0.5ex]}
\usebeamercolor{author in headline}{\color{fg}\Large{\insertauthor}\\[1ex]}
\usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}
\vskip1cm
\end{column}
\vspace{1cm}
\end{columns}
\vspace{0.5in}
\hspace{0.5in}\begin{beamercolorbox}[wd=47in,colsep=0.15cm]{cboxb}\end{beamercolorbox}
\vspace{0.1in}
}
where you can see how the title is defined inside a column
which occupies total poster width (\linewidth
). If you want to include an image on right side while keeping a central and centered title, you can divide this space in three columns, one empty on the left side, the title on the second and the third one for the image.If first and third columns use the same size, the second one will be centred. This is what is done in next code
\documentclass[final]{beamer}
\usepackage{mwe}
\usepackage[scale=1.24]{beamerposter} % Use the beamerposter package for laying out the poster
\usetheme{confposter} % Use the confposter theme supplied with this template
%-----------------------------------------------------------
% Define the column widths and overall poster size
% To set effective sepwid, onecolwid and twocolwid values, first choose how many columns you want and how much separation you want between columns
% In this template, the separation width chosen is 0.024 of the paper width and a 4-column layout
% onecolwid should therefore be (1-(# of columns+1)*sepwid)/# of columns e.g. (1-(4+1)*0.024)/4 = 0.22
% Set twocolwid to be (2*onecolwid)+sepwid = 0.464
% Set threecolwid to be (3*onecolwid)+2*sepwid = 0.708
\newlength{\sepwid}
\newlength{\onecolwid}
\newlength{\twocolwid}
\newlength{\threecolwid}
\setlength{\paperwidth}{48in} % A0 width: 46.8in
\setlength{\paperheight}{36in} % A0 height: 33.1in
\setlength{\sepwid}{0.024\paperwidth} % Separation width (white space) between columns
\setlength{\onecolwid}{0.22\paperwidth} % Width of one column
\setlength{\twocolwid}{0.464\paperwidth} % Width of two columns
\setlength{\threecolwid}{0.708\paperwidth} % Width of three columns
\setlength{\topmargin}{-0.5in} % Reduce the top margin size
%-----------------------------------------------------------
%----------------------------------------------------------------------------------------
% TITLE SECTION
%----------------------------------------------------------------------------------------
\title{Detecting Multi-word Expressions Through Typing Patterns} % Poster title
\author{Adam G} % Author(s)
\institute{Department of Linguistics} % Institution(s)
%----------------------------------------------------------------------------------------
\setbeamertemplate{headline}{
\leavevmode
\begin{columns}
\begin{column}{.1\linewidth}
\end{column}
\begin{column}{.8\linewidth}
\vskip1cm
\centering
\usebeamercolor{title in headline}{\color{jblue}\Huge{\textbf{\inserttitle}}\\[0.5ex]}
\usebeamercolor{author in headline}{\color{fg}\Large{\insertauthor}\\[1ex]}
\usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}
\vskip1cm
\end{column}
\begin{column}{.1\linewidth}
\includegraphics{image-A.jpg}
\end{column}
\vspace{1cm}
\end{columns}
\vspace{0.5in}
\hspace{0.5in}\begin{beamercolorbox}[wd=47in,colsep=0.15cm]{cboxb}\end{beamercolorbox}
\vspace{0.1in}
}
\begin{document}
\begin{frame}[t] % The whole poster is enclosed in one beamer frame
\end{frame}
\end{document}
You are already using TiKZ
, then you can use
\tikz[remember picture,overlay]{\draw[red, line width=1cm]%
([shift={(1cm,-1cm)}]current page.north west) rectangle%
([shift={(-1cm,1cm)}]current page.south east);}
to draw a rectangle around the poster. Of course you need to adjust line width
, color and corners (shift
) according your taste.
My first idea was just include previous command inside poster frame
, but How does beamer build the frame? shows that footline
is the last layer to be drawn and this is done inside \end{frame}
.
Therefore, anything you draw inside a \frame
can be overdrawn by footline
contents.
A solution for this problem could be to include previous TiKZ
command inside footline
template definition as following code shows. (Note: I've simplified the example and used original I6pd2 theme)
\documentclass[final]{beamer}
\usetheme{I6pd2}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usefonttheme{serif}
\usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}
\usepackage{tikz}
\providecommand\thispdfpagelabel[1]{}
\definecolor{darkgreen}{RGB}{0,100,0}
\definecolor{darkred}{RGB}{100,0,0}
\definecolor{darkblue}{RGB}{75,25,100}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{My poster}
\author{Me}
\institute[My institute]{A longer name for my institute}
\date{}
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
\rule{0pt}{2pt}
\end{beamercolorbox}
\leavevmode%
\begin{beamercolorbox}[ht=4ex,leftskip=1cm,rightskip=1cm]{author in head/foot}%
\texttt{http://www.texstackexchange.com}
\hfill
\texttt{xxxxxxxxxxxxx}
\vskip1ex
\end{beamercolorbox}
\vskip0pt%
\begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
\rule{0pt}{2pt}
\end{beamercolorbox}
\tikz[remember picture,overlay]{\draw[red, thick] ([shift={(1cm,-1cm)}]current page.north west)rectangle([shift={(-1cm,1cm)}]current page.south east);}
}
\begin{document}
\begin{frame}
\end{frame}
Update (20/04/2015)
Instead of repeating \setbeamertemplate
in your main file or changing it in theme file, another option could be \addtobeamertemplate
which works in this case.
Now the code is your code with border line inclusion and the result shows what I get with your theme file copied from Overleaf
\documentclass[final]{beamer}
%\usepackage{grffile}
\usepackage[framemethod=default]{mdframed}
\usepackage{showexpl}
\usetheme{I6pd2}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{psfrag}
\usepackage{amsmath,amsthm, amssymb, latexsym}
%\usepackage{times}\usefonttheme{professionalfonts} % obsolete
\usefonttheme{serif}
\graphicspath{ {./img/} }
%\boldmath
\usepackage[orientation=portrait,size=a0,scale=1.4]{beamerposter}
% change list indention level
% \setdefaultleftmargin{3em}{}{}{}{}{}
\usepackage{tikz}
\providecommand\thispdfpagelabel[1]{}
%\usepackage{snapshot} % will write a .dep file with all dependencies, allows for easy bundling
\usepackage{pgfplots}
\usepackage{ragged2e}
\usepackage{array,booktabs,tabularx}
\newcolumntype{Z}{>{\centering\arraybackslash}X} % centered tabularx columns
\newcommand{\pphantom}{\textcolor{ta3aluminium}} % phantom introduces a vertical space in p formatted table columns??!!
\newcommand{\psihat}{\hat{\psi}}
\newcommand{\phihat}{\hat{\phi}}
\newcommand{\rt}{(\mathbf{r},t)}
\newcommand{\xt}{(x,t)}
\newcommand{\ket}[1]{\ensuremath{|#1\rangle}\xspace}
\newcommand{\bra}[1]{\ensuremath{\langle #1|}\xspace}
\newcommand{\elemm}[3]{\ensuremath{\bra{#1}#2\ket{#3}}\xspace}
\newcommand{\braket}[2]{\ensuremath{\langle #1|#2\rangle}\xspace}
\newcommand\psfragg[2]{\psfrag{#1}{\small #2}}
\newcommand\psfraggg[2]{\psfrag{#1}{\footnotesize #2}}
\newcommand\psfragggg[2]{\psfrag{#1}{\scriptsize #2}}
\newcommand\psfraggggg[2]{\psfrag{#1}{\tiny #2}}
\definecolor{darkgreen}{RGB}{0,100,0}
\definecolor{darkred}{RGB}{100,0,0}
\definecolor{darkblue}{RGB}{75,25,100}
\listfiles
\definecolor{darkgreen}{RGB}{0,100,0}
\newcommand{\myref}[5]{\textcolor{darkgreen}{{\footnotesize [#1 \textit{et al.} #2 \textbf{#3}, #4 (#5)]}}}
\newcommand{\myrefarxiv}[1]{\textcolor{darkgreen}{{\footnotesize [arXiv #1]}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{My title}
\author{My name and coauthors}
\institute[A shorter name for my institute]{My institute}
\date{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newlength{\columnheight}
\setlength{\columnheight}{105cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% This is the modified template. It needs two runs.
\addtobeamertemplate{footline}{}{
\tikz[remember picture,overlay]{\draw[red, thick] ([shift={(1cm,-1cm)}]current page.north west)rectangle([shift={(-1cm,1cm)}]current page.south east);}
}
\begin{document}
\begin{frame}
\begin{columns}
% ---------------------------------------------------------%
% Set up a column
\begin{column}{.33\textwidth}
\begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
\begin{minipage}[T]{.98\textwidth}
\parbox[t][\columnheight]{\textwidth}{
% ---------------------------------------------------------%
% fill each column with content
\begin{block}{}
\end{block}
\begin{block}{}
\end{block}
\begin{block}{}
\end{block}
\begin{block}{}
\end{block}
}
\end{minipage}
\end{beamercolorbox}
\end{column}
% ---------------------------------------------------------%
% end the column
% ---------------------------------------------------------%
% Set up a column
\begin{column}{.33\textwidth}
\begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
\begin{minipage}[T]{.98\textwidth}
\parbox[t][\columnheight]{\textwidth}{
% ---------------------------------------------------------%
% fill each column with content
\begin{block}{}
\end{block}
\begin{block}{}
\end{block}
\vspace{0.5cm}
\begin{mdframed}[style=innerleftmargin=20pt,innerrightmargin=20pt, innertopmargin=0pt, skipabove=0pt,skipbelow=0pt, linewidth=2pt]%
\usebeamerfont{block body}%
\begin{beamercolorbox}[leftskip=1em,colsep*=.0ex,sep=0.5ex,vmode]{block body}%
\end{beamercolorbox}
\end{mdframed}%
\vfill
}
% ---------------------------------------------------------%
% end the column
\end{minipage}
\end{beamercolorbox}
\end{column}
% ---------------------------------------------------------%
% ---------------------------------------------------------%
% Set up a column
\begin{column}{.33\textwidth}
\begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
\begin{minipage}[T]{.98\textwidth}
\parbox[t][\columnheight]{\textwidth}{
% ---------------------------------------------------------%
% fill each column with content
\begin{block}{}
\end{block}
\begin{block}{}
\end{block}
\begin{block}{}
\end{block}
}
% ---------------------------------------------------------%
% end the column
\end{minipage}
\end{beamercolorbox}
\end{column}
% ---------------------------------------------------------%
\end{columns}
\end{frame}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Local Variables:
%%% mode: latex
%%% TeX-PDF-mode: t
%%% End:
Best Answer
I have finally managed to do this with the
double
anddouble distance
parameters of a tkiz style:Here is the output, after some heavy butchering of one of the examples of
beamerposter