LaTeX forum ⇒ Presentations and PostersUsing baposter, how to change the main title's background color?

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
GSong
Posts: 1
Joined: Tue Jul 21, 2020 8:13 pm

Using baposter, how to change the main title's background color?

Postby GSong » Tue Jul 21, 2020 9:11 pm

baposter.cls
This is the baposter.cls needed to run the code
(47.6 KiB) Downloaded 48 times
Hi, everyone. This is my first question here! I am working on a poster for a conference. I was trying to change the main title's color to be: background -- marine blue, text color -- white. I succeeded in changing the main title's text color to white by directly using \textbf{\color{white}{main title}}, but somehow found no way to change the background color. I have tried to change all the color options to see if anything works, but got no luck. Can anyone help me with that? Many thanks! ;)

\documentclass[landscape,archE]{baposter}

\usepackage{color}
\usepackage{times}
\usepackage{helvet}
\usepackage{palatino}
\selectcolormodel{RGB}
\begin{document}
\definecolor{reddishyellow}{cmyk}{0,0.22,1.0,0.0}
\definecolor{black}{cmyk}{0,0,0.0,1.0}
\definecolor{DrexelBlue}{HTML}{07294D}
\definecolor{Gray}{HTML}{777675}
\typeout{Poster Starts}
\background{
\begin{tikzpicture}[remember picture,overlay]%
\draw (current page.north west)+(-2em,2em) node[anchor=north west] {\includegraphics[height=1.1\textheight]{silhouettes_background}};
\end{tikzpicture}%
}
\newlength{\leftimgwidth}
\begin{poster}%
% Poster Options
{
% Show grid to help with alignment
grid=false,
columns=5,
% Column spacing
colspacing=1em,
% Color style
bgColorOne=DrexelBlue,
bgColorTwo=white,
borderColor=Gray,
headerColorOne=Gray,
headerColorTwo=reddishyellow,
headerFontColor=white,
boxColorOne=white,
%boxColorTwo=lighteryellow,
% Format of textbox
textborder=none,
textborder=rectangle,
% Format of text header
eyecatcher=false,
headerborder=open,
headerheight=0.15\textheight, %11
headershape=rectangle,
headershade=plain,
headerfont=\Large\textsf, %Sans Serif
boxshade=plain,
background=shadeTB,
linewidth=.5pt
}
% Eye Catcher
{% No eye catcher for this poster. (eyecatcher=no above).
}%If an eye catcher is present, the title is centered between eye-catcher and logo.
% Title
{\sf %Sans Serif
%\bf% Serif
\vspace{.25em}
\textbf{Evaluating the Model}\\}
% Authors
{\sf %Sans Serif
\vspace{.25em}John Smith$^{1}$, Harrison Frank$^{2}$\\ %.25
{\small
$^1$ Doctoral Student,USA\\
$^2$ USA}
}
{
\begin{minipage}[t]{50.0em} %28
\begin{tabular}{ll}
\end{tabular}
\vfill
\end{minipage}
}
\tikzstyle{light shaded}=[top color=baposterBGtwo!30!white,bottom color=baposterBGone!30!white,shading=axis,shading angle=30]
\setlength{\leftimgwidth}{0.78em+8.0em}
\newcommand{\colouredcircle}[1]{%
\tikz{\useasboundingbox (-0.2em,-0.32em) rectangle(0.2em,0.32em); \draw[draw=black,fill=baposterBGone!80!black!#1!white,line width=0.03em] (0,0) circle(0.18em);}}
\small
\headerbox{Introduction}{name=data,column=0,row=0,span=2}{
\begin{minipage}[l]{1\textwidth}
\end{minipage}
}
\headerbox{Methods}{name=model,column=0,below=data,span=2}{
\begin{minipage}[l]{1\textwidth}
\end{minipage}
}
\headerbox{Case Study}{name=trends,column=2,row=0,span=3}{
}
\headerbox{Summary}{name=summary,column=2,below=trends,span=3}{
\begin{minipage}[l]{1\textwidth}
\end{minipage}
}

\end{poster}

\end{document}

Return to “Presentations and Posters”

Who is online

Users browsing this forum: No registered users and 0 guests