Home Latex Beamer
Beamer PDF Print E-mail
Written by Willy Gerber   
Wednesday, 22 July 2009 17:41
Definitions
Introduction
\documentclass[option]{beamer}Class Definition
\mode
{
\usetheme{default}
}
Theme definition. See prefenied themes
\usepackage[german]{babel}
Package for german
\usepackage[latin1]{inputenc}
Package
\usepackage{pstricks}
Package for pstricks
\usepackage{pst-node}
Package for pstricks nodes
\usepackage{pst-text}
Package for pstricks text
\usepackage{pst-3d}
Package for pstricks 3d
\usepackage{pst-plot}
Package for pstricks plot
\usepackage{times}
Package for time
\usepackage[T1]{fontenc}
Package for fonts
\usepackage[absolute,overlay]{textpos}
Package textpos for logo
\pgfdeclareimage[height=value cm]{name}{file.eps}
Define logo file
\title[short_title]{long_title}
Title
\subtitle{subtitle}
Subtitle
\author[short_name]{long_name}
Author
\author[A, B]
{
A\inst{1} \and
B\inst{2}
}
\institute[short_name]{long_name}
Institute
\institute[A]
{
\inst{1} B \and
\inst{2} C
}
\date[short_date]{long_date}
Date
\subject{title}
Subject
\AtBeginSubsection[]
{
\begin{frame}{index_title}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
Build index
\let\psgrid\relax
Hide psgrid in file
Slide and Notes
\begin{document}
Start of document
\begin{frame}{title_text}
Start of frame (slide), title_text=slide title, text centered
\begin{frame}[t]{title_text}
Start of frame (slide), title_text=slide title, text aligned on top
\part{part_title}
Part title to be included in the pdf index
\section{section_title}
Section title to be included in the pdf index
\subsection{subsection_title}
Subsection title to be included in the pdf index
\begin{special_block}[special_title] or
\begin{block}{block_title_text}
Start of block (special cases special_block=Theorem, Definition, Proof, Example), block_title_text=block title (in case {theorem, definition, proof or example} the title is "Theorem", "Definition", "Proof" or "Example"
\end{special_block} or
\end{block}
End of block
\end{frame}
End of frame (slide)
\begin{itemize}
\item itemized item 1
\item itemized item 2
\begin{itemize}
\item itemized sub-item 2.1
\item itemized sub-item 2.2
\end{itemize}
\item itemized item 3
\end{itemize}
Item list
\begin{enumerate} \item itemized item 1
\item itemized item 2
\end{enumerate}
Item list
\begin{center}
\end{center}
Center the includet displays
\includegraphics[width=value]{file.jpg}
Display image
\begin{column}{width}
text
\end{column}
Split slite in columns
\rowcolors{1}{RoyalBlue!20}{RoyalBlue!5}
\begin{tabular}{|l|c|}\hline
A & a \\
B & b \\ \hline
\end{tabular}
Structure table
\[
(equation)
\]
Not numbered equation
\begin{equation}
(equation)
\end{equation}
Numbered equation
bla bla (\ref{code}) bla bla
Citation of an equation
\begin{equation}
(equation)
\label{code}
\end{equation}
Including the label to be cited
bla bla \cite{code} bla bla
Citation in text
\begin{thebibliography}{10}
\bibitem{code}[title]
detail
\end{thebibliography}
Reference of citation
\end{document}
End of document
Themas
Definitions
elementnormal text, alerted text, example text, projected text
structure, tiny structure
title, title in (head/foot, sidebar)
subtitle
author, author in (head/foot, sidebar)
institute, institute in (head/foot, sidebar)
date, date in (head/foot, sidebar)
part (name, title)
section in toc, section in toc shaded, section in head/foot, section in sidebar, section number projected
subsection in (toc, toc, head/foot, sidebar)
subsubsection in (toc, toc shaded, head/foot, sidebar)
headline
footline
sidebar, sidebar (left, right)
frametitle
framesubtitle
caption, caption name
button
block body, block body (alerted, example)
block title, block title (alerted, example)
item, item projected
subitem, subitem projected
subsubitem, subsubitem projected
itemize (item, subitem, subsubitem)
enumerate (item, subitem, subsubitem)
itemize/enumerate (body, subbody, subsubbody)
description item
abstract, abstract title
verse
quotation
quote
note page
size\Large
\large
\normalsize
\footnotesize
\scriptsize
\small
\Tiny
\tiny
family
\rmfamily
shape
\itshape
series
\bfseries
Predefined settings
\usefonttheme{font_settings}Change the fonts selections, possible settings definition are (preload alternatives): default, professionalfonts, serif, structurebold, structureitalicserif and structuresmallcapsserif
\usecolortheme{color_settings}Change the colors selections, possible settings definition are (preload alternatives): albatross, beaver, beetle, crane, default, dolphin, dove, fly, lily, orchid, rose, seagull, seahorse, sidebartab, structure, whale, wolverine
\useoutertheme{border_settings}Change the outer slide border, possible settings definition are (preload alternatives): default, infolines, miniframes, shadow, sidebar, smoothbars, smoothtree, split, tree
\useinnertheme{area_settings}Change the inner slide area, possible settings definition are (preload alternatives): circles, default, inmargin, rectangles, rounded
Specific settings
\setbeamersize{text margin left=6mm}
\setbeamersize{text margin right=2mm}
\setbeamersize{text margin left=6mm, text margin right=2mm}
Set margins, default is 128 mm by 96 mm
\setbeamerfont{elements}{series}
\setbeamerfont{structure example text}{series=\bfseries}
Define the font to be used in the different elements
\setbeamercolor{palette}{use={(elements)},fg=foreground_color,bg=background_color}
\setbeamercolor{palette primary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!75!black}
Color assignment
\setbeamertemplate{navigation symbols}{}
Deactivating the nagigation symbols
Other commands
\setfootline{text}
Write footline
\hfill
Fill horizontal space
\textwidth
Text width
\hsize
Horizontal size
\insertshortauthor
\insertshortinstitute
\insertshorttitle
\insertshortsubtitle
\insertshortdate
\insertframenumber
\inserttotalframenumber
\insertsectionhead
\insertsubsectionhead
Insert texts
\paperwidth
Paper width
\begin{beamercolorbox}[options]{beamer color}
Text
\end{beamercolorbox}
The possible options are:
wd={width}
dp={depth}
ht=height
leftskip=left skip
rightskip=right skip
sep=dimension
colsep=dimension
shadow=true or false
rounded=true or false
ignorebg
vmode
Last Updated ( Sunday, 26 July 2009 21:47 )
 
Copyright © 2010 gPhysics. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.