diff --git a/.gitignore b/.gitignore index 331d2a1..709811e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +## Personal Files and Details +Examples/tex_output/ +Documents/ +personal_details.cls + ## Core latex/pdflatex auxiliary files: *.aux *.lof diff --git a/Examples/presentation.tex b/Examples/presentation.tex index d88b36b..df9ecdd 100644 --- a/Examples/presentation.tex +++ b/Examples/presentation.tex @@ -7,12 +7,12 @@ \makeatletter \def\input@path{{/home/user_name/MyLatexTemplates/}{../}} \newcommand{\maintitle}{A Nice Presentation Title} -\newcommand{\mainsubject}{Example Presentation} +\newcommand{\mainsubject}{Example Presentation} \newcommand{\mainkeywords}{Keywords} \makeatother % 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}{} % Uncomment to disable hyperref package diff --git a/Examples/tex_output/presentation.pdf b/Examples/tex_output/presentation.pdf index ee45222..8a8c0ba 100644 Binary files a/Examples/tex_output/presentation.pdf and b/Examples/tex_output/presentation.pdf differ diff --git a/IEEEfull.bib b/IEEEfull.bib old mode 100755 new mode 100644 diff --git a/Style/xethru_logo_black.pdf b/Style/xethru_logo_black.pdf new file mode 100644 index 0000000..d022ec4 Binary files /dev/null and b/Style/xethru_logo_black.pdf differ diff --git a/Style/xethru_logo_blue.pdf b/Style/xethru_logo_blue.pdf new file mode 100644 index 0000000..fd600a9 Binary files /dev/null and b/Style/xethru_logo_blue.pdf differ diff --git a/Style/xethru_logo_white.pdf b/Style/xethru_logo_white.pdf new file mode 100644 index 0000000..6b24edc Binary files /dev/null and b/Style/xethru_logo_white.pdf differ diff --git a/beamer.preamble.cls b/beamer.preamble.cls index 3346191..12a8983 100644 --- a/beamer.preamble.cls +++ b/beamer.preamble.cls @@ -1,15 +1,13 @@ -% Modified Beamer Style sheet for NGNI publications -% Last edited by: Lieuwe B. Leene 2017 August -% Modified by Lieuwe Leene, June 2019 +% Modified Beamer Style sheet for internal presentations +% Created by: Lieuwe B. Leene 2017 August +% 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 %% beamer.preamble.tex will prepares latex packages/commands -%% beamerthemengni.sty formats the general style of the template fonts & colors -%% beamerouterthemengni.tsy formats slide specific things such as title & Footer - -\usefonttheme{professionalfonts} +%% beamerthemexethru.sty formats the general style of the template fonts & colors +%% beamerouterthemexethru.tsy formats slide specific things such as title & Footer \input{personal_details.cls} %% Load author details @@ -39,10 +37,53 @@ \@esphack} \makeatother -\definecolor{ngniblue}{RGB}{34,57,106} -\definecolor{ngnired}{RGB}{218,30,37} -\definecolor{ngniwhite}{RGB}{240,240,255} -\definecolor{ngniblack}{RGB}{0,0,30} +%\definecolor{ngniblue}{RGB}{34,57,106} +%\definecolor{ngnired}{RGB}{218,30,37} +%\definecolor{ngniwhite}{RGB}{240,240,255} +%\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 % @@ -53,11 +94,13 @@ \mode { - \usetheme{ngni} + \usetheme{xethru} \setbeamercovered{transparent} \setbeamertemplate{items}[circle] } +\newcommand{\highlight}[1]{\textcolor{blue}{#1}} + % % % % % % % % % % % % % % % % % % % % % DOCUMENT - configuration / commands % % % % % % % % % % % % % % % % % % % % % @@ -155,6 +198,24 @@ \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]{ \ifx\nosectiontoc\undefined \else @@ -166,7 +227,7 @@ \newcommand{\linkwebsite}{ \ifx\nolinks\undefined -\href{\Website}{\Website} +\href{https://\Website}{\Website} \else \Website \fi diff --git a/beamerouterthemexethru.sty b/beamerouterthemexethru.sty new file mode 100644 index 0000000..efdd268 --- /dev/null +++ b/beamerouterthemexethru.sty @@ -0,0 +1,79 @@ +% Modified Beamer Style sheet for Xethru publications +% Created by: Lieuwe B. Leene 2020 Jan + +\mode +\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 + diff --git a/beamerthemexethru.sty b/beamerthemexethru.sty new file mode 100644 index 0000000..83bbb12 --- /dev/null +++ b/beamerthemexethru.sty @@ -0,0 +1,55 @@ +% Modified Beamer Style sheet for Xethru publications +% Created by: Lieuwe B. Leene 2020 Jan + +\mode + +\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 + diff --git a/imperial-common.sty b/imperial-common.sty old mode 100755 new mode 100644 diff --git a/impletter.cls b/impletter.cls old mode 100755 new mode 100644 diff --git a/letter.preamble.cls b/letter.preamble.cls index c9f682f..488a657 100644 --- a/letter.preamble.cls +++ b/letter.preamble.cls @@ -7,7 +7,7 @@ % % Information about who sent the letter \dept{\Organisation} -\address{\Address} +\address{\Address} \telephone{\Telephone} %\fax{+44 (0)20 7584 8120} \email{\Email} @@ -15,7 +15,7 @@ \web{\Website} \nametitle{\Salutation} \author{\FirstName~\LastName} -\postnoms{\Creditation} +\postnoms{\Certification} \jobtitle{\JobTitle} %\signature{signature.png} % % % % % % % % % % % % % % % % % % % % % % % % % % % % diff --git a/personal_details.cls b/personal_details.cls index 1c22fb1..668f77d 100644 --- a/personal_details.cls +++ b/personal_details.cls @@ -1,17 +1,16 @@ %% Default Author details used by scripts %% Several fields below can accommodate URL links \makeatletter -\newcommand{\Salutation}{Mr.} -\newcommand{\FirstName}{John} -\newcommand{\LastName}{Dough} -\newcommand{\Certification}{MCA} -\newcommand{\Email}{j.dough@baker.br} -\newcommand{\JobTitle}{Technical Oven Assistant} -\newcommand{\Group}{Main Baking staff for Bread} -\newcommand{\Organisation}{A Baking Company for Bread, Anytown, USA} -\newcommand{\Address}{123 Main St, Anytown, 90210 USA} -\newcommand{\Telephone}{+88 (0)8888 888888} -\newcommand{\LinkedIn}{john-dough} -\newcommand{\Website}{www.baker.br/oven-corner} -\newcommand{\Creditation}{MCA} +\newcommand{\Salutation}{Dr.} +\newcommand{\FirstName}{Lieuwe} +\newcommand{\LastName}{Leene} +\newcommand{\Certification}{PhD MSc} +\newcommand{\Email}{lieuwe.leene@novelda.com} +\newcommand{\JobTitle}{Senior IC Design Engineer} +\newcommand{\Group}{Xethru Engineering Division} +\newcommand{\Organisation}{Novelda} +\newcommand{\Address}{12F Helgesens Gate, Oslo, 0553 Norway} +\newcommand{\Telephone}{+44 (0)7544 757250} +\newcommand{\LinkedIn}{lieuwe-leene} +\newcommand{\Website}{www.xethru.com} \makeatother