slides.sty
changeset 743 6acabeecdf75
parent 630 9b1c15c3eb6f
child 800 9eea6a801e10
--- a/slides.sty	Thu Jul 30 13:50:54 2020 +0100
+++ b/slides.sty	Sat Aug 15 14:18:37 2020 +0100
@@ -1,6 +1,8 @@
 \usepackage[absolute,overlay]{textpos}
 \usepackage{xcolor}
 \usepackage[no-math]{fontspec}
+%%\usepackage{marginnote}
+\usepackage{fontawesome5}
 
 %%%%% CODE FONT
 %\setmonofont[Scale=.95]{Consolas}
@@ -24,6 +26,8 @@
 \defaultfontfeatures{Ligatures=TeX}
 \defaultfontfeatures{Mapping=tex-text}
 
+%% for recording slides
+\setbeamersize{text margin right=5cm} % <- like this
 
 %%%% Colours
 
@@ -46,6 +50,12 @@
 \newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
 \newcommand{\slidecaption}{}
 
+%%% url pointers
+\newcommand{\here}[1]{\href{#1}{\small\textcolor{ProcessBlue}{\faHandPointRight[regular]}}}
+\newcommand{\video}[1]{\href{#1}{\small\textcolor{ProcessBlue}{\faFilm}}}
+%%\newcommand{\alert}{\reversemarginpar\marginpar{\mbox{}\hfill\textcolor{red}{\faExclamationTriangle}}}
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Frametitles