• R/O
  • SSH

標籤
無標籤

Frequently used words (click to add to your profile)

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

File Info

修訂. 8ea368672cdd547ad8ac87a43c18bc544ec50b35
大小 2,707 bytes
時間 2018-02-25 07:06:43
作者 Lorenzo Isella
Log Message

A style for a beamer blackboard presentation.

Content

%--------------------------------------------------------------------------------%
%START OF TEMPLATE 
%From Stackoverflow:
%http://tex.stackexchange.com/questions/162873/i-need-a-beamer-theme-simulating-blackboard-presentation/165087#165087
%--------------------------------------------------------------------------------%

\usepackage{calc}
\usepackage{ifthen}
\usepackage[T1]{fontenc}
\usepackage{emerald}
\usepackage{tikz}
\usepackage{pgf}
\usepackage{pgffor}

% set text colors for different objects
\setbeamercolor{frametitle}{fg=white}
\setbeamercolor{structure}{fg=white}
\setbeamercolor{normal text}{fg=white}
\setbeamercolor{alerted text}{fg=white}
\setbeamercolor{example text}{fg=white}

%% set fonts
\setbeamerfont{frametitle}{size=\Huge, series=\ECFAugie}
\setbeamerfont{framesubtitle}{size=\large, series=\ECFAugie}
\setbeamerfont{title}{size=\huge, series=\ECFAugie}
\setbeamerfont{author}{size=\large}
\setbeamerfont{date}{size=\large}
\setbeamerfont{institute}{size=\large}
\setbeamerfont{caption}{series=\ECFAugie}


%% Grey (gray) Background Colour
\setbeamercolor{background canvas}{bg=gray!30!black}

%% Random Dust Trails
%\pgfmathsetseed{\number\pdfrandomseed} % seed for random generator
\setbeamertemplate{background}{
    \begin{tikzpicture}
        \useasboundingbox (0,0) rectangle (\the\paperwidth, \the\paperheight); 
      \foreach \i in {1,...,30} {
            \pgfmathsetmacro{\x}{random(0,10000)/5000-1}%
            \pgfmathsetmacro{\y}{random(0,10000)/10000-0.1}%
            \pgfmathsetmacro{\r}{random(0,10000)/1000-5}%
            \rotatebox{\r}{
                \pgftext[at=\pgfpoint{\x\paperwidth}{\y\paperheight}, left, base]{\includegraphics[width=\textwidth]{paintstroke.png}}
            }
        }; 
    \end{tikzpicture}
}

%% use a small dash ('-') for a bulletpoint list
\setbeamertemplate{itemize item}{\usebeamercolor[fg]{item}\small\ECFAugie{-}}

%% Frametitle
\setbeamertemplate{frametitle}{
    \begin{beamercolorbox}{frametitle}
        \vskip17pt
        \usebeamerfont{frametitle}
        \insertframetitle \\
        \usebeamerfont{framesubtitle}\insertframesubtitle
    \end{beamercolorbox}
}

%% remove navigation symbols
\setbeamertemplate{navigation symbols}{}

%% Date in the Corner
%%COMMENT THIS OUT TO REMOVE DATE IN CORNER
%\setbeamertemplate{headline}{
%    \rotatebox{30}{
%        \ifx\insertdate\empty\else        
%            \hspace*{0.25cm}\ECFAugie\insertshortdate\hspace*{0.5cm}
%        \fi
%    }
%    \vspace*{-1cm}
%}

%--------------------------------------------------------------------------------%
%END OF TEMPLATE - now slides begin%
%--------------------------------------------------------------------------------%