-
Notifications
You must be signed in to change notification settings - Fork 5
Use
The polytechnique-beamer
package 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
, XeLaTeX
or LuaLaTeX
in order to compile correctly your documents.
If you ever encounter troubles while trying to open one of your .pdf
files made with PDFLaTeX
, it might mean that your reader is not compliant enough. You can generally solve this by adding the following line at the very beginning of your .tex
file (before \documentclass
).
\pdfminorversion=4
\documentclass[aspectratio=169]{beamer}
\usepackage[utf8]{inputenc} % Only when compiling
\usepackage[T1]{fontenc} % with PDFLaTeX.
\usepackage{fontspec} % Only when not compiling
% with PDFLaTeX.
\usepackage[frenchb]{babel}
\usepackage{beamerx}
\title[Subtitle]{Title}
\author{John Smith}
\company{ACME Corporation} % To put next to
% "ÉCOLE POLYTECHNIQUE".
\logo[scale]{my-logo.png} % To add a logo to the
% titlepage. Careful with
% the aspect.
% Scale is the size factor of
% the logo.
\begin{document}
\maketitle
\end{document}
\xsection{violet}[Short-title]{Title}
\xsection{violet}[Short-title]{Title}[my-picture]
\xsection*{violet}{Title}
\xsubsection{violet}[Short-title]{Title}{Subtitle}
\xsubsection{violet}[Short-title]{Title}{Subtitle}[my-picture]
\xsubsection{violet}[Short-title]{Title}{}
subsection.tex - subsection.pdf
\begin{frame}{Title}
Simple content
\end{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}
\begin{picframe}[darkbw]{image.jpg}{About cats}
\begin{columns}[t,onlytextwidth]
\begin{column}{0.25\textwidth}
\begin{block}{Domestic}
Cats have been domesticated for 4000 years.
\end{block}
\begin{block}{Speed}
Cats can travel at speeds of up to 30km per hour.
\end{block}
\end{column}
\begin{column}{0.25\textwidth}
\begin{block}{Groups}
While not well known, the collective nouns used for cats and kittens are a clowder of cats and a kindle of kittens.
\vspace*{5ex}
\end{block}
\end{column}
\begin{column}{0.5\textwidth-1ex}
\end{column}
\end{columns}
\end{picframe}
Color themes for picframe
:
- darkbw
- dark
- lightbw
- light
\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}
- violet
- grey
- red
- blue
- purple
- green
- yellow
- turquoise
I don't want to see the title in the footer.
\usepackage[simplefoot]{beamerx}
simplefoot.tex - simplefoot.pdf
I don't want the arms in the header.
\usepackage[simplehead]{beamerx}
simplehead.tex - simplehead.pdf
I don't want the section title in the header.
\usepackage[notochead]{beamerx}
I want simple blocks without decoration.
\usepackage[simplebloc]{beamerx}
simplebloc.tex - simplebloc.pdf
The screen ratio I'm using is 4:3.
\usepackage[oldscreen]{beamerx}