parent
ca2a91262e
commit
70f193f8fc
8 changed files with 319 additions and 0 deletions
@ -0,0 +1,7 @@ |
||||
Compile using xelatex on Mac. Font Gill Sans will be used. |
||||
|
||||
Oterwise edit sty file, comment lines under "For xelatex on Mac" and enable lines under "For pdflatex". |
||||
|
||||
Just add following line in preamble to use the theme |
||||
|
||||
\usetheme{intridea} |
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,60 @@ |
||||
\definecolor{beamer@solarized@base03}{HTML}{002B36} |
||||
\definecolor{beamer@solarized@base02}{HTML}{073642} |
||||
\definecolor{beamer@solarized@base01}{HTML}{586e75} |
||||
\definecolor{beamer@solarized@base00}{HTML}{657b83} |
||||
\definecolor{beamer@solarized@base0}{HTML}{839496} |
||||
\definecolor{beamer@solarized@base1}{HTML}{93a1a1} |
||||
\definecolor{beamer@solarized@base2}{HTML}{EEE8D5} |
||||
\definecolor{beamer@solarized@base3}{HTML}{FDF6E3} |
||||
\definecolor{beamer@solarized@yellow}{HTML}{B58900} |
||||
\definecolor{beamer@solarized@orange}{HTML}{CB4B16} |
||||
\definecolor{beamer@solarized@red}{HTML}{DC322F} |
||||
\definecolor{beamer@solarized@magenta}{HTML}{D33682} |
||||
\definecolor{beamer@solarized@violet}{HTML}{6C71C4} |
||||
\definecolor{beamer@solarized@blue}{HTML}{268BD2} |
||||
\definecolor{beamer@solarized@cyan}{HTML}{2AA198} |
||||
\definecolor{beamer@solarized@green}{HTML}{859900} |
||||
|
||||
\mode<presentation> |
||||
|
||||
\setbeamercolor{normal text}{fg=beamer@solarized@base00,bg=beamer@solarized@base3} |
||||
\setbeamercolor{alerted text}{fg=beamer@solarized@orange} |
||||
\setbeamercolor{example text}{fg=beamer@solarized@green} |
||||
|
||||
\setbeamercolor{structure}{fg=beamer@solarized@green} |
||||
|
||||
\setbeamercolor{block title}{fg=beamer@solarized@base1,bg=beamer@solarized@base02} |
||||
\setbeamercolor{block title alerted}{parent={alerted text,block title}} |
||||
\setbeamercolor{block title example}{parent={example text,block title}} |
||||
|
||||
\setbeamercolor{block body}{parent=normal text,bg=beamer@solarized@base2} |
||||
\setbeamercolor{block body alerted}{parent={alerted text,block title},fg=alerted text.fg} |
||||
\setbeamercolor{block body example}{parent={example text,block title},fg=example text.fg} |
||||
|
||||
\setbeamercolor{palette primary}{fg=beamer@solarized@base00} |
||||
\setbeamercolor{palette secondary}{fg=beamer@solarized@base01} |
||||
\setbeamercolor{palette tertiary}{fg=beamer@solarized@base02} |
||||
\setbeamercolor{palette quaternary}{fg=beamer@solarized@base03} |
||||
|
||||
\setbeamercolor{palette sidebar primary}{fg=beamer@solarized@base3} |
||||
\setbeamercolor{palette sidebar secondary}{fg=beamer@solarized@base2} |
||||
\setbeamercolor{palette sidebar tertiary}{fg=beamer@solarized@base1} |
||||
\setbeamercolor{palette sidebar quaternary}{fg=beamer@solarized@base0} |
||||
|
||||
\setbeamercolor{sidebar}{bg=beamer@solarized@base03,fg=beamer@solarized@base1} |
||||
|
||||
\setbeamercolor{separation line}{bg=beamer@solarized@base03,fg=beamer@solarized@base03} |
||||
|
||||
\setbeamercolor{section number projected}{bg=beamer@solarized@base03,fg=beamer@solarized@base1} |
||||
\setbeamercolor{item projected}{fg=beamer@solarized@base1,bg=beamer@solarized@base03} |
||||
|
||||
%\setbeamercolor{subsection in sidebar shaded}{use=subsection in sidebar,fg=subsection in sidebar.fg!40!bg} |
||||
%\setbeamercolor{button}{use=local structure,bg=local structure.fg!50!bg,fg=white} |
||||
%\setbeamercolor{navigation symbols}{use=structure,fg=structure.fg!40!bg} |
||||
%\setbeamercolor{navigation symbols dimmed}{use=structure,fg=structure.fg!20!bg} |
||||
%\setbeamercolor{bibliography entry location}{use=structure,fg=structure.fg!65!bg} |
||||
%\setbeamercolor{bibliography entry note}{use=structure,fg=structure.fg!65!bg} |
||||
%\setbeamercolor{page number in head/foot}{fg=fg!50!bg} |
||||
|
||||
\mode |
||||
<all> |
@ -0,0 +1,159 @@ |
||||
\mode<presentation> |
||||
|
||||
\setbeamercolor*{sidebar}{parent=block title} |
||||
\setbeamercolor{local structure}{parent=sidebar} |
||||
\setbeamercolor{section in toc}{parent=sidebar} |
||||
|
||||
\setbeamercolor{button}{use=structure,bg=structure.fg!50!bg,fg=white} |
||||
|
||||
\setbeamercolor{block title alerted}{use=sidebar,fg=sidebar.fg!25!red} |
||||
\setbeamercolor{block title example}{use=sidebar,fg=sidebar.fg!50!green} |
||||
|
||||
\setbeamercolor*{title}{parent=structure} |
||||
|
||||
\setbeamersize{text margin left=1.5ex} |
||||
\setbeamersize{text margin right=1.5ex} |
||||
\setbeamersize{sidebar width left=.25\paperwidth} |
||||
\setbeamersize{description width=0pt} |
||||
\setlength\leftmargini{0pt} |
||||
\setlength\leftmarginii{1.5ex} |
||||
\setlength\leftmarginiii{1.5ex} |
||||
|
||||
\newenvironment{beamer@nomargin}{% |
||||
\hskip-.20\paperwidth% |
||||
\begin{beamercolorbox}[wd=0.9\paperwidth]{sidebar}% |
||||
\setlength{\linewidth}{0.88\paperwidth}% |
||||
}{% |
||||
\end{beamercolorbox}% |
||||
} |
||||
|
||||
\newcommand\beamer@putleft[2]{% |
||||
\hbox to 0pt{\hss\vtop{% |
||||
\normalsize% |
||||
\@tempdima=.25\paperwidth% |
||||
\advance\@tempdima by-3ex% |
||||
\hsize=\@tempdima% |
||||
\leftskip=0pt plus 1fill% |
||||
\rightskip=0pt\relax% |
||||
\leavevmode#1}\kern#2}% |
||||
} |
||||
\newenvironment{beamer@putright}{\vtop\bgroup\leavevmode}{\egroup} |
||||
|
||||
\defbeamertemplate*{section in toc}{inmargin} |
||||
{ |
||||
\leavevmode% |
||||
\beamer@putleft{\usebeamercolor[fg]{section in sidebar}\inserttocsectionnumber\strut}{2.5ex}% |
||||
\beamer@putright% |
||||
\inserttocsection% |
||||
\endbeamer@putright |
||||
} |
||||
|
||||
\defbeamertemplate*{subsection in toc}{inmargin} |
||||
{\leavevmode% |
||||
\inserttocsubsection\par\vskip.5ex} |
||||
|
||||
\defbeamertemplate*{subsubsection in toc}{inmargin} |
||||
{\leavevmode% |
||||
\inserttocsubsubsection\par\vskip.5ex} |
||||
|
||||
|
||||
\def\inserttitleindicator{} |
||||
\def\insertauthorindicator{Who?} |
||||
\def\insertinstituteindicator{From?} |
||||
\def\insertdateindicator{When?} |
||||
|
||||
\defbeamertemplate*{title page}{inmargin} |
||||
{ |
||||
\begin{block}{\inserttitleindicator} |
||||
\usebeamercolor[fg]{title}\usebeamerfont{title}\inserttitle\par |
||||
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\insertsubtitle |
||||
\end{block} |
||||
\vfill |
||||
\ifx\insertauthor\@empty |
||||
\else |
||||
\begin{block}{\insertauthorindicator} |
||||
\usebeamercolor[fg]{author}\usebeamerfont{author}\insertauthor\par |
||||
\end{block} |
||||
\fi |
||||
\ifx\insertinstitute\@empty |
||||
\else |
||||
\begin{block}{\insertinstituteindicator} |
||||
\usebeamercolor[fg]{institute}\usebeamerfont{institute}\insertinstitute\par |
||||
\end{block} |
||||
\fi |
||||
\ifx\insertdate\@empty |
||||
\else |
||||
\begin{block}{\insertdateindicator} |
||||
\usebeamercolor[fg]{date}\usebeamerfont{date}\insertdate\par |
||||
\end{block} |
||||
\fi |
||||
} |
||||
|
||||
\defbeamertemplate*{block begin}{inmargin} |
||||
{ |
||||
\par\vskip\medskipamount% |
||||
\leavevmode% |
||||
\beamer@putleft{\normalfont{\usebeamercolor[fg]{block title}\usebeamerfont*{block title}\insertblocktitle}}{2.5ex}% |
||||
\beamer@putright\usebeamercolor[fg]{block body}% |
||||
\usebeamerfont{block body}% |
||||
\ifbeamercolorempty[bg]{block body}{\vskip-1.75ex}{\vskip-2ex}% |
||||
\begin{beamercolorbox}[colsep*=.70ex,vmode]{block body}% |
||||
\ifbeamercolorempty[bg]{block body}{}{\vskip-.25ex}% |
||||
} |
||||
|
||||
\defbeamertemplate*{block end}{inmargin} |
||||
{ |
||||
\ifbeamercolorempty[bg]{block body}{}{\vskip-.25ex}% |
||||
\end{beamercolorbox}% |
||||
\endbeamer@putright\vskip\smallskipamount% |
||||
} |
||||
|
||||
\defbeamertemplate*{block alerted begin}{inmargin} |
||||
{ |
||||
\par\vskip\medskipamount% |
||||
\leavevmode% |
||||
\beamer@putleft{\normalfont{\usebeamercolor[fg]{block title alerted}\usebeamerfont*{block title alerted}\insertblocktitle}}{2.5ex}% |
||||
\beamer@putright\usebeamercolor{block body alerted}% |
||||
\usebeamerfont{block body alerted}% |
||||
\ifbeamercolorempty[bg]{block body alerted}{\vskip-1.75ex}{\vskip-2ex}% |
||||
\begin{beamercolorbox}[colsep*=.70ex,vmode]{block body alerted}% |
||||
\ifbeamercolorempty[bg]{block body alerted}{}{\vskip-.25ex}% |
||||
} |
||||
\defbeamertemplate*{block alerted end}{inmargin} |
||||
{ |
||||
\ifbeamercolorempty[bg]{block body}{}{\vskip-.25ex}% |
||||
\end{beamercolorbox}% |
||||
\endbeamer@putright\vskip\smallskipamount% |
||||
} |
||||
|
||||
\defbeamertemplate*{block example begin}{inmargin} |
||||
{ |
||||
\par\vskip\medskipamount% |
||||
\leavevmode% |
||||
\beamer@putleft{\normalfont{\usebeamercolor[fg]{block title example}\usebeamerfont*{block title example}\insertblocktitle}}{2.5ex}% |
||||
\beamer@putright\usebeamercolor{block body example}% |
||||
\usebeamerfont{block body example}% |
||||
\ifbeamercolorempty[bg]{block body example}{\vskip-1.75ex}{\vskip-2ex}% |
||||
\begin{beamercolorbox}[colsep*=.70ex,vmode]{block body example}% |
||||
\ifbeamercolorempty[bg]{block body example}{}{\vskip-.25ex}% |
||||
} |
||||
\defbeamertemplate*{block example end}{inmargin} |
||||
{ |
||||
\ifbeamercolorempty[bg]{block body}{}{\vskip-.25ex}% |
||||
\end{beamercolorbox}% |
||||
\endbeamer@putright\vskip\smallskipamount% |
||||
} |
||||
|
||||
\AtBeginDocument |
||||
{ |
||||
\addtobeamertemplate{enumerate item}{\llap\bgroup}{\normalsize\kern1.5ex\egroup} |
||||
\addtobeamertemplate{enumerate subitem}{\llap\bgroup}{\normalsize\kern1.5ex\kern\leftmarginii\egroup} |
||||
\addtobeamertemplate{enumerate subsubitem}{\llap\bgroup}{\normalsize\kern1.5ex\kern\leftmarginii\kern\leftmarginiii\egroup} |
||||
\addtobeamertemplate{itemize item}{\llap\bgroup}{\normalsize\kern1.5ex\egroup} |
||||
\addtobeamertemplate{itemize subitem}{\llap\bgroup}{\normalsize\kern1.125ex\kern\leftmarginii\egroup} |
||||
\addtobeamertemplate{itemize subsubitem}{\llap\bgroup}{\small\kern0.75ex\kern\leftmarginii\kern\leftmarginiii\egroup} |
||||
\addtobeamertemplate{description item}{\llap\bgroup\usebeamercolor[fg]{section in sidebar}\small}{\kern1.125ex\egroup} |
||||
} |
||||
|
||||
\mode |
||||
<all> |
@ -0,0 +1,48 @@ |
||||
\usetheme{default} |
||||
\useoutertheme{default} |
||||
\useinnertheme{circles} |
||||
\usefonttheme{professionalfonts} |
||||
|
||||
%%% For xelatex on Mac |
||||
%\usepackage{fontspec} |
||||
%\usepackage{xunicode} |
||||
%\usepackage{xltxtra} |
||||
%\setmainfont{Gill Sans} |
||||
%\setmonofont[Scale=0.86]{Andale Mono} |
||||
|
||||
%%% For pdflatex |
||||
\renewcommand\sfdefault{phv} |
||||
\renewcommand\familydefault{\sfdefault} |
||||
\usepackage{texnansi} |
||||
\usepackage{marvosym} |
||||
|
||||
\setbeamerfont{title}{size={\fontsize{48}{52}}} |
||||
\setbeamerfont{frametitle}{size=\huge} |
||||
\setbeamerfont{copyright in head/foot}{size=\Tiny} |
||||
\setbeamerfont{framenumber in head/foot}{size=\Tiny} |
||||
|
||||
\setbeamertemplate{background canvas}{\includegraphics |
||||
[width=\paperwidth,height=\paperheight]{background.png}} |
||||
\setbeamertemplate{frametitle}[default][center] |
||||
\setbeamertemplate{navigation symbols}{} %no nav symbols |
||||
|
||||
\usepackage{color} |
||||
\usecolortheme[RGB={34,139,34}]{structure} |
||||
\setbeamercolor{normal text}{fg=black} |
||||
\setbeamercolor{copyright in head/foot}{fg=gray} |
||||
\setbeamercolor{framenumber in head/foot}{fg=gray} |
||||
|
||||
\defbeamertemplate*{footline}{infolines theme} |
||||
{ |
||||
\leavevmode% |
||||
\hbox{% |
||||
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{copyright in head/foot}% |
||||
\end{beamercolorbox}% |
||||
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,center]{copyright in head/foot}% |
||||
\usebeamerfont{copyright in head/foot}Copyright \the\year, \insertinstitute All Rights Reserved. |
||||
\end{beamercolorbox}% |
||||
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=2ex,right]{framenumber in head/foot}% |
||||
\usebeamerfont{framenumber in head/foot}\insertframenumber{} / \inserttotalframenumber\hspace*{2ex} |
||||
\end{beamercolorbox}}% |
||||
\vskip0pt% |
||||
} |
@ -0,0 +1,16 @@ |
||||
\mode<presentation> |
||||
|
||||
\useinnertheme{rectangles} |
||||
|
||||
\usecolortheme{solarized} |
||||
|
||||
\useinnertheme{inmargin-with-block-body-bg} |
||||
|
||||
\setbeamertemplate{navigation symbols}{} %no nav symbols |
||||
|
||||
\setbeamerfont{block title}{size={}} |
||||
|
||||
\setbeamercolor{item projected}{fg=beamer@solarized@base3,bg=beamer@solarized@base01} |
||||
|
||||
\mode |
||||
<all> |
@ -0,0 +1,26 @@ |
||||
\lstset{ |
||||
language=Ruby, |
||||
upquote=true, |
||||
columns=fixed, |
||||
numbers=left, |
||||
numberstyle=\tiny\color{beamer@solarized@base01}, |
||||
numbersep=5pt, |
||||
tabsize=2, |
||||
extendedchars=true, |
||||
breaklines=true, |
||||
frame=single, |
||||
showspaces=false, |
||||
showtabs=false, |
||||
xleftmargin=0pt, |
||||
framexleftmargin=0pt, |
||||
framexrightmargin=0pt, |
||||
framextopmargin=0pt, |
||||
framexbottommargin=0pt, |
||||
showstringspaces=false, |
||||
basicstyle=\footnotesize\ttfamily, |
||||
keywordstyle=\color{beamer@solarized@green}, |
||||
stringstyle=\color{beamer@solarized@cyan}\ttfamily, |
||||
identifierstyle=\color{beamer@solarized@blue}, |
||||
commentstyle=\color{beamer@solarized@base01}, |
||||
emphstyle=\color{beamer@solarized@red} |
||||
} |
Loading…
Reference in new issue