Skip to content

Instantly share code, notes, and snippets.

@translunar
Created April 2, 2015 16:37
Show Gist options
  • Save translunar/edc966547fe272bebf77 to your computer and use it in GitHub Desktop.
Save translunar/edc966547fe272bebf77 to your computer and use it in GitHub Desktop.
%==============================================================================
% Beamer style for the poster template posted at
% www.nathanieljohnston.com/index.php/2009/08/latex-poster-template
%
% Created by the Computational Physics and Biophysics Group at Jacobs University
% https://teamwork.jacobs-university.de:8443/confluence/display/CoPandBiG/LaTeX+Poster
% Modified by Nathaniel Johnston (nathaniel@nathanieljohnston.com) in August 2009
% =============================================================================
\ProvidesPackage{beamerthemeMWEConfPoster}
\RequirePackage{tikz} % for drawing the nice rounded boxes
\usetikzlibrary{arrows,backgrounds}
\RequirePackage[T1]{fontenc}
\RequirePackage{lmodern}
\RequirePackage{textcomp}
\RequirePackage{amsmath,amssymb}
\usefonttheme{professionalfonts}
\newcommand{\makeruleinbox}{{\usebeamercolor[bg]{block alerted title}\centering\hspace*{-0.7cm}\rule{\inboxrule}{0.5cm}}}
\usepackage{ragged2e}
%-----------------------------------------------------------
% Define a whole bunch of custom colours and fonts
%-----------------------------------------------------------
\definecolor{lgreen} {RGB}{180,210,100}
\definecolor{dblue} {RGB}{20,66,129}
\definecolor{ddblue} {RGB}{11,36,69}
\definecolor{lred} {RGB}{220,0,0}
\definecolor{nred} {RGB}{224,0,0}
\definecolor{norange}{RGB}{230,120,20}
\definecolor{nyellow}{RGB}{255,221,0}
\definecolor{ngreen} {RGB}{98,158,31}
\definecolor{ngold} {RGB}{247,198,37}
\definecolor{dgreen} {RGB}{78,138,21}
\definecolor{nblue} {RGB}{28,130,185}
\definecolor{lblue} {RGB}{125,159,209}
\definecolor{jblue} {RGB}{20,50,100}
% set the basic colors
\setbeamercolor{palette primary} {fg=black,bg=white}
\setbeamercolor{palette secondary} {fg=black,bg=white}
\setbeamercolor{palette tertiary} {bg=jblue,fg=white}
\setbeamercolor{palette quaternary}{fg=black,bg=white}
\setbeamercolor{structure}{fg=jblue}
\setbeamercolor{titlelike} {bg=jblue,fg=white}
\setbeamercolor{frametitle} {bg=jblue!10,fg=jblue}
\setbeamercolor{cboxb}{fg=black,bg=jblue}
\setbeamercolor{cboxr}{fg=black,bg=red}
% set colors for itemize/enumerate
\setbeamercolor{item}{fg=jblue}
\setbeamercolor{item projected}{fg=dblue,bg=ngold}
% set colors for blocks
\setbeamercolor{block title}{fg=dblue,bg=white}
\setbeamercolor{block body}{fg=black,bg=white}
% set colors for alerted blocks (blocks with frame)
\setbeamercolor{block alerted title}{fg=black,bg=ngold}
\setbeamercolor{block alerted body}{fg=dblue,bg=white}
% set the fonts
\setbeamerfont{section in head/foot}{series=\bfseries}
\setbeamerfont{block title}{series=\bfseries}
\setbeamerfont{block alerted title}{series=\bfseries}
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamerfont{frametitle}{size=\Large}
% set some beamer theme options
\setbeamertemplate{title page}[default][colsep=-4bp,rounded=true]
\setbeamertemplate{sections/subsections in toc}[square]
\setbeamertemplate{items}[circle]
\setbeamertemplate{blocks}[width=0.0]
\beamertemplatenavigationsymbolsempty
% set bibliography style
\setbeamertemplate{bibliography item}[text]
\setbeamercolor{bibliography item}{fg=black,bg=white}
\setbeamercolor{bibliography entry author}{fg=black,bg=white}
\setbeamercolor{bibliography item}{fg=black,bg=white}
% define some length variables that are used by the template
\newlength{\inboxwd}
\newlength{\iinboxwd}
\newlength{\inboxrule}
\makeatletter
\makeatother
%==============================================================================
% build the poster title
%==============================================================================
\setbeamertemplate{headline}{
\leavevmode
\begin{columns}
% Here is where you adjust the space devoted to the title, logo, and authors.
% Make sure that the three columns add up to 1.0.
\begin{column}{0.6\linewidth}
% Adjust vskip so baselines of first line on left and right of logo line up.
\vskip0.5cm
\begin{flushright}
%\includegraphics[angle=270,width=0.1\paperwidth]{head}\\[1ex]
% Here is where you adjust the sizes of the title and subtitle
\usebeamercolor{title in headline}{\color{fg} \textbf{\veryHuge{\inserttitle}}\\[1ex]}
\usebeamercolor{subtitle in headline}{\color{fg} \textbf{\LARGE{\insertsubtitle}}\\[1ex]}
\vskip0.8cm
\end{flushright}
\end{column}
\begin{column}{0.08\linewidth}
\vskip0.5cm
\centering
%\includegraphics[width=1.0\linewidth]{resources/logo.pdf}\\[1ex]
\end{column}
\begin{column}{0.3\linewidth}
% Adjust vskip so baselines of first line on left and right of logo line up.
\vskip2cm
\begin{flushleft}
%\includegraphics[angle=270,width=0.1\paperwidth]{head}\\[1ex]
\usebeamercolor{author in headline}{\color{fg} \Large{\insertauthor}\\[1ex]}
\usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}
\end{flushleft}
\vskip0.8cm
\end{column}
\vspace{0.8cm}
\end{columns}
\vspace{0.3in}
\hspace{0.5in}\begin{beamercolorbox}[wd=47in,colsep=0.15cm]{cboxb}\end{beamercolorbox}
\vspace{-0.3in}
}
% Block definition
\setbeamertemplate{block begin}
{
\par\vskip\medskipamount
\begin{beamercolorbox}[colsep*=0ex,dp={2ex}]{block title}
\vskip-0.25cm
\usebeamerfont{block title}\large\insertblocktitle
%\begin{flushleft}
\vskip-1cm
\rule{\linewidth}{3mm}
%\begin{tikzpicture}[remember picture,overlay]
%\shade [inner color=gray,outer color=white]
%(0,0) rectangle (\textwidth,0.1cm);
%\end{tikzpicture}
%\end{flushleft}
\end{beamercolorbox}
{\parskip0pt\par}
\ifbeamercolorempty[bg]{block title}
{}
{\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}
\usebeamerfont{block body}
\vskip-0.5cm
\begin{beamercolorbox}[colsep*=0ex,vmode]{block body}
\justifying
}
\setbeamertemplate{block end}
{
\end{beamercolorbox}
\vskip\smallskipamount
}
% Alert block definition (with frame)
\setbeamertemplate{block alerted begin}
{
\par\vskip\medskipamount
\begin{beamercolorbox}[sep=0ex,rounded=true,center,dp={2ex}]{block alerted title}
\vskip0.01cm
\usebeamerfont{block title}\large\insertblocktitle
\end{beamercolorbox}
{\parskip0pt\par}
\usebeamerfont{block body}
\vskip-0.8cm
\begin{beamercolorbox}[sep=0.5cm, rounded=true,center]{block alerted title}
\setlength{\inboxwd}{\linewidth}
\addtolength{\inboxwd}{-1cm}
\begin{beamercolorbox}[rounded=true,wd={\inboxwd},center]{block alerted body}
\setlength{\iinboxwd}{\inboxwd}
\setlength{\inboxrule}{\inboxwd}
\addtolength{\iinboxwd}{-0.5cm}
\addtolength{\inboxrule}{0.5cm}
\begin{center}
\begin{minipage}{\iinboxwd}
\justifying
}
\setbeamertemplate{block alerted end}
{
\end{minipage}
\end{center}
\end{beamercolorbox}
\end{beamercolorbox}
\vskip\smallskipamount
}
\documentclass[final]{beamer} % beamer 3.10: do NOT use option hyperref={pdfpagelabels=false} !
\mode<presentation> { %% check http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php for examples
\usetheme{MWEConfPoster} %% you should define your own theme e.g. for big headlines using your own logos
}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath,amsthm,amssymb,latexsym}
\usefonttheme[]{serif}
\boldmath
\usepackage[orientation=landscape,size=a0,scale=1.4,grid,debug]{beamerposter} % e.g. for DIN-A0 poster
%\usepackage[orientation=portrait,size=a1,scale=1.4,grid,debug]{beamerposter} % e.g. for DIN-A1 poster, with optional grid and debug output
%\usepackage[size=custom,width=200,height=120,scale=2,debug]{beamerposter} % e.g. for custom size poster
%\usepackage[orientation=portrait,size=a0,scale=1.0,printer=rwth-glossy-uv.df]{beamerposter} % e.g. for DIN-A0 poster with rwth-glossy-uv printer check
\title[MWE]{MWE poster title}
\subtitle{A minimum working example}
\author[Woods \& Christian]{John~O.~Woods, Ph.D.;\thanks{test.email@wvu.edu} Andrew~Rhodes; Jordan~L.~Sell; and John~A.~Christian, Ph.D.}
\institute[West Virginia University]{Department of Mechanical and Aerospace Engineering, West Virginia University}
\date{\today}
\begin{document}
\begin{frame}{}
\vfill
\end{frame}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment