Commit e7ae2c87 authored by Alija Sabic's avatar Alija Sabic
Browse files

Update fhtw style, add funding logos

parent bbb657fb
......@@ -3,14 +3,17 @@
\usepackage[subpreambles,sort]{standalone}
\usepackage{preamble}
\title[Web Development]{Full Stack Web Development}
\subtitle{WS2019 - BSA5 Ausgewählte Kapitel}
\author[Alija Sabic, MSc.]{Alija Sabic, MSc.}
\mail{sabic@technikum-wien.at}
\institute{Smart Homes and Assistive Technologies}
\title[Project Overview]{StudyATHome Internationally}
\subtitle{Project Overview}
\author[Martin Deinhofer, Ing. MSc.]{Martin Deinhofer, Ing. MSc.}
\mail{deinhofe@technikum-wien.at}
\institute{UAS Technikum Wien}
\location{Vienna}
\date{\today}
\keywords{Web, WWW, HTML, CSS, JavaScript}
\logo[3cm]{fhtw-logo.pdf}
\keywords{Internationalisation, Assistive Technologies}
\logo[2cm]{fhtw-logo.pdf}
\projectlogo[1cm]{studyAThome_noir.pdf}
\fundinglogo[4cm]{ma23_logo.pdf}
\begin{document}
......
......@@ -13,11 +13,10 @@
% hideothersubsections,%
toclevel=4,%
stoclevel=3,%
style=noir,%
style=fhtw,%
framewidth=3,%
right,%
sidebarwidth=0.23\paperwidth,%
sidebarnavsep=0.4cm,%
showframes,%
noframes,%
sidebarnavsep=1em,%
......
......@@ -10,6 +10,7 @@
\setbeamerfont{author}{size = \Large}
\setbeamerfont{mail}{size = \Large}
\setbeamerfont{institute}{size = \Large}
\setbeamerfont{location}{size = \Large}
\setbeamerfont{date}{size = \Large}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Sections
......
......@@ -84,13 +84,27 @@
% ------------------------------------------------------------------------------------------------------------------- %
\newcommand{\beamer@fhtw@reusestyle}[3]{\ifthenelse{\equal{\beamer@fhtw@style}{#1}}{\setbeamertemplate{#2}[#3]}{}}%
% ------------------------------------------------------------------------------------------------------------------- %
% Title (redefined)
% Logo (redefined)
% ------------------------------------------------------------------------------------------------------------------- %
\RenewDocumentCommand{\logo}{O{1cm} m}{
\def\beamer@fhtw@logowidth{#1}
\def\beamer@fhtw@logofile{#2}
}
% ------------------------------------------------------------------------------------------------------------------- %
% Project logo
% ------------------------------------------------------------------------------------------------------------------- %
\NewDocumentCommand{\projectlogo}{O{1cm} m}{
\def\beamer@fhtw@projectlogowidth{#1}
\def\beamer@fhtw@projectlogofile{#2}
}
% ------------------------------------------------------------------------------------------------------------------- %
% Funding Logo
% ------------------------------------------------------------------------------------------------------------------- %
\NewDocumentCommand{\fundinglogo}{O{1cm} m}{
\def\beamer@fhtw@fundinglogowidth{#1}
\def\beamer@fhtw@fundinglogofile{#2}
}
% ------------------------------------------------------------------------------------------------------------------- %
% Title (redefined)
% ------------------------------------------------------------------------------------------------------------------- %
\RenewDocumentCommand{\title}{O{#2} m}{
......@@ -105,6 +119,12 @@
\def\insertauthor{#2}
}
% ------------------------------------------------------------------------------------------------------------------- %
% Location
% ------------------------------------------------------------------------------------------------------------------- %
\NewDocumentCommand{\location}{m}{
\def\insertlocation{#1}
}
% ------------------------------------------------------------------------------------------------------------------- %
% Mail
% ------------------------------------------------------------------------------------------------------------------- %
\newcommand{\mail}[1]{
......
......@@ -37,34 +37,58 @@
% Title Page
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{title page}{fhtw}{
\addtocounter{framenumber}{-1}%
\addtocounter{framenumber}{-1}%
\setbeamerfont{title}{size = \Huge}
\setbeamerfont{subtitle}{size = \LARGE, series=\normalfont}
\setbeamerfont{author}{size = \normalsize}
\setbeamerfont{mail}{size = \normalsize}
\setbeamerfont{location}{size = \normalsize}
\setbeamerfont{date}{size = \normalsize}
\ifthenelse{\equal{\beamer@fhtw@sidebarside}{left}}{%
\def\ident{\beamer@fhtw@sidebarwidth}%
}{%
\def\ident{4mm}%
}%
\begin{tikzpicture}[%
shift={(\ident,0)},%
base/.style={draw=\beamer@fhtw@frames,text width=0.85\textwidth,anchor=north west,align=left}%
]%
\pgfmathsetmacro\residualwidth{\paperwidth-1.35*\beamer@fhtw@framewidth cm}%
\ifthenelse{\equal{\beamer@fhtw@sidebarside}{left}}{%
\def\ident{\beamer@fhtw@sidebarwidth}%
}{%
\def\ident{4mm}%
}%
\useasboundingbox (0,0) rectangle(\paperwidth,\paperheight);%
\begin{tikzpicture}[%
shift={(\ident,0)},%
base/.style={draw=\beamer@fhtw@frames,text width=0.85\textwidth,anchor=north west,align=left}%
]%
\pgfmathsetmacro\residualwidth{\paperwidth-1.35*\beamer@fhtw@framewidth cm}%
\useasboundingbox (0,0) rectangle(\paperwidth,\paperheight);%
% Title
\usebeamercolor[fg]{palette primary shaded}
\node[base,text width=\residualwidth,anchor=south west] at ($(current page.north west)+(0,-7em)$) {\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle};%
% Subtitle
\usebeamercolor[fg]{normaltext}%
\node[base,text width=\residualwidth] at ($(current page.north west)+(0,-8em)$) {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertshortsubtitle};%
% \usebeamercolor[fg]{palette primary shaded}
\node[base,text width=\residualwidth,anchor=south west] at ($(current page.north west)+(0,-8em)$) {\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle};%
\usebeamercolor[fg]{normaltext}%
\node[base,text width=\residualwidth] at ($(current page.north west)+(0,-9em)$) {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertshortsubtitle};%
\usebeamercolor[fg]{palette tertiary shaded}%
% Author
\node[base,text width=\residualwidth,anchor=south west] at ($(current page.south west)+(0,11em)$) {\usebeamerfont{author}\insertauthor};%
% Mail
\node[base,text width=\residualwidth,anchor=south west] at ($(current page.south west)+(0,9.5em)$) {\usebeamerfont{mail}\insertmail};%
% Date
\node[base,text width=\residualwidth,anchor=south west,align=right] at ($(current page.south west)+(0,7em)$) {\usebeamerfont{location}\insertlocation, \usebeamerfont{date}\insertdate};%
\usebeamercolor[fg]{palette tertiary shaded}%
\node[base,text width=\residualwidth,anchor=south west,text height=0.85em] at ($(current page.south west)+(0,6.6em)$) {\usebeamerfont{author}\insertauthor};%
\node[base,text width=\residualwidth,anchor=south west,text height=0.85em] at ($(current page.south west)+(0,4.9em)$) {\usebeamerfont{mail}\insertmail};%
\node[base,text width=\residualwidth,anchor=south west,text height=0.85em] at ($(current page.south west)+(0,3.2em)$) {\usebeamerfont{institute}\insertinstitute};%
\node[base,text width=\residualwidth,anchor=south west,text height=0.85em] at ($(current page.south west)+(0,1.5em)$) {\usebeamerfont{date}\insertdate};%
\end{tikzpicture}%
\insertlogo%
% Funding
% StudyATHome Internationally
\node[anchor=south west,draw=\beamer@fhtw@frames] at ($(current page.south west)+(0.01\paperwidth,0.05\paperheight)$) {%
\includegraphics[width=\beamer@fhtw@projectlogowidth]{\beamer@fhtw@projectlogofile}%
};%
% MA23
\node[anchor=south west] at ($(current page.south west)+(\beamer@fhtw@projectlogowidth+0.035\paperwidth,0.2\paperheight)$) {\tiny Funded By};
\node[anchor=south west,draw=\beamer@fhtw@frames] at ($(current page.south west)+(\beamer@fhtw@projectlogowidth+0.035\paperwidth,0.1\paperheight)$) {%
\includegraphics[width=\beamer@fhtw@fundinglogowidth]{\beamer@fhtw@fundinglogofile}%
};%
\node[anchor=south west] at ($(current page.south west)+(\beamer@fhtw@projectlogowidth+0.035\paperwidth,0.065\paperheight)$) {\tiny Grant Nr.: 22-07};
% FHTW
\node[anchor=south east,draw=\beamer@fhtw@frames] at ($(current page.south east)+(-1.3*\beamer@fhtw@framewidth,0.085\paperheight)$) {%
\includegraphics[width=\beamer@fhtw@logowidth]{\beamer@fhtw@logofile}%
};%
\end{tikzpicture}%
\insertlogo%
}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Canvas
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment