Skip to content
neze edited this page Dec 14, 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

\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{frame}{Title}{Subtitle}
  Simple content
\end{frame}

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

Blocks

\begin{frame}{Stacked}
  \begin{block}{First}
    Text
  \end{block}
  \begin{block}{Second}
    Text
  \end{block}
  \begin{block}{Third}
    Text
  \end{block}
\end{frame}

\begin{frame}{Adjacent}
  \begin{columns}[t]
    \begin{column}{0.4\textwidth}
      \begin{block}{First}
        Text
      \end{block}
    \end{column}
    \begin{column}{0.3\textwidth}
      \begin{block}{Second}
        Text
      \end{block}
    \end{column}
    \begin{column}{0.3\textwidth}
      \begin{block}{Third}
        Text
      \end{block}
    \end{column}
  \end{columns}
\end{frame}

blocks.tex - blocks.pdf

Available color themes

  • violet
  • grey
  • red
  • blue
  • purple
  • green
  • yellow
  • turquoise

Available options

Simple foot

I don't want to see the title in the footer.

\usepackage[simplefoot]{beamerx}

simplefoot.tex - simplefoot.pdf

Simple head

I don't want the arms in the header.

\usepackage[simplehead]{beamerx}

simplehead.tex - simplehead.pdf

Simple blocks

I wan't simple blocks without decoration.

\usepackage[simplebloc]{beamerx}

simplebloc.tex - simplebloc.pdf

Clone this wiki locally