I am making a scientific poster using the a0poster package. I wanted to know if there was any way to make say the top inch of the page a solid colour, and have the title on top of it?
[Tex/LaTex] Poster title in header box
a0poster
Related Solutions
This is my suggestion.
Leave the line
\documentclass[a0,landscape]{a0poster}
as it is and add the following lines
\usepackage{pgfpages}
\pgfpagesdeclarelayout{resize and center}
{
\def\pgfpageoptionborder{0pt}
}
{
\pgfpagesphysicalpageoptions
{%
logical pages=1,%
physical height=\pgfpageoptionheight,%
physical width=\pgfpageoptionwidth%
}
\pgfpageslogicalpageoptions{1}
{%
resized width=\pgfphysicalwidth,%
resized height=\pgfphysicalheight,%
border shrink=\pgfpageoptionborder,%
center=\pgfpoint{.5215\pgfphysicalwidth}{.47\pgfphysicalheight}%
}%
}
\pgfpagesuselayout{resize and center}[a2paper,landscape]
just after the line
\usepackage[svgnames]{xcolor}
In this way you will have the same document as before, but with a2 landscape
size.
Output:
and these are the properties of the pdf
file as shown by the viewer
that is to say a2 landscape
.
Note that the new layout resize and center
is obtained from the standard resize to
with some adjusting to the center point, so to obtain the right positioning of the poster.
"When all else fails, read the manual." Sciposter redefines the figure environment, \caption and \subfigure. However, \subfigure is implemented as a tabular, not a minipage. Also, it uses subfig instead of subfigure as a counter, but \captionof doesn't know what to do with subfig.
So to get the captions to work right, I went back to figure and caption, but used minipage and created \subcaption for subfigures.
Just for fun, I also created a subfigure environment. When not creating a list of figures, it's probably the most trivial environment in existence.
\documentclass[portrait,a0]{sciposter}
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\usepackage{multicol}
\usepackage{mwe}% for example images
\newcommand{\subcaption}[1]% %1 = text
{\refstepcounter{subfig}%
\par\vskip\abovecaptionskip
\centerline{\textbf{(\alph{subfig})} #1}%
\vskip\belowcaptionskip\par}
% create subfigure environment
\def\subfigure{\let\oldcaption=\caption
\let\caption=\subcaption
\minipage}
\def\endsubfigure{\endminipage
\let\caption=\oldcaption}
\renewcommand{\titlesize}{\Huge}
\renewcommand{\authorsize}{\Large}
\renewcommand{\instsize}{\large}
\leftlogo[1]{example-image}
\conference{Open Poster Presentation}
\title{title}
\author{name}
\institute{nameinst}
\email{jvlfvj}
\begin{document}
\maketitle
\renewcommand{\fontpointsize}{15pt}
\begin{multicols}{3}
\begin{figure}
\includegraphics[width=\textwidth]{example-image}
\caption{diagram}
\end{figure}
\begin{figure}
\centering
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{example-image-a}
\caption{a}
\end{subfigure}\hfil
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{example-image-b}
\caption{b}
\end{subfigure}\hfil
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{example-image-c}
\caption{c}
\end{subfigure}%
\caption{fig}
\end{figure}
\lipsum[1-6]
\end{multicols}
\end{document}
Best Answer
This could serve as a possible solution to the OP's objective. This solution defines two macros via tikz skills for use of the
a0poster package
; one ispostertitle
which is the what the OP needs hopefully :-) and the other ispsection
that are meant for subtitles in the column-wise locations.Update:
Two methods are proposed. Node style (method 1) and macro approach (method 2)
Code