• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión8ea368672cdd547ad8ac87a43c18bc544ec50b35 (tree)
Tiempo2018-02-25 07:06:43
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

A style for a beamer blackboard presentation.

Cambiar Resumen

Diferencia incremental

diff -r d80b5df507ea -r 8ea368672cdd latex-documents/blackboardgray.sty
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/latex-documents/blackboardgray.sty Sat Feb 24 23:06:43 2018 +0100
@@ -0,0 +1,80 @@
1+%--------------------------------------------------------------------------------%
2+%START OF TEMPLATE
3+%From Stackoverflow:
4+%http://tex.stackexchange.com/questions/162873/i-need-a-beamer-theme-simulating-blackboard-presentation/165087#165087
5+%--------------------------------------------------------------------------------%
6+
7+\usepackage{calc}
8+\usepackage{ifthen}
9+\usepackage[T1]{fontenc}
10+\usepackage{emerald}
11+\usepackage{tikz}
12+\usepackage{pgf}
13+\usepackage{pgffor}
14+
15+% set text colors for different objects
16+\setbeamercolor{frametitle}{fg=white}
17+\setbeamercolor{structure}{fg=white}
18+\setbeamercolor{normal text}{fg=white}
19+\setbeamercolor{alerted text}{fg=white}
20+\setbeamercolor{example text}{fg=white}
21+
22+%% set fonts
23+\setbeamerfont{frametitle}{size=\Huge, series=\ECFAugie}
24+\setbeamerfont{framesubtitle}{size=\large, series=\ECFAugie}
25+\setbeamerfont{title}{size=\huge, series=\ECFAugie}
26+\setbeamerfont{author}{size=\large}
27+\setbeamerfont{date}{size=\large}
28+\setbeamerfont{institute}{size=\large}
29+\setbeamerfont{caption}{series=\ECFAugie}
30+
31+
32+%% Grey (gray) Background Colour
33+\setbeamercolor{background canvas}{bg=gray!30!black}
34+
35+%% Random Dust Trails
36+%\pgfmathsetseed{\number\pdfrandomseed} % seed for random generator
37+\setbeamertemplate{background}{
38+ \begin{tikzpicture}
39+ \useasboundingbox (0,0) rectangle (\the\paperwidth, \the\paperheight);
40+ \foreach \i in {1,...,30} {
41+ \pgfmathsetmacro{\x}{random(0,10000)/5000-1}%
42+ \pgfmathsetmacro{\y}{random(0,10000)/10000-0.1}%
43+ \pgfmathsetmacro{\r}{random(0,10000)/1000-5}%
44+ \rotatebox{\r}{
45+ \pgftext[at=\pgfpoint{\x\paperwidth}{\y\paperheight}, left, base]{\includegraphics[width=\textwidth]{paintstroke.png}}
46+ }
47+ };
48+ \end{tikzpicture}
49+}
50+
51+%% use a small dash ('-') for a bulletpoint list
52+\setbeamertemplate{itemize item}{\usebeamercolor[fg]{item}\small\ECFAugie{-}}
53+
54+%% Frametitle
55+\setbeamertemplate{frametitle}{
56+ \begin{beamercolorbox}{frametitle}
57+ \vskip17pt
58+ \usebeamerfont{frametitle}
59+ \insertframetitle \\
60+ \usebeamerfont{framesubtitle}\insertframesubtitle
61+ \end{beamercolorbox}
62+}
63+
64+%% remove navigation symbols
65+\setbeamertemplate{navigation symbols}{}
66+
67+%% Date in the Corner
68+%%COMMENT THIS OUT TO REMOVE DATE IN CORNER
69+%\setbeamertemplate{headline}{
70+% \rotatebox{30}{
71+% \ifx\insertdate\empty\else
72+% \hspace*{0.25cm}\ECFAugie\insertshortdate\hspace*{0.5cm}
73+% \fi
74+% }
75+% \vspace*{-1cm}
76+%}
77+
78+%--------------------------------------------------------------------------------%
79+%END OF TEMPLATE - now slides begin%
80+%--------------------------------------------------------------------------------%