Skip to content
neze edited this page Dec 7, 2016 · 24 revisions

Compiling

polytechnique-beamer uses a weird trick with .pdf files for its graphisms. Therefore the pictures are only available in pdf format. You would then need to use PDFLaTeX in order to compile correctly your documents.

Basic document using polytechnique-beamer

This only works on the somuchbloat branch

\documentclass[aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[frenchb]{babel}

\usepackage{beamerx}

\title[Subtitle]{Title}
\author{John Smith}

\begin{document}
  \maketitle
\end{document}

basic.tex - basic.pdf

Commands to populate documents with content

Sections

\xsection{violet}[Short-title]{Title}
\xsection{violet}[Short-title]{Title}[my-picture]
\xsection*{violet}{Title}

section.tex - section.pdf

Sub sections

\xsubsection{violet}[Short-title]{Title}{Subtitle}
\xsubsection{violet}[Short-title]{Title}{Subtitle}[my-picture]
\xsubsection{violet}[Short-title]{Title}{}

subsection.tex - subsection.pdf

Frames

\begin{xframe}{Title}{Subtitle}
  Simple content
\end{xframe}

frame.tex - frame.pdf

Picture frame

\begin{xpic}[h]{my-high-picture}
  \bf\color{white}Text
\end{xpic}
\begin{xpic}[w]{my-high-picture}
  \bf\color{white}Text
\end{xpic}
\begin{xpic}{my-high-picture}
  \bf\color{white}Text
\end{xpic}
\begin{xpic}[h]{my-wide-picture}
  \bf\color{white}Text
\end{xpic}
\begin{xpic}[w]{my-wide-picture}
  \bf\color{black}Text
\end{xpic}
\begin{xpic}{my-wide-picture}
  \bf\color{black}Text
\end{xpic}

pic.tex - pic.pdf

Available color themes

  • violet
  • grey
  • red
  • blue
  • purple
  • green
  • yellow
  • turquoise
Clone this wiki locally