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

Update theme

parent 6a69ba9f
\documentclass{beamer}
% \usepackage[texcoord,grid,gridunit=mm,gridcolor=red!10,subgridcolor=green!10]{eso-pic}
\usepackage{pgfpages} % multi screen mode
\usepackage[subpreambles,sort]{standalone}
\usepackage{preamble}
% Enable two-screen mode only for notes
\makeatletter
\@ifclasswith{beamer}{notes}{\setbeameroption{show notes on second screen=right}}{}
\makeatother
% ----------------------------------------------------------------------------------------------------------------------------
% Bibliography/References
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[square,numbers,sort]{natbib}
% TODO: provide examples
\usepackage{usebib}
\bibinput{references}
\setlength{\bibsep}{1em}
% \bibliographystyle{./../\bstpath IEEEtranSNC}
\bibliographystyle{IEEEtranSNC}
% \interfootnotelinepenalty=10000
% ----------------------------------------------------------------------------------------------------------------------------
% Languagues
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[french,german,english]{babel}
% ----------------------------------------------------------------------------------------------------------------------------
% Styles & Packages
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage{fhtw}
\usepackage{custom}
\usepackage{lipsum}
\usepackage{adjustbox}
\usepackage{appendixnumberbeamer}
% Colors
\def\primarycolor{tw-blue}
\def\secondarycolor{tw-green}
\def\accentcolor{tw-gray}
% ----------------------------------------------------------------------------------------------------------------------------
% Hyperlinks
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage{hyperref}
\hypersetup{
% colorlinks = false, linkbordercolor = {white}, linkbordercolor = tw-green!50, linkbordercolor = white,
% anchorcolor= tw-green, anchorcolor= white!0, citebordercolor = tw-gray!50, urlbordercolor = tw-blue!50,
colorlinks = true,
anchorcolor = black,
linkcolor = \primarycolor,
citecolor = \primarycolor,
urlcolor = \primarycolor
}
% ----------------------------------------------------------------------------------------------------------------------------
% Customization
% ----------------------------------------------------------------------------------------------------------------------------
% Title
\makeatletter \def\currentdate{\@date} \makeatother
\def\title{StudyATHome Internationally\\ Project Overview}
\def\titletext{\href{https://studyathome.technikum-wien.at/}{StudyATHome Internationally}\\ Project Overview}
\def\shorttitle{\hspace{1.75em}Project Overview}
\def\authorname{Martin Deinhofer, Alija Sabic}
\def\authortext{\href{mailto:deinhofe@technikum-wien.at;sabic@technikum-wien.at?subject=\title}{Ausgef\"uhrt von: \authorname}}
%\def\studentid{Personenkennzeichen: 1234567890}
%\def\supervisortitle{Betreuer:}
%\def\supervisor{1\textsuperscript{st} Supervisor}
%\def\secondsupervisor{2\textsuperscript{nd} Supervisor}
\def\place{Vienna}
% Misc
\author{\authorname}
% ----------------------------------------------------------------------------------------------------------------------------
% Units
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[binary-units]{siunitx}
\usepackage{xfrac}
\sisetup{quotient-mode=fraction,fraction-function=\sfrac,product-units=single,exponent-product=\times}
% ----------------------------------------------------------------------------------------------------------------------------
% Tables
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage{booktabs,tabu}
\usepackage{multirow}
\usepackage{multicol}
% ----------------------------------------------------------------------------------------------------------------------------
% Acronyms
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[hyperref=true]{acro}
\acsetup{first-long-format=\itshape}
\input{acronyms}
% ----------------------------------------------------------------------------------------------------------------------------
% ----------------------------------------------------------------------------------------------------------------------------
% Required for correct coloring of frames created because of `allowframebreaks` option.
\setbeamercolor{frametitle}{fg=tw-blue}
\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}
\date{\today}
\keywords{Web, WWW, HTML, CSS, JavaScript}
\logo[3cm]{fhtw-logo.pdf}
\begin{document}
\def\titlepagesetup{}
\def\insertemptytitlepage{}
\def\biblio{}
\def\bibliolist{}
% Add acronyms used in images or not used at all by adding to the list
\acuse{FHTW}
% ----------------------------------------------------------------------------------------------------------------------------
% Title & ToC
% ----------------------------------------------------------------------------------------------------------------------------
\begin{frame}[plain]
\titlepage
\addtocounter{framenumber}{-1}
\end{frame}
\begin{frame}[plain]{Outline}
\tableofcontents[subsubsectionstyle=hide]
\addtocounter{framenumber}{-1}
\end{frame}
% ----------------------------------------------------------------------------------------------------------------------------
% Intro
% ----------------------------------------------------------------------------------------------------------------------------
% \section{Agenda}
\begin{frame}[plain]
\titlepage
\end{frame}
% \begin{frame}{Agenda}
% \begin{itemize}\itemsep3em
% \item<1-> Project overview
% \item<2-> Identify synergies and potential problems
% \item<3-> Next steps
% \end{itemize}
% \end{frame}
\begin{frame}[plain]{Outline}
\tableofcontents[sectionstyle=show,subsectionstyle=hide,subsubsectionstyle=hide]
\addtocounter{framenumber}{-1}
\end{frame}
% ----------------------------------------------------------------------------------------------------------------------------
% Main Content
......
This image diff could not be displayed because it is too large. You can view the blob instead.
......@@ -63,8 +63,8 @@
% NOTE: The recommended LaTeX command to invoke a control entry type is:
%
%\makeatletter
%\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}}
%\def\@bstctlcite[#1]#2{\@bsphack
%\def{\bstctlcite}{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}}
%\def{\@bstctlcite}[#1]#2{\@bsphack
% \@for\@citeb:=#2\do{%
% \edef\@citeb{\expandafter\@firstofone\@citeb}%
% \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}%
......
......@@ -2,75 +2,129 @@
\ProvidesPackage{custom}[2018/11/23 Slide Customization]
\RequirePackage{twcolors}
\RequirePackage{listings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Listings
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\lstloadlanguages{[ISO]C++}
% \lst@Key{matchrangestart}{f}{\lstKV@SetIf{#1}\lst@ifmatchrangestart}
% \def\lst@SkipToFirst{%
% \lst@ifmatchrangestart\c@lstnumber=\numexpr-1+\lst@firstline\fi
% \ifnum \lst@lineno<\lst@firstline
% \def\lst@next{\lst@BeginDropInput\lst@Pmode
% \lst@Let{13}\lst@MSkipToFirst
% \lst@Let{10}\lst@MSkipToFirst}%
% \expandafter\lst@next
% \else
% \expandafter\lst@BOLGobble
% \fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% C Syntax Highlighting
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{c-violett}{RGB}{120,28,206}
\lstdefinestyle{c} {
language={[ISO]C++},
frame=shadowbox,
framexleftmargin=8mm,
rulesepcolor=\color{\accentcolor!50},
basicstyle=\ttfamily\footnotesize,
commentstyle=\color{\secondarycolor},
stringstyle=\color{ttw-violett},
keywordstyle=\bfseries\color{\primarycolor},
directivestyle=\color{c-violett},
emphstyle=\color{c-violett},
captionpos=b,
numbers=left,
numberstyle=\ttfamily\color{\accentcolor},
tabsize=3,
morekeywords={nullptr},
% matchrangestart=t,
showlines=true
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Sliced Circular Progressbar
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% --------------------------------------------------------------------------------------------------------------------------------
% Title Page Information
% --------------------------------------------------------------------------------------------------------------------------------
% \RequirePackage{datetime}
% \def\currentdate{\@date}
% \makeatletter \def\currentdate{\@date} \makeatother
% \def\title{Presentation Title}
% \def\subtitle{Presentation Subtitle}
% \def\shorttitle{\hspace{1.75em}\title}
% \def\authorname{Walter Subject}
% \def\authortext{\href{mailto:me@technikum-wien.at;other@technikum-wien.at?subject=\title}{Ausgef\"uhrt von: \authorname}}
% \def\studentid{Personenkennzeichen: 1234567890}
% \def\supervisortitle{Betreuer:}
% \def\supervisor{1\textsuperscript{st} Supervisor}
% \def\secondsupervisor{2\textsuperscript{nd} Supervisor}
% \def\place{Vienna}
% --------------------------------------------------------------------------------------------------------------------------------
% Colors
% --------------------------------------------------------------------------------------------------------------------------------
\def\primarycolor{tw-blue}
\def\secondarycolor{tw-green}
\def\accentcolor{tw-gray}
% ----------------------------------------------------------------------------------------------------------------------------
% Font Style
% ----------------------------------------------------------------------------------------------------------------------------
\RequirePackage{fontspec}
% \setmainfont{Ubuntu Thin}
\setsansfont{Ubuntu Light}[Scale=0.85]
\setmonofont{Fira Mono Regular}[Scale=0.85]
\RequirePackage{xeCJK}
\setCJKmainfont{Noto Sans SC Light}[Scale=0.85]
\newcommand{\slicedcircularprogressbar}[9]{% Syntax: \twprogressbar{\coordinate}{\oradius}{\iradius}{\oangle}{\total}{\number}{\basecol}{\fillcol}{\bgcol}
\begin{tikzpicture}[overlay]
\def\ratio{#6/#5}
\setCJKsansfont{Noto Sans SC Light}[Scale=0.85]
\setCJKmonofont{Noto Sans SC Light}[Scale=0.85]
\setCJKsansfont{Noto Sans SC Light}[Scale=0.85]
\def\outerradius{#2}
\def\innerradius{#3}
% \setCJKmainfont{Noto Serif SC}
% \setCJKmainfont{Noto Sans TC Light}
% \setCJKmainfont{Noto Serif TC Light}
% \setCJKmainfont{Zhi Mang Xing Regular}
% \setCJKmainfont{ZCOOL KuaiLe Regular}
% \setCJKmainfont{Long Cang Regular}
% \setCJKmainfont{SentyWen}
% \setCJKmainfont{HanyiSentyTang}
% \setCJKmainfont{Hanyi Senty Candy}
% \setCJKmainfont{Liu Jian Mao Cao}
% \setCJKmainfont{Ma Shan Zheng}
\coordinate (centerprogressbar) at #1;
% ----------------------------------------------------------------------------------------------------------------------------
% Listings
% ----------------------------------------------------------------------------------------------------------------------------
% \RequirePackage[outputdir={build},cache=false,kpsewhich=true,newfloat=true]{minted}
\RequirePackage[outputdir={build},kpsewhich=true,newfloat=true]{minted}
% \RequirePackage[finalizecache=true,outputdir={build},kpsewhich=true,newfloat=true]{minted}
% \RequirePackage[finalizecache=true,frozencache=true,outputdir={build},kpsewhich=true,newfloat=true]{minted}
\draw[draw=none,fill=#7] (centerprogressbar) circle (\outerradius);
\draw[draw=none,fill=#8] (centerprogressbar) -- (centerprogressbar) ++(0,\outerradius) arc (90:90-360*\ratio:\outerradius) -- (centerprogressbar);
\draw[draw=none,fill=#9] (centerprogressbar) circle (\innerradius);
\renewcommand{\theFancyVerbLine}{\ttfamily\textcolor{tw-gray}{\scriptsize\oldstylenums{\arabic{FancyVerbLine}}}}
\usemintedstyle{fhtw}
\NewDocumentCommand{\csource }{ O{} m }{\inputminted[frame=single,linenos,rulecolor=black,resetmargins,numbersep=6pt,xleftmargin=0mm,xrightmargin=0mm,framesep=1mm,highlightcolor=\secondarycolor!35,#1]{c}{#2}}
\NewDocumentCommand{\bash }{ O{} m }{\inputminted[frame=single,linenos,rulecolor=black,resetmargins,numbersep=6pt,xleftmargin=0mm,xrightmargin=0mm,framesep=1mm,highlightcolor=\secondarycolor!35,rulecolor=black,fontsize=\fontsize{11}{11}\selectfont,#1]{bash}{#2}}
\NewDocumentCommand{\bat }{ O{} m }{\inputminted[frame=single,linenos,rulecolor=black,resetmargins,numbersep=6pt,xleftmargin=0mm,xrightmargin=0mm,framesep=1mm,highlightcolor=\secondarycolor!35,rulecolor=black,fontsize=\fontsize{11}{11}\selectfont,#1]{bat}{#2}}
\NewDocumentCommand{\html }{ O{} m }{\inputminted[frame=single,linenos,rulecolor=black,resetmargins,numbersep=6pt,xleftmargin=0mm,xrightmargin=0mm,framesep=1mm,highlightcolor=\secondarycolor!35,rulecolor=black,#1]{html}{#2}}
\NewDocumentCommand{\css }{ O{} m }{\inputminted[frame=single,linenos,rulecolor=black,resetmargins,numbersep=6pt,xleftmargin=0mm,xrightmargin=0mm,framesep=1mm,highlightcolor=\secondarycolor!35,rulecolor=black,#1]{css}{#2}}
\NewDocumentCommand{\js }{ O{} m }{\inputminted[frame=single,linenos,rulecolor=black,resetmargins,numbersep=6pt,xleftmargin=0mm,xrightmargin=0mm,framesep=1mm,highlightcolor=\secondarycolor!35,rulecolor=black,#1]{js}{#2}}
\NewDocumentCommand{\vue }{ O{} m }{\inputminted[frame=single,linenos,rulecolor=black,resetmargins,numbersep=6pt,xleftmargin=0mm,xrightmargin=0mm,framesep=1mm,highlightcolor=\secondarycolor!35,rulecolor=black,fontsize=\fontsize{9}{9}\selectfont,#1]{vue}{#2}}
% ###############################################################################################################################
% ----------------------------------------------------------------------------------------------------------------------------
% Page Setup
% ----------------------------------------------------------------------------------------------------------------------------
\newcommand{\titlepagesetup}{
\title[Web Development]{Full Stack Web Development}
\subtitle{WS2019 - BSA5 Ausgewählte Kapitel}
\author[Alija Sabic]{Alija Sabic}
\mail{sabic@technikum-wien.at}
\institute{Smart Homes and Assistive Technologies}
\date{\today}
\keywords{Web, WWW, HTML, CSS, JavaScript}
\logo[3cm]{fhtw-logo.pdf}
}
\pgfmathparse{#5-1}
\pgfmathsetmacro{\nums}{\pgfmathresult}
\newcommand{\insertemptytitlepage}{
\begin{frame}
\end{frame}
}
% ----------------------------------------------------------------------------------------------------------------------------
% Bibliography/References / ToC for single standalones
% ----------------------------------------------------------------------------------------------------------------------------
\newcommand{\biblio}{
\begin{frame}[allowframebreaks]{References}
\label{references}
\bibliography{references}
\end{frame}
}
\newcommand{\bibliolist}{
% \appendix
% Acronyms
\begin{frame}[allowframebreaks]{Acronyms}
\label{acronyms}
\printacronyms
\end{frame}
% References
\begin{frame}[allowframebreaks]{References}
\label{references}
\bibliography{references}
\end{frame}
}
\foreach \x in {0,...,\nums} {
\pgfmathparse{360/#5*\x}
\pgfmathsetmacro{\angl}{\pgfmathresult}
\def\slice{#4}
\draw[draw=none,fill=#9,line width=0.1mm] (centerprogressbar) -- +(90-\angl+\slice:\outerradius+0.1) arc (90-\angl+\slice:90-\angl-\slice*2:\outerradius) -- cycle;
}
\end{tikzpicture}
}
\ No newline at end of file
% ----------------------------------------------------------------------------------------------------------------------------
% Utlities
% ----------------------------------------------------------------------------------------------------------------------------
% \RequirePackage{menukeys}
\NewDocumentCommand{\circled}{ O{} O{} m }{%
\tikz[baseline=(char.base),#1]\node[draw,shape=circle,inner sep=0.075em,#2](char){#3};%
}%
\NewDocumentCommand{\key}{ O{} O{} m }{%
\tikz[baseline=(key.base),#1]\node[fill=tw-gray!20!white,draw,shape=rectangle,inner sep=0.25em,rounded corners=0.125em,drop shadow={shadow xshift=0.125em,shadow yshift=-0.125em,color=tw-gray},#2](key){#3};%
}%
\ No newline at end of file
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