Minor cleanup and added new beamer style

This commit is contained in:
Lieuwe Leene 2020-10-19 11:00:01 +02:00
parent 62dcf1888c
commit 1128b8afe7
No known key found for this signature in database
GPG Key ID: FD6DB59EC3B879CD
14 changed files with 230 additions and 31 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
## Personal Files and Details
Examples/tex_output/
Documents/
personal_details.cls
## Core latex/pdflatex auxiliary files: ## Core latex/pdflatex auxiliary files:
*.aux *.aux
*.lof *.lof

View File

@ -7,12 +7,12 @@
\makeatletter \makeatletter
\def\input@path{{/home/user_name/MyLatexTemplates/}{../}} \def\input@path{{/home/user_name/MyLatexTemplates/}{../}}
\newcommand{\maintitle}{A Nice Presentation Title} \newcommand{\maintitle}{A Nice Presentation Title}
\newcommand{\mainsubject}{Example Presentation} \newcommand{\mainsubject}{Example Presentation}
\newcommand{\mainkeywords}{Keywords} \newcommand{\mainkeywords}{Keywords}
\makeatother \makeatother
% Uncomment if Place Table of Contents only at start % Uncomment if Place Table of Contents only at start
% By default TOC outline will be placed at every section % By default TOC outline will be placed at every section
%\newcommand{\nosectiontoc}{} %\newcommand{\nosectiontoc}{}
% Uncomment to disable hyperref package % Uncomment to disable hyperref package

Binary file not shown.

0
IEEEfull.bib Executable file → Normal file
View File

BIN
Style/xethru_logo_black.pdf Normal file

Binary file not shown.

BIN
Style/xethru_logo_blue.pdf Normal file

Binary file not shown.

BIN
Style/xethru_logo_white.pdf Normal file

Binary file not shown.

View File

@ -1,15 +1,13 @@
% Modified Beamer Style sheet for NGNI publications % Modified Beamer Style sheet for internal presentations
% Last edited by: Lieuwe B. Leene 2017 August % Created by: Lieuwe B. Leene 2017 August
% Modified by Lieuwe Leene, June 2019 % Modified by Lieuwe Leene, Jan. 2020
%% Before using the beamer preamble which prepares a standardised NGNI format. %% Before using the beamer preamble which prepares a standardised XETHRU format.
%% There are a few comments regarding the file structure %% There are a few comments regarding the file structure
%% beamer.preamble.tex will prepares latex packages/commands %% beamer.preamble.tex will prepares latex packages/commands
%% beamerthemengni.sty formats the general style of the template fonts & colors %% beamerthemexethru.sty formats the general style of the template fonts & colors
%% beamerouterthemengni.tsy formats slide specific things such as title & Footer %% beamerouterthemexethru.tsy formats slide specific things such as title & Footer
\usefonttheme{professionalfonts}
\input{personal_details.cls} %% Load author details \input{personal_details.cls} %% Load author details
@ -39,10 +37,53 @@
\@esphack} \@esphack}
\makeatother \makeatother
\definecolor{ngniblue}{RGB}{34,57,106} %\definecolor{ngniblue}{RGB}{34,57,106}
\definecolor{ngnired}{RGB}{218,30,37} %\definecolor{ngnired}{RGB}{218,30,37}
\definecolor{ngniwhite}{RGB}{240,240,255} %\definecolor{ngniwhite}{RGB}{240,240,255}
\definecolor{ngniblack}{RGB}{0,0,30} %\definecolor{ngniblack}{RGB}{0,0,30}
%\definecolor{xethrublack}{RGB}{20,0,20}
%\definecolor{xethruwhite}{RGB}{255,240,255}
%\definecolor{xethrublue}{RGB}{47,26,69}
% % % % % % % % % % % % % % %
% BEAMER - font selection %
% % % % % % % % % % % % % % %
\usepackage{ifxetex}
\ifxetex
\usepackage{fontspec} % Required for specifying custom fonts in XeLaTeX
\providecommand{\fontscale}{1} % load default if not set
\setmainfont
[Path = ../../Fonts/IBM-Plex-Sans/,
Scale=\fontscale,
UprightFont = *-Regular,
ItalicFont = *-Italic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic,
FontFace = {t}{n}{*-Thin},
FontFace = {t}{it}{*-ThinItalic},
FontFace = {l}{n}{*-Light},
FontFace = {l}{it}{*-LightItalic},
FontFace = {sb}{n}{*-SemiBold},
FontFace = {sb}{it}{*-SemiBoldItalic},
FontFace = {m}{n}{*-Medium},
FontFace = {m}{it}{*-MediumItalic},
FontFace = {b}{n}{*-Bold},
FontFace = {b}{it}{*-BoldItalic},
Ligatures=TeX]
{IBMPlexSans}
\renewcommand{\baselinestretch}{\fontscale}
\setbeamerfont{frametitle}{family=\fontspec{IBMPlexSans}}
\setbeamerfont{framesubtitle}{family=\fontspec{IBMPlexSans}}
\setbeamerfont{title}{family=\fontspec{IBMPlexSans}}
\setbeamerfont{caption}{family=\fontspec{IBMPlexSans}}
\setbeamerfont{author}{family=\fontspec{IBMPlexSans}}
\setbeamerfont{institute}{family=\fontspec{IBMPlexSans}}
\setbeamerfont{date}{family=\fontspec{IBMPlexSans}}
\else
\usefonttheme{professionalfonts}
\fi
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% BEAMER - configuration / settings % % BEAMER - configuration / settings %
@ -53,11 +94,13 @@
\mode<presentation> \mode<presentation>
{ {
\usetheme{ngni} \usetheme{xethru}
\setbeamercovered{transparent} \setbeamercovered{transparent}
\setbeamertemplate{items}[circle] \setbeamertemplate{items}[circle]
} }
\newcommand{\highlight}[1]{\textcolor{blue}{#1}}
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% DOCUMENT - configuration / commands % % DOCUMENT - configuration / commands %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
@ -155,6 +198,24 @@
\end{minipage} \end{minipage}
} }
\newcommand{\sectionslide}[1]{
\section{#1}
\begin{frame}
\centering
\usebeamerfont{title}\secname\par
\end{frame}
}
\newcommand{\subsectionslide}[1]{
\subsection{#1}
\begin{frame}
\centering
\usebeamerfont{subtitle} \secname \par
\bigskip
\usebeamerfont{title} \subsecname\par
\end{frame}
}
\newcommand{\inserttoc}[0]{ \newcommand{\inserttoc}[0]{
\ifx\nosectiontoc\undefined \ifx\nosectiontoc\undefined
\else \else
@ -166,7 +227,7 @@
\newcommand{\linkwebsite}{ \newcommand{\linkwebsite}{
\ifx\nolinks\undefined \ifx\nolinks\undefined
\href{\Website}{\Website} \href{https://\Website}{\Website}
\else \else
\Website \Website
\fi \fi

View File

@ -0,0 +1,79 @@
% Modified Beamer Style sheet for Xethru publications
% Created by: Lieuwe B. Leene 2020 Jan
\mode<presentation>
\newcommand{\FrontLogoA}{Style/xethru_logo_blue.pdf}
\newcommand{\FootLogoA}{Style/xethru_logo_white.pdf}
%\newcommand{\BaseBackground}{Style/KM1801VM2_I.png}
\newlength{\marginlength}%
\setlength{\marginlength}{0.5cm}%
%% This formats the title page
\setbeamercolor{basic}{bg=white,fg=white}
\defbeamertemplate*{title page}{xethrutheme}{
\begin{beamercolorbox}[wd=\paperwidth]{basic}
%% Insert Background Here
\hspace{\marginlength} \parbox[c]{\dimexpr (\paperwidth-2\marginlength) \relax}{ %
\includegraphics[height=0.15\paperheight, trim={0 0 0 5cm}]{\FrontLogoA} %
}
\vspace{1.5\marginlength} \\
\hspace{\marginlength} \parbox[c]{\textwidth}{%
\begin{flushleft}
\usebeamercolor[black]{title}
\usebeamerfont{title}\inserttitle\par
\usebeamerfont{subtitle}\insertsubtitle\par
\bigskip
\usebeamerfont{author}\insertauthor\par
\bigskip
\usebeamerfont{institute}\insertinstitute\par
\end{flushleft}}
\end{beamercolorbox}
\vskip 0pt%
}
%% This formats the the footer on every page
\defbeamertemplate*{footline}{xethrutheme}{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=5ex,dp=2.5ex]{footnote}%
\usebeamerfont{footnote}
\hspace{5mm} \today
\hfill
\insertsubtitle
\hfill
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\inserttitlegraphic \hspace*{2ex}
\end{beamercolorbox}}%
\vskip 0pt%
}
\ifx\nosectiontoc\undefined
\AtBeginSection[]
{
\disablefooter
\begin{frame}{Outline}
\tableofcontents[currentsection]
\end{frame}
\enablefooter{\inserttitle}
}
\fi
\newcommand{\enablefooter}[1]{
%% Put the Footer Subtitle Here
\subtitle{#1}
%% This shows some Footer graphics
\titlegraphic{\includegraphics[height=4ex,trim={0 5cm 0 -4cm}]{\FootLogoA}}
}
\newcommand{\disablefooter}[0]{
\subtitle{}
\titlegraphic{}
}
\mode
<all>

55
beamerthemexethru.sty Normal file
View File

@ -0,0 +1,55 @@
% Modified Beamer Style sheet for Xethru publications
% Created by: Lieuwe B. Leene 2020 Jan
\mode<presentation>
\newif\ifbeamer@secheader
\beamer@secheaderfalse
\DeclareOptionBeamer{secheader}{\beamer@secheadertrue}
\ProcessOptionsBeamer
\useoutertheme{xethru}
% color definitions
\definecolor{xethrublack}{RGB}{20,0,20}
\definecolor{xethruwhite}{RGB}{255,240,255}
\definecolor{xethrusecondary}{RGB}{10,10,40}
% footer styling
\setbeamerfont{footnote}{size=\scriptsize}
\setbeamercolor{footnote}{fg=white,bg=xethrusecondary}
% set the title color
\setbeamercolor{title}{fg=xethruwhite}
\setbeamerfont{title}{size=\LARGE}
\setbeamercolor{author}{fg=xethruwhite}
\setbeamerfont{author}{size=\normalsize}
\setbeamercolor{institute}{fg=xethruwhite}
\setbeamerfont{institute}{size=\normalsize}
% set colors for specific elements
\setbeamercolor{block}{fg=xethrublack}
\setbeamercolor{block title}{fg=xethrublack} % adjust title color to poppy
\setbeamercolor{block item}{fg=xethrublack}
\setbeamercolor{itemize item}{fg=xethrublack} % adjusts the bullet color
% frame title styling
\setbeamertemplate{frametitle}{\vspace{1.5em} \color{xethrublack} \insertframetitle}
\setbeamerfont{frametitle}{size=\LARGE,series=\bfseries}
% frame content styling
\setbeamersize{text margin left=1.5em,text margin right=3em}
%define first bullet symbol
\usesubitemizeitemtemplate{%
\tiny\raise1.5pt\hbox{\color{xethrusecondary}$\circ$}%
}
%define second bullet symbol
\usesubsubitemizeitemtemplate{%
\tiny\raise1.5pt\hbox{\color{xethrusecondary}$\blacktriangleright$}%
}
\ifbeamer@secheader\else\setbeamertemplate{headline}[default]\fi
\mode
<all>

0
imperial-common.sty Executable file → Normal file
View File

0
impletter.cls Executable file → Normal file
View File

View File

@ -7,7 +7,7 @@
% %
% Information about who sent the letter % Information about who sent the letter
\dept{\Organisation} \dept{\Organisation}
\address{\Address} \address{\Address}
\telephone{\Telephone} \telephone{\Telephone}
%\fax{+44 (0)20 7584 8120} %\fax{+44 (0)20 7584 8120}
\email{\Email} \email{\Email}
@ -15,7 +15,7 @@
\web{\Website} \web{\Website}
\nametitle{\Salutation} \nametitle{\Salutation}
\author{\FirstName~\LastName} \author{\FirstName~\LastName}
\postnoms{\Creditation} \postnoms{\Certification}
\jobtitle{\JobTitle} \jobtitle{\JobTitle}
%\signature{signature.png} %\signature{signature.png}
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %

View File

@ -1,17 +1,16 @@
%% Default Author details used by scripts %% Default Author details used by scripts
%% Several fields below can accommodate URL links %% Several fields below can accommodate URL links
\makeatletter \makeatletter
\newcommand{\Salutation}{Mr.} \newcommand{\Salutation}{Dr.}
\newcommand{\FirstName}{John} \newcommand{\FirstName}{Lieuwe}
\newcommand{\LastName}{Dough} \newcommand{\LastName}{Leene}
\newcommand{\Certification}{MCA} \newcommand{\Certification}{PhD MSc}
\newcommand{\Email}{j.dough@baker.br} \newcommand{\Email}{lieuwe.leene@novelda.com}
\newcommand{\JobTitle}{Technical Oven Assistant} \newcommand{\JobTitle}{Senior IC Design Engineer}
\newcommand{\Group}{Main Baking staff for Bread} \newcommand{\Group}{Xethru Engineering Division}
\newcommand{\Organisation}{A Baking Company for Bread, Anytown, USA} \newcommand{\Organisation}{Novelda}
\newcommand{\Address}{123 Main St, Anytown, 90210 USA} \newcommand{\Address}{12F Helgesens Gate, Oslo, 0553 Norway}
\newcommand{\Telephone}{+88 (0)8888 888888} \newcommand{\Telephone}{+44 (0)7544 757250}
\newcommand{\LinkedIn}{john-dough} \newcommand{\LinkedIn}{lieuwe-leene}
\newcommand{\Website}{www.baker.br/oven-corner} \newcommand{\Website}{www.xethru.com}
\newcommand{\Creditation}{MCA}
\makeatother \makeatother