Skip to content
Snippets Groups Projects
Commit 61be4fd6 authored by Tarik Graba's avatar Tarik Graba :scream_cat:
Browse files

initial commit

I'm starting from a modified beamer theme whith the old Télécom
ParisTECH theme.
- I'm using pdflatex and the fonts are specified in the style file.
parents
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
TOP = model.pdf
FIGS = $(wildcard figs/*.fig)
FIGS_PDF = $(patsubst %.fig,%.pdftex,$(FIGS))
FIGS_PDF_T = $(patsubst %.fig,%.pdftex_t,$(FIGS))
SVGS = $(wildcard svgs/*.svg)
SVGS_PDF = $(patsubst %.svg,%.pdf,$(SVGS))
NEEDED = $(FIGS_PDF) $(FIGS_PDF_T) $(SVGS_PDF)
TOP_NAME = $(patsubst %.pdf,%,$(TOP))
EXT = pdf log aux out bbl blg toc snm nav fdb_latexmk
PREVIEW_OPTS = \RequirePackage[active,delayed,tightpage,graphics,pdftex] {preview}
PREVIEW_OPTS += \PreviewMacro[{*[][]{}}]{\incode}
export TEXINPUTS := ./texinputs/:$(TEXINPUTS)
#.SECONDARY: $(FIGS_PDF)
.PHONY: all clean toc bibetex
all: $(TOP)
$(TOP) : $(NEEDED)
%.pdf:%.tex
@echo "Latex search path $(TEXINPUTS)"
@latexmk -pdf $<
toc: $(TOP)
@pdflatex $(patsubst %.pdf,%.tex,$<)
bibtex: $(TOP)
@bibtex $(patsubst %.pdf,%,$<)
@pdflatex $(patsubst %.pdf,%.tex,$<)
@pdflatex $(patsubst %.pdf,%.tex,$<)
preview: $(NEEDED)
pdflatex '$(PREVIEW_OPTS) \input{$(TOP_NAME).tex}'
clean:
@echo Cleaning $(TOP) and $(NEEDED)
@$(foreach ext,$(EXT),[ -e $(TOP_NAME).$(ext) ] && rm -f $(TOP_NAME).$(ext) || true;)
@rm -f $(NEEDED)
@$(foreach ext,$(EXT),[ -e preview.$(ext) ] && rm -f preview.$(ext) || true;)
%.pdftex:%.fig
fig2dev -L pdftex $< $@
%.pdftex_t:%.pdftex
fig2dev -L pdftex_t -p $< $(patsubst %.pdftex_t,%.fig,$@) $@
%.swf:%.pdf
pdf2swf $< && chmod -x $@
%.pdf:%.svg
inkscape --export-text-to-path -f $< --export-pdf=$@
#FIG 3.2 Produced by xfig version 3.2.5b
Landscape
Center
Metric
A4
100.00
Single
-2
1200 2
0 32 #cfcfcf
6 630 1305 3150 2565
1 3 0 1 0 -1 50 -1 20 0.000 1 0.0000 1890 1935 23 23 1890 1935 1913 1935
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
1080 1665 630 1665
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
1080 1845 630 1845
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
1080 2025 630 2025
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
1080 2205 630 2205
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
1080 1485 1710 1485 1710 2385 1080 2385 1080 1485
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
810 1305 2970 1305 2970 2565 810 2565 810 1305
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
2700 1800 2700 2070 2790 2025 2790 1845 2700 1800
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
2790 1935 3150 1935
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
2700 1845 2610 1845 2610 1575 1890 1575 1890 1935
2 2 0 1 32 7 50 -1 -1 0.000 0 0 -1 0 0 5
2070 1710 2430 1710 2430 2160 2070 2160 2070 1710
2 1 0 1 32 7 50 -1 -1 0.000 0 0 -1 0 0 3
2205 2160 2250 2070 2295 2160
2 1 0 1 -1 7 50 -1 -1 0.000 0 0 -1 0 0 2
1710 1935 1890 1935
2 1 0 1 32 7 51 -1 -1 0.000 0 0 -1 0 0 2
1890 1935 2070 1935
2 1 0 1 32 7 51 -1 -1 0.000 0 0 -1 0 0 4
2430 1935 2520 1935 2520 2025 2700 2025
4 0 0 50 -1 0 12 0.0000 2 135 375 1215 1980 LUT\001
4 0 32 50 -1 0 12 0.0000 2 135 225 2115 2385 dff\001
-6
6 4320 1305 6840 2565
1 3 0 1 32 -1 50 -1 20 0.000 1 0.0000 5580 1935 23 23 5580 1935 5603 1935
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
4770 1665 4320 1665
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
4770 1845 4320 1845
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
4770 2025 4320 2025
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
4770 2205 4320 2205
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
4770 1485 5400 1485 5400 2385 4770 2385 4770 1485
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
4500 1305 6660 1305 6660 2565 4500 2565 4500 1305
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
5760 1710 6120 1710 6120 2160 5760 2160 5760 1710
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3
5895 2160 5940 2070 5985 2160
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
6390 1800 6390 2070 6480 2025 6480 1845 6390 1800
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
6480 1935 6840 1935
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 4
6120 1935 6210 1935 6210 2025 6390 2025
2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
5400 1935 5760 1935
2 1 0 1 32 7 50 -1 -1 0.000 0 0 -1 0 0 5
6390 1845 6300 1845 6300 1575 5580 1575 5580 1935
4 0 0 50 -1 0 12 0.0000 2 135 375 4905 1980 LUT\001
4 0 0 50 -1 0 12 0.0000 2 135 225 5805 2385 dff\001
-6
4 0 0 50 -1 0 12 0.0000 2 135 1770 1035 1080 Cellule Combinatoire\001
4 0 0 50 -1 0 12 0.0000 2 180 1755 4725 1080 Cellule S\\'equentielle\001
model.tex 0 → 100644
\documentclass[xcolor=pdftex,dvipsnames,table]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[french]{babel}
\usepackage{booktabs}
% Quelle fontes de caractères
%\usepackage{lmodern}
\usepackage{inconsolata}
% pour insérer directement des fig
\usepackage{figlatex}
% où se trouvent les images
\graphicspath{{images/}{pdfs/}{figs/}{svgs/}}
% pour ne pas mettre l'extension des images
\DeclareGraphicsExtensions{.fig,.pdf,.png,.jpg}
% beamer theme
\mode<presentation>
\usetheme{tptnew}
%%------------------------------------------------------------------------------
%% Faire apparaitre le plan à chaque section
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Plan}
\tableofcontents[currentsection]
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}<beamer>
\frametitle{Plan}
\tableofcontents[currentsubsection]
\end{frame}
}
%------------------------------------------------------------------------------
%------------------------------------------------------------------------------
\title{Test}
\subtitle{model}
\author{Graba Tarik}
\institute{ TELECOM ParisTech }
\dept{COMELEC--SEN}
\date{}
%------------------------------------------------------------------------------
\begin{document}
\maketitle
%------------------------------------------------------------------------------
\section[1e] { 1e Section }
%------------------------------------------------------------------------------
\subsection[1su] { Sous section 1}
%------------------------------------------------------------------------------
\begin{frame}
\frametitle{First Frame}
\begin{itemize}
\item bla bla bla
\begin{itemize}
\item bla bla bla
\item bla bla bla
\end{itemize}
\item bla bla bla
\end{itemize}
\end{frame}
%------------------------------------------------------------------------------
\begin{frame}
\frametitle{an other Frame}
\framesubtitle{sub title}
\begin{itemize}
\item bla bla bla
\begin{itemize}
\item bla bla bla
\item bla bla bla
\end{itemize}
\item bla bla bla
\end{itemize}
\end{frame}
%------------------------------------------------------------------------------
\begin{frame}
\frametitle{an other Frame}
\begin{center}
\includegraphics[width=\textwidth]{cycii_PLL}
\end{center}
\end{frame}
%------------------------------------------------------------------------------
\subsection { Sous section 2}
%------------------------------------------------------------------------------
\begin{frame}
\frametitle{an other Frame}
\begin{center}
\includegraphics[width=\textwidth]{fpga_dff}
\end{center}
\end{frame}
%------------------------------------------------------------------------------
\section[2e] { 2e Section }
%------------------------------------------------------------------------------
\begin{frame}
\frametitle{First Frame}
\begin{itemize}
\item bla bla bla
\begin{itemize}
\item bla bla bla
\item bla bla bla
\end{itemize}
\item bla bla bla
\end{itemize}
\end{frame}
%------------------------------------------------------------------------------
\subsection { Sous section 1}
%------------------------------------------------------------------------------
\begin{frame}
\frametitle{an other Frame}
\begin{itemize}
\item bla bla bla
\begin{itemize}
\item bla bla bla
\item bla bla bla
\end{itemize}
\item bla bla bla
\end{itemize}
\end{frame}
%------------------------------------------------------------------------------
\subsection { Sous section 2}
%------------------------------------------------------------------------------
\begin{frame}
\frametitle{an other Frame}
\begin{itemize}
\item bla bla bla
\begin{itemize}
\item bla bla bla
\item bla bla bla
\end{itemize}
\item bla bla bla
\end{itemize}
\end{frame}
\end{document}
File added
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{beamerthemetptnew}[2011/11/15]
\mode<presentation>
\RequirePackage{xcolor}
\RequirePackage{helvet}
%
% Extra metadata commands: \email, \dept.
%
\newcommand\email[1]{\gdef\insertemail{#1}}
\email{}
\newcommand\dept[1]{\gdef\insertdept{#1}}
\dept{}
\pgfdeclareimage[width=\paperwidth,height=\paperheight]{BgdFirst}{fond.pdf}
\newcommand\logoheight{4ex}
\pgfdeclareimage[width=\logoheight]{logoTPT}{tpt}
\logo{\pgfuseimage{logoTPT}}
%
% Fonts and colors.
%
\definecolor{tptred}{rgb}{0.871,0,0.294} % Should be {cmyk}{0,1.0,0.66,0.13}?
\setbeamercolor{frametitle}{fg=white,bg=tptred}
\setbeamercolor{structure}{fg=tptred}
\setbeamercolor{title}{bg=tptred,fg=white}
\setbeamercolor{subtitle}{bg=tptred,fg=white}
\setbeamercolor{date in head/foot}{fg=white,bg=tptred}
\setbeamercolor{date in title frame}{fg=white,bg=tptred}
\setbeamercolor{page in head/foot}{fg=white,bg=tptred}
\setbeamercolor{dept in head/foot}{fg=white,bg=tptred!50!white}
\setbeamercolor{author in head/foot}{fg=white,bg=tptred!40!white}
\setbeamercolor{section in head/foot}{fg=white,bg=tptred!80}
\setbeamercolor{subsection in head/foot}{fg=tptred,bg=tptred!40}
\setbeamercolor{title in head/foot}{fg=white,bg=tptred}
\setbeamerfont{title}{size*={16}{20},series=\bfseries}
\setbeamerfont{subtitle}{size*={12}{14},series=\bfseries}
\setbeamerfont{email}{family=\ttfamily}
\setbeamerfont{date in head/foot}{size*={5}{6},series=\bfseries}
\setbeamerfont{date in title frame}{parent=date in head/foot,family=\rmfamily}
\setbeamerfont{page in head/foot}{size*={5}{6},series=\bfseries}
\setbeamerfont{dept in head/foot}{size*={6}{7},series=\bfseries}
\setbeamerfont{author in head/foot}{size*={6}{7},series=\bfseries}
\setbeamerfont{frametitle}{size*={14}{18},series=\bfseries}
%% Décomenter pour faire disparaitre les symboles de navigation
%\setbeamertemplate{navigation symbols}{}
%
% Title page.
%
\defbeamertemplate*{title page}{tpt default}%
{
\vbox{}%
\vfill
\hfill
\begin{minipage}[r]{.6\textwidth}
\raggedright
{\usebeamercolor[fg]{title}\usebeamerfont{title}\inserttitle\par}%
\ifx\insertsubtitle\@empty%
\else
{%
\vspace{.1\textheight}%
\usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\insertsubtitle\par
}%
\fi
\vspace{.1\textheight}%
\usebeamercolor[fg]{author}\usebeamerfont{author}\insertauthor\par
\end{minipage}
\vfill
}
\def\maketitle{%
{
%\usebackgroundtemplate{\includegraphics[width=\paperwidth]{fond.pdf}}
\usebackgroundtemplate{\pgfuseimage{BgdFirst}}
\ifbeamer@inframe
\titlepage
\else
\begin{frame}[plain]
\titlepage
\end{frame}
\fi
}
}
\defbeamertemplate*{sidebar right}{tpt default}
{
\vfill%
\llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
\vskip2pt%
}
%%% Bas de page
\defbeamertemplate*{footline}{tpt default}
{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[center,wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=1ex,rightskip=.3cm]{author in head/foot}%
\raisebox{-2pt}{\insertlogo}\hfill{}% le logo
\usebeamerfont{author in head/foot}\insertshortauthor%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=1ex]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle%
\hfill{}%
\insertframenumber{}/\inserttotalframenumber%
\end{beamercolorbox}}%
\vskip0pt%
}
%%%% En tête
\defbeamertemplate*{headline}{split theme}
{%
\leavevmode%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{section in head/foot}%
\insertsectionnavigationhorizontal{.5\paperwidth}{\hskip0pt plus1filll}{}%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{subsection in head/foot}%
\insertsubsectionnavigationhorizontal{.5\paperwidth}{}{\hskip0pt plus1filll}%
\end{beamercolorbox}%
}
\mode<all>
File added
This diff is collapsed.
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment