Created
November 18, 2020 02:46
-
-
Save monticellifernando/662b343d2e4a4c2999c2f8cb65eebd31 to your computer and use it in GitHub Desktop.
my beamer stye with useles crap in it: beamerthemeFGM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Copyright 2007 by Till Tantau | |
% | |
% This file may be distributed and/or modified | |
% | |
% 1. under the LaTeX Project Public License and/or | |
% 2. under the GNU Public License. | |
% | |
% See the file doc/licenses/LICENSE for more details. | |
\mode<presentation> | |
%\useoutertheme{smoothbars} | |
\useinnertheme[shadow=true]{rounded} | |
% \usecolortheme{orchid} | |
\usecolortheme{whale} | |
\setbeamerfont{block title}{size={}} | |
\definecolor{ThisTheme}{RGB}{200,60,0} | |
\usecolortheme[named=ThisTheme]{structure} | |
\definecolor{darkgreen}{rgb}{0.,0.6,0.} | |
%/usecolortheme[RGB={100,100,170}]{structure} | |
\definecolor{links}{HTML}{2A1B81} | |
%\usepackage{avant} | |
\usepackage{bookman} | |
\usepackage{fancybox} | |
\usepackage{amssymb} | |
%\usepackage{chancery} | |
%\usepackage{charter} | |
%\usepackage{courier} | |
%\usepackage{helvet} | |
%\usepackage{mathpazo} | |
%\usepackage{mathpple} | |
%\usepackage{mathptm} | |
%\usepackage{mathptmx} | |
%\usepackage{newcent} | |
%\usepackage{palatino} | |
%\usepackage{pifont} | |
%\usepackage{times} | |
%\usepackage{utopia} | |
\hypersetup{colorlinks,linkcolor=,urlcolor=links} | |
\setbeamertemplate{navigation symbols}{} | |
%\useoutertheme{shadow} | |
\newcommand{\img}[2][1]{{\includegraphics[width=#1\textwidth]{#2}}} | |
\newcommand{\ATLASDQ}[1]{\href{https://its.cern.ch/jira/browse/ATLASDQ-#1}{{ATLASDQ-#1}}} | |
\newcommand{\ATR}[1]{\href{https://its.cern.ch/jira/browse/ATR-#1}{{ATR-#1}}} | |
\newcommand{\MR}[1]{\href{https://gitlab.cern.ch/atlas/athena/merge_requests/#1}{{!#1}}} | |
\newcommand{\ok}{ \textbf{\large \Green{\checkmark}}} | |
\newcommand{\agenda}{ \frame{ \frametitle{Agenda} \img{Agenda}}} | |
% More command definitions | |
\def\pt{\ensuremath{p_{\mathrm{T}}}} % Subscript roman not italic (EE) | |
\def\et{\ensuremath{E_{\mathrm{T}}}} % Subscript roman not italic (EE) | |
\usepackage{listings} | |
\usepackage{pgf,pgfarrows,pgfnodes,pgfautomata,pgfheaps} | |
\usepackage{colortbl} | |
\usepackage[utf8]{inputenc} | |
\usepackage{multirow} | |
\usepackage{fancyvrb} | |
\usepackage{tikz} | |
\usepackage{xcolor} | |
\usepackage{calc} | |
\usepackage{multicol} | |
%\usepackage{subfigure} | |
\newlength{\boxw} | |
\newlength{\boxh} | |
%\newlength{\shadowsize} | |
\newlength{\boxroundness} | |
\newlength{\tmpa} | |
\newsavebox{\shadowblockbox} | |
\setlength{\shadowsize}{6pt} | |
\setlength{\boxroundness}{3pt} | |
\newenvironment<>{varblock}[2][\textwidth]{ | |
\begin{center} | |
\begin{minipage}{#1} | |
\setlength{\textwidth}{#1} | |
\begin{actionenv}#3 | |
\def\insertblocktitle{#2} | |
\par | |
\usebeamertemplate{block begin}} | |
{\par | |
\usebeamertemplate{block end} | |
\end{actionenv} | |
\end{minipage} | |
\end{center}} | |
\newenvironment{shadowblock}[1]% | |
{\begin{lrbox}{\shadowblockbox}\begin{minipage}{#1}}% | |
{\end{minipage}\end{lrbox}% | |
\settowidth{\boxw}{\usebox{\shadowblockbox}}% | |
\settodepth{\tmpa}{\usebox{\shadowblockbox}}% | |
\settoheight{\boxh}{\usebox{\shadowblockbox}}% | |
\addtolength{\boxh}{\tmpa}% | |
\begin{tikzpicture} | |
\addtolength{\boxw}{\boxroundness * 2} | |
\addtolength{\boxh}{\boxroundness * 2} | |
\foreach \x in {0,.05,...,1} | |
{ | |
\setlength{\tmpa}{\shadowsize * \real{\x}} | |
\fill[xshift=\shadowsize - 1pt,yshift=-\shadowsize + 1pt,black,opacity=.04,rounded corners=\boxroundness] | |
(\tmpa, \tmpa) rectangle +(\boxw - \tmpa - \tmpa, \boxh - \tmpa - \tmpa); | |
} | |
\filldraw[fill=ThisTheme!20, draw=black!50, rounded corners=\boxroundness] (0, 0) rectangle (\boxw, \boxh); | |
\draw node[xshift=\boxroundness,yshift=\boxroundness,inner sep=0pt,outer sep=0pt,anchor=south west] (0,0) {\usebox{\shadowblockbox}}; | |
\end{tikzpicture}} | |
%\setbeamercovered{dynamic} | |
%\pgfdeclareimage[interpolate=true,width=4cm]{elaquer}{elaquer} | |
%\pgfdeclareimage[width=8cm]{DrawEff_EM18_HC2cfg_L1_EM16HI1}{DrawEff_EM18_HC2cfg_L1_EM16HI1} | |
%\pgfdeclareimage[width=8cm]{OutputFile0}{OutputFile0} | |
% \definecolor{ThisTheme}{RGB}{160,100,70} | |
% \usecolortheme[named=ThisTheme]{structure} | |
% \definecolor{darkgreen}{rgb}{0.,0.6,0.} | |
%/usecolortheme[RGB={100,100,170}]{structure} | |
\definecolor{links}{HTML}{2A1B81} | |
% ------------- Fin declaracion de imagenes | |
% New Commands | |
\newcommand{\comment}[1]{} | |
\newcommand{\Gray}[1]{\textcolor{darkgray}{#1}} | |
\newcommand{\Green}[1]{\textcolor{darkgreen}{#1}} | |
\newcommand{\Blue}[1]{\textcolor{blue}{#1}} | |
\newcommand{\Red}[1]{\textcolor{red}{#1}} | |
\newcommand{\Orange}[1]{\textcolor{orange}{#1}} | |
\newcommand{\e}{$e^{-}$} | |
\newcommand{\zee}{Z$\to e^{+}e^{-}$} | |
\newcommand{\hgg}{h$\to\gamma\gamma$} | |
\newcommand{\hbb}{h$\to b\overline{b}$} | |
\newcommand{\Hgg}{h$\to\gamma\gamma$} | |
\newcommand{\Ggg}{G$_{500}\to\gamma\gamma$} | |
\newcommand{\wen}{$W\to e\nu$} | |
\newcommand{\Gee}{G$_{500}\to ee$} | |
\newcommand{\g}{$\gamma$} | |
\newcommand{\hlt}{High Level Trigger} | |
\newcommand{\ef}{Event Filter} | |
\newcommand{\EM}{electromagnetic} | |
\newcommand{\mm}{$\pm$} | |
\newcommand{\lini}{$10^{31}cm^{-2}s^{-1}$} | |
\newcommand{\llow}{$10^{32}cm^{-2}s^{-1}$} | |
\newcommand{\lhigh}{$10^{33}cm^{-2}s^{-1}$} | |
\newcommand{\invpb}{pb$^{-1}$} | |
\newcommand{\invfb}{fb$^{-1}$} | |
\newcommand{\URL}[1]{\Blue{\underline{\url{#1}}}} | |
% Slide title % | |
\setbeamerfont{frametitle}{size={},series=\bfseries} | |
\setbeamertemplate{frametitle}{ | |
\color{ThisTheme}\bfseries{\huge\insertframetitle}\hfill\colorbox{ThisTheme}{\textcolor{white}{\insertpagenumber}}\vskip-6pt\color{black}\hrulefill\vskip-9pt \color{ThisTheme}\hrulefill | |
% \colorbox{ThisTheme}{\textcolor{white}{\huge\insertframetitle\hfill\textcolor{white}{\ovalbox{\insertpagenumber}}}}\vskip-6pt\color{black}\hrulefill\vskip-9pt \color{ThisTheme}\hrulefill | |
} | |
%\usefonttheme{professionalfonts} % using non standard fonts for beamer | |
%\usefonttheme{default} | |
%\usefonttheme{professionalfonts} | |
%\usefonttheme{serif} | |
%\usefonttheme{structurebold} % default family is serif | |
%\usefonttheme{structureitalicserif} | |
%\usefonttheme{structuresmallcapsserif} | |
%\usefonttheme{professionalfonts} % using non standard fonts for beamer | |
%\usefonttheme{serif} | |
\usepackage{fontspec} | |
%\fontspec{liberationsans.ttf} | |
%\setsansfont{Source Sans Pro} | |
\mode | |
<all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment