SlideShare une entreprise Scribd logo
1  sur  49
Télécharger pour lire hors ligne
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to make a presentation with LATEX?
Introduction to Beamer
Hafida Benhidour
Department of computer science
King Saud University
November 23, 2015
1 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Contents
1 Introduction to LATEX
2 Introduction to Beamer
2 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Introduction to LATEX
LATEX( pronounced /"lA:tEx/, /"lA:tEk/, /"leItEx/, or
/"leItEk/) (Wikipedia) is a computer program for
typesetting text and mathematical formulas.
Uses commands to create mathematical symbols.
Not a WYSIWYG program. It is a WYWIWYG (what you
want is what you get) program!
The document is written as a source file using a markup
language.
The final document is obtained by compiling the source
file.
3 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Advantages of Using LATEX
Professional typesetting: Best output.
It is the standard for scientific documents.
Processing mathematical (& other) symbols.
Meaning based structuring (rather than appearance).
Knowledgeable and helpful user group.
Its FREE!
Platform independent.
4 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Installing LATEX
Linux:
1 Install TeXLive from your package manager.
2 Install a LATEXeditor of your choice: TeXstudio, TexMaker,
etc.
Windows:
1 Install MikTeX from http://miktex.org (this is the
LATEXcompiler).
2 Install a LATEXeditor of your choice: TeXstudio,
TeXnicCenter, etc.
Mac OS:
1 Install MacTeX (this is the LATEXcompiler for Mac).
2 Install a LATEXeditor of your choice.
5 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Structure of a LATEXDocument
All latex documents have the following structure:
 documentclass [ . . . ] { . . . }
 usepackage { . . . }
 begin {document}
. . .
end{document}
6 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
LATEXCommands
Always begin with a backslash : documentclass,
usepackage.
Case sensitive.
Consist of letters only.
Some have parameters.
Square brackets [ ] after the command name are for
optional parameters.
Curly braces { } after the command name are for required
parameters
7 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
The Command: documentclass
a r t i c l e
r e p o r t
 documentclass [ o p t i o n s ]{ beamer }
book
l e t t e r
. . .
First line of all LATEXdocuments.
Specifies the type of the document:
article: Research paper.
report: Multi-chapter document.
book: For books.
letter: For letters.
[options] can be used to set font size (10, 11, or 12 pt),
set paper size, use one or two columns, etc.
Most science publishers (Springer, Elsevier, IEEE, ACM
etc.) have their own document classes. These are
predefined classes. 8 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Packages
 usepackage { package }
Packages add new features and commands to LaTeX.
Common packages:
amsmath, amssymb: for math symbols.
graphicx: for including graphics and images.
Can also define new commands in the preamble, specify
page numbering, etc.
9 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Input the Text
The body of the text is written after the begin{document}
command:
 begin {document}
Enter the document content here
end{document}
Remark
begin{...} commands always need to be followed (eventually)
by end{...} commands.
10 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
A Simple LATEXDocument
The following is a very basic
LATEXdocument:
 documentclass { a r t i c l e }
 usepackage { graphicx }
 begin {document}
This i s some
sample t e x t .
end{document}
This gives the following
output:
This is some sample text.
1
11 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Sections of a Paper
First thing: you have to indicate the title and the author(s) of
the paper:
 t i t l e { t i t l e }
 author { authors }
 date { date }
 m a k e t i t l e
Remark
Without maketitle, the title and authors do not appear in the
output.
Example
 t i t l e {The Theory of R e l a t i v i t y }
 author { A l b e r t E i n s t e i n }
 date {01/01/1926}
 m a k e t i t l e
12 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Sections of a Paper
 thanks { . . . }
 begin { a b s t r a c t } . . . . end{ a b s t r a c t }
 begin { keywords } . . . end{ keywords }
thanks creates a footnote with whatever is in the braces.
Usually used after authors’ names for academic information
Example
 thanks { I want to thank the U n i v e r s i t y of Princeton
f o r s upp ort ing t h i s work .}
 begin { a b s t r a c t }
In t h i s paper , I i n t r o d u c e a new theory to e x p l a i n
how time and space are r e l a t e d .
end{ a b s t r a c t }
 begin { keywords } R e l a t i v i t y ; space ; time end{
keywords }
13 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
A Simple LATEXDocument
The following is a sampleLATEXdocument:
 documentclass { a r t i c l e }
 usepackage { graphics , amsmath , amssymb}
 begin {document}
 t i t l e {The Theory of R e l a t i v i t y }
 author { A l b e r t E i n s t i e n }
 date {01/01/1926}
 m a k e t i t l e
 begin { a b s t r a c t }
In t h i s paper , I i n t r o d u c e a new theory to e x p l a i n
. . .
end{ a b s t r a c t }
 s e c t i o n { I n t r o d u c t i o n }
What i s time and space ? . . .
 s e c t i o n {The Theory}
Time and space are l i n k e d . . .
 s u b s e c t i o n { Proof }
This the proof to my theory
end{document}
14 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Sections
The document should be divided into sections, subsections, etc.
Important commands:
 s e c t i o n { T i t l e of f i r s t s e c t i o n }
. . .
 s u b s e c t i o n { . . . }
. . .
 s e c t i o n { T i t l e of second s e c t i o n }
. . .
 s u b s e c t i o n { . . . }
. . .
 s u b s u b s e c t i o n { . . . }
. . .
LATEXformates the section titles and numbers them according to
the document class being used.
15 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
A Simple LATEXDocument
This gives the following output:
The Theory of Relativity
Albert Einstien
01/01/1926
Abstract
In this paper, I introduce a new theory to explain how time and space
are related.
1 Introduction
What is time and space?...
2 The Theory
Time and space are linked...
2.1 Proof
This the proof to my theory
1
16 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Cross-referencing
Cross references can be made using the commands label and
ref.
Example
 s e c t i o n { I n t r o d u c t i o n }
 l a b e l { sec : i n t r o }
This i s the i n t r o d u c t i o n . . .
 s e c t i o n { Conclusion }
As mentioned i n Section  r e f { sec : i n t r o } , we have . . .
LATEXupdates the references automatically.
It is possible to use any identifier as a label.
It is custom to use the prefixes: sec:xxx for section labels,
fig:xxx for figure labels, chap:xxx for chapter labels,
tab:xxx for table labels, eq:xxx for equation labels.
17 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Inserting Tables
To include tables, you must use the following commands.
Example
Table  r e f { t a b l e example }
shows a t a b l e .
 begin { t a b l e }
 caption {An Example of a
Table }
 l a b e l { t a b l e example }
 c e n t e r i n g
 begin { t a b u l a r }{| c | c |}
 h l i n e Student & Grade

 h l i n e 12 & 13 
 h l i n e
end{ t a b u l a r }
end{ t a b l e }
Table 1 shows a table.
Table : An Example of a
Table
Student Grade
12 13
18 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Inserting Images
To include images, you must use a graphics package. The most
common is graphicx.
Example
Figure  r e f { f i g : monalisa }
shows the p a i n t i n g .
 begin { f i g u r e }
 c e n t e r i n g % To c e n t e r
the image
 i n c l u d e g r a p h i c s [ width
=2.5cm]{ monalisa . jpg }
% Path and f i l e name
 caption {The Monalisa }
 l a b e l { f i g : monalisa }
end{ f i g u r e }
Figure 1 shows the
painting.
Figure : The Monalisa
19 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Inserting Images
In general, a figure is included using:
 begin { f i g u r e }[ o p t i o n s ]
 c e n t e r i n g
 i n c l u d e g r a p h i c s [ o p t i o n s ]{ f i l e name}
 caption { Figure t i t l e }
 l a b e l { l a b e l }
end{ f i g u r e }
In begin{figure}[options], you can specify the position
option:
1 t: top of page.
2 h: here.
3 !: let the compiler decide.
4 Any combination can be used.
The compiler tries its best to fulfill your wish, but not
necessarily.
In includegraphics[options], you can specify the height,
the width, the angle of rotation of the image. 20 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Typesetting Mathematical Equations
Latex is extremely good at typesetting math equations.
Equations are written as text.
Inline equations (equations within the text) are written
between $ and $.
Example
Code:
Assume that $  alpha x +  beta y =1$, then
Output:
Assume that αx + βy = 1, then
21 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Typesetting Mathematical Equations
Equations on a separate line are enclosed between [ and
].
Example
Code:
Assume that :
[
 alpha x +  beta y =1,
]
then . . .
Output:
Assume that:
αx + βy = 1,
then ...
22 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Typesetting Mathematical Equations
Numbered equations are written within the equation
environment.
Example
Code:
Assume that :
 begin { equation }
 l a b e l {eq : my−equation } % <= The equation l a b e l
 alpha x +  beta y =1,
end{ equation }
then . . .
Output:
Assume that:
αx + βy = 1, (1)
then ...
23 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Typesetting Mathematical Equations
To refer a numbered equation, use the command eqref.
The equation numbers are updated automatically.
Example
Code:
By using Equation  e q r e f {eq : my−equation } , we
obtain : . . .
 begin { equation }
 l a b e l {eq : my−equation 2}
 alpha x= 1−  beta y .
end{ equation }
Output:
By using Equation (1), we obtain:
αx = 1 − βy. (2)
24 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Using Graphical Equation Editors
The best way to write an equation is to write it directly as
text: it is faster and you have more control.
You can, however, use some graphical editors to help you
write the equations until you master LATEX.
Some LATEX editors (like TexStudio) offer some tool-bars
with buttons that can help you write math symbols or
even draw the math symbols (like the Math wizard in
TexStudio).
There are also online LATEX equation editors, for example:
http://www.codecogs.com/latex/eqneditor.php.
25 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Introduction to Beamer?
Beamer is a flexible LATEXclass for making slides and
presentations.
It supports functionality for making PDF slides complete
with colors, themes, transitions, overlays, etc.
Adds a couple new features to the commands already you
know about LATEX.
This presentation was made using the Beamer class.
26 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Why using LATEXfor presentations?
Professional slides.
Processing mathematical (& other) symbols.
You care about the content and not about how the slides
look.
A lot of templates are available for download.
Free.
A lot of help.
Easy to prepare handouts.
27 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Installing the package Beamer
If you want to prepare a presentation using LaTeX, you need to
use Beamer package.
Linux: Under Debian or Ubuntu, you can type the
following command: apt-get install latex-beamer
Windows: Click the MikTex in your Windows ”start
menu” and then Maintenance. Then click on Package
manager, look for Beamer and install it. You can also
dowload it from here:
https://bitbucket.org/rivanvx/beamer/downloads
Mac OS: Already installed in MacTex
28 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Structure of a LATEXpresentation
All latex presentations using Beamer have the following
structure:
 documentclass {beamer}
 usepackage { graphicx } %i n c l u d e your packages here
 usetheme {Warsaw} %choose a theme : d e f a u l t , Antibes ,
Warsaw . . .
 t i t l e [ I n t r o d u c t i o n to Beamer ]{How to make a
p r e s e n t a t i o n with LaTeX?}
 author { Hafida Benhidour }
 i n s t i t u t e [ Hafida Benhidour ]{ Department of computer
s c i e n c e  King Saud U n i v e r s i t y }
 date {November 17 , 2014}
 begin {document}
%I n s e r t the s l i d e s here
. . . . .
end{document}
29 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to add the title slide?
 documentclass {beamer}
 usepackage { graphicx }
 usetheme {Warsaw}
 t i t l e [ I n t r o d u c t i o n to Beamer ]{How to make a
p r e s e n t a t i o n with LaTeX?}
 author { Hafida Benhidour }
 i n s t i t u t e [KSU]{ Department of computer s c i e n c e  King
Saud U n i v e r s i t y }
 date {November 17 , 2014}
 begin {document}
%I n s e r t the f i r s t s l i d e c o n t a i n i n g the t i t l e of the
p r e s e n t a t i o n
 begin { frame }
 t i t l e p a g e
end{ frame }
. . . . .
end{document}
30 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to add the title slide?
Output
31 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to add a slide?
. . . .
 begin { frame }{ T i t l e of your s l i d e }
t h i s i s an example
end{ frame }
. . .
Output
32 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to add a bulleted list?
Add a list environment between the command begin{frame}
followed by the title of the slide and the command
end{frame}.
 begin { i t e m i z e }
 item This i s the f i r s t point
 item This i s the second point
end{ i t e m i z e }
Output
This is the first point
This is the second point
33 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to animate a bulleted list?
Add pause before each item.
 begin { i t e m i z e }
 pause
 item This i s the f i r s t point
 pause
 item This i s the second point
end{ i t e m i z e }
Output
34 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to animate a bulleted list?
Add pause before each item.
 begin { i t e m i z e }
 pause
 item This i s the f i r s t point
 pause
 item This i s the second point
end{ i t e m i z e }
Output
This is the first point
35 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to animate a bulleted list?
Add pause before each item.
 begin { i t e m i z e }
 pause
 item This i s the f i r s t point
 pause
 item This i s the second point
end{ i t e m i z e }
Output
This is the first point
This is the second point
36 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to add a numbered list?
Add a list environment between the command begin{frame}
followed by the title of the slide and the command
end{frame}.
 begin { enumerate }
 item This i s the f i r s t point
 item This i s the second point
end{ enumerate }
Output
1 This is the first point
2 This is the second point
37 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to animate a numbered list?
Add pause before each item.
 begin { enumerate }
 pause
 item This i s the f i r s t point
 pause
 item This i s the second point
end{ enumerate }
Output
38 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to animate a numbered list?
Add pause before each item.
 begin { enumerate }
 pause
 item This i s the f i r s t point
 pause
 item This i s the second point
end{ enumerate }
Output
1 This is the first point
39 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to animate a numbered list?
Add pause before each item.
 begin { enumerate }
 pause
 item This i s the f i r s t point
 pause
 item This i s the second point
end{ enumerate }
Output
1 This is the first point
2 This is the second point
40 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Another way to create pauses
This method works for both bulleted and numbered lists.
 begin { i t e m i z e }
item<3−> This i s the f i r s t point
item<2−> This i s the second point
item<1−> This i s the t h i r d point
end{ i t e m i z e }
Output
This is the third point
41 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Another way to create pauses
This method works for both bulleted and numbered lists.
 begin { i t e m i z e }
item<3−> This i s the f i r s t point
item<2−> This i s the second point
item<1−> This i s the t h i r d point
end{ i t e m i z e }
Output
This is the second point
This is the third point
42 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Another way to create pauses
This method works for both bulleted and numbered lists.
 begin { i t e m i z e }
item<3−> This i s the f i r s t point
item<2−> This i s the second point
item<1−> This i s the t h i r d point
end{ i t e m i z e }
Output
This is the first point
This is the second point
This is the third point
43 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
How to add a text area?
Useful if you need to add a definition for example.
 begin { block }{ D e f i n i t i o n }
Write the d e f i n i t i o n here .
end{ block }
Definition
Write the definition here.
44 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Dividing the slide into two parts
Good for displaying a text on one side and a picture on the
other.
Here is the displayed equation:
f (x) = 2x3
− 7x + 3
Figure : Equation plot
45 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Dividing the slide into two parts
Use begin{columns} with corresponding end for the columns
environment. Use begin{column} with corresponding end to
make the individual columns.
 begin { frame }{ D i v i d i n g the s l i d e i n t o two p a r t s }
 begin { columns }
 begin {column }{0.5 textwidth }
Here i s the d i s p l a y e d equation : [ f ( x )=2xˆ3−7x+3]
end{column}
 begin {column }{0.5 textwidth }
 begin { f i g u r e }
 i n c l u d e g r a p h i c s [ width =0.7 l i n e w i d t h , height=3cm ] { . /
equaplot }
 caption { Equation p l o t }
end{ f i g u r e }
end{column}
end{ columns }
end{ frame }
46 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Handouts
47 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Handouts
In the beginning of your latex document add the handout
option and use the theme default.
To print several pages use the package pgfpages.
 documentclass [ handout ]{ beamer}
 usetheme { d e f a u l t }
 usepackage { pgfpages }
 p g f p a g e s u s e l a y o u t {4 on 1}[ border s h r i n k=2mm]
48 / 49
Introduction
to Beamer
Hafida
Benhidour
Introduction
to LATEX
Introduction
to Beamer
Help
Forums.
en.wikibooks.org, search for the command that you do not
know how to use it, you will find a lot of examples.
49 / 49

Contenu connexe

Tendances (12)

Latex
LatexLatex
Latex
 
Latex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesLatex workshop: Essentials and Practices
Latex workshop: Essentials and Practices
 
LaTeX Part 1
LaTeX Part 1LaTeX Part 1
LaTeX Part 1
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
 
La tex basics
La tex basicsLa tex basics
La tex basics
 
Latex slides
Latex slidesLatex slides
Latex slides
 
LaTeX Part 2
LaTeX Part 2LaTeX Part 2
LaTeX Part 2
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
 
Technical writing using LaTeX
Technical writing using LaTeXTechnical writing using LaTeX
Technical writing using LaTeX
 
La famille *down
La famille *downLa famille *down
La famille *down
 
La famille *down
La famille *downLa famille *down
La famille *down
 
Intelligent Impress
Intelligent ImpressIntelligent Impress
Intelligent Impress
 

En vedette

Eleoui mustafa latex_article
Eleoui mustafa latex_articleEleoui mustafa latex_article
Eleoui mustafa latex_articleKhalid Addahabi
 
نظام نور
نظام نورنظام نور
نظام نورroky hay
 
مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان
مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان
مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان Samar Almossa
 
Intro HC Cafe-1
Intro HC Cafe-1Intro HC Cafe-1
Intro HC Cafe-1Jeff Laird
 
الفصل الاول
الفصل الاولالفصل الاول
الفصل الاولMahmoud Reda
 
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)mustainmtn
 
Manual de programacion LaTeX
Manual de programacion LaTeXManual de programacion LaTeX
Manual de programacion LaTeXMoisés Toledo
 
How to use LaTeX and Beamer to prepare presentation for Slideshare
How to use LaTeX and Beamer to prepare presentation for SlideshareHow to use LaTeX and Beamer to prepare presentation for Slideshare
How to use LaTeX and Beamer to prepare presentation for SlideshareVesa Linja-aho
 
Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)Guy K. Kloss
 
How to make boxed text with LaTeX
How to make boxed text with LaTeXHow to make boxed text with LaTeX
How to make boxed text with LaTeXVesa Linja-aho
 
Manual de latex
Manual de latex Manual de latex
Manual de latex ivan10204
 
2 تصميم وإعداد خطة البحث. 5
2 تصميم وإعداد خطة البحث. 52 تصميم وإعداد خطة البحث. 5
2 تصميم وإعداد خطة البحث. 5Dr. Magdy Youness
 
مبادىء ادارة ج1 ادارة-15
مبادىء ادارة ج1 ادارة-15مبادىء ادارة ج1 ادارة-15
مبادىء ادارة ج1 ادارة-15Fida Kadun
 
نظرية التحليل النفسي
نظرية التحليل النفسينظرية التحليل النفسي
نظرية التحليل النفسيSalem AlMuhajri
 

En vedette (15)

Latex in arabic
Latex in arabicLatex in arabic
Latex in arabic
 
Eleoui mustafa latex_article
Eleoui mustafa latex_articleEleoui mustafa latex_article
Eleoui mustafa latex_article
 
نظام نور
نظام نورنظام نور
نظام نور
 
مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان
مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان
مقهى الكتابة: رحلة البحث العلمي مع د. رغد اللويحان
 
Intro HC Cafe-1
Intro HC Cafe-1Intro HC Cafe-1
Intro HC Cafe-1
 
الفصل الاول
الفصل الاولالفصل الاول
الفصل الاول
 
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
Beamer guide By KiJoo Kim (a.k.a. Daisyweb)
 
Manual de programacion LaTeX
Manual de programacion LaTeXManual de programacion LaTeX
Manual de programacion LaTeX
 
How to use LaTeX and Beamer to prepare presentation for Slideshare
How to use LaTeX and Beamer to prepare presentation for SlideshareHow to use LaTeX and Beamer to prepare presentation for Slideshare
How to use LaTeX and Beamer to prepare presentation for Slideshare
 
Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)
 
How to make boxed text with LaTeX
How to make boxed text with LaTeXHow to make boxed text with LaTeX
How to make boxed text with LaTeX
 
Manual de latex
Manual de latex Manual de latex
Manual de latex
 
2 تصميم وإعداد خطة البحث. 5
2 تصميم وإعداد خطة البحث. 52 تصميم وإعداد خطة البحث. 5
2 تصميم وإعداد خطة البحث. 5
 
مبادىء ادارة ج1 ادارة-15
مبادىء ادارة ج1 ادارة-15مبادىء ادارة ج1 ادارة-15
مبادىء ادارة ج1 ادارة-15
 
نظرية التحليل النفسي
نظرية التحليل النفسينظرية التحليل النفسي
نظرية التحليل النفسي
 

Similaire à عمل العروض التقديمية باستخدام برنامج مقدمه في استخدام برنامج Latex

Similaire à عمل العروض التقديمية باستخدام برنامج مقدمه في استخدام برنامج Latex (20)

محاضرة 7
محاضرة 7محاضرة 7
محاضرة 7
 
ورشة العمل 7
ورشة العمل 7ورشة العمل 7
ورشة العمل 7
 
Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016
 
Latex_Tutorial.pdf
Latex_Tutorial.pdfLatex_Tutorial.pdf
Latex_Tutorial.pdf
 
Basic Introduction to LaTeX
Basic Introduction to LaTeXBasic Introduction to LaTeX
Basic Introduction to LaTeX
 
Chap17 scr
Chap17 scrChap17 scr
Chap17 scr
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
 
Latex Tuitorial
Latex TuitorialLatex Tuitorial
Latex Tuitorial
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
 
sigproc-sp.pdf
sigproc-sp.pdfsigproc-sp.pdf
sigproc-sp.pdf
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
 
latex.pptx
latex.pptxlatex.pptx
latex.pptx
 
Chap12 scr
Chap12 scrChap12 scr
Chap12 scr
 
Learn Latex
Learn LatexLearn Latex
Learn Latex
 
JSUG - TeX Day by Christoph Pickl
JSUG - TeX Day by Christoph PicklJSUG - TeX Day by Christoph Pickl
JSUG - TeX Day by Christoph Pickl
 
Latex Tutorial by Dr. M. C. Hanumantharaju
Latex Tutorial by Dr. M. C. HanumantharajuLatex Tutorial by Dr. M. C. Hanumantharaju
Latex Tutorial by Dr. M. C. Hanumantharaju
 
LaTeX-Presentation
LaTeX-PresentationLaTeX-Presentation
LaTeX-Presentation
 
Algorithm2e package for Latex
Algorithm2e package for LatexAlgorithm2e package for Latex
Algorithm2e package for Latex
 
Chap05 scr
Chap05 scrChap05 scr
Chap05 scr
 

Plus de researchcenterm

How to present a poster (1)
How to present a poster (1)How to present a poster (1)
How to present a poster (1)researchcenterm
 
الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)
الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)
الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)researchcenterm
 
د. إسراء الطريقي صندوق أدوات البحث العلمي
د. إسراء الطريقي  صندوق أدوات البحث العلميد. إسراء الطريقي  صندوق أدوات البحث العلمي
د. إسراء الطريقي صندوق أدوات البحث العلميresearchcenterm
 
مقدمه في استخدام برنامج Endnote
مقدمه في استخدام برنامج Endnoteمقدمه في استخدام برنامج Endnote
مقدمه في استخدام برنامج Endnoteresearchcenterm
 
Introduction to end note amani_workshop_final
Introduction to end note  amani_workshop_finalIntroduction to end note  amani_workshop_final
Introduction to end note amani_workshop_finalresearchcenterm
 
مقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفية
مقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفيةمقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفية
مقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفيةresearchcenterm
 
محاضرة د.سعاد
محاضرة د.سعادمحاضرة د.سعاد
محاضرة د.سعادresearchcenterm
 
كيفية كتابة المسح الأدبي
كيفية كتابة المسح الأدبيكيفية كتابة المسح الأدبي
كيفية كتابة المسح الأدبيresearchcenterm
 
The importance of knowing the history of your m
The importance of knowing the history of your mThe importance of knowing the history of your m
The importance of knowing the history of your mresearchcenterm
 
Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...
Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...
Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...researchcenterm
 
تبويب المراجع العلمية مركز البحوث العلمية
تبويب المراجع العلمية مركز البحوث العلميةتبويب المراجع العلمية مركز البحوث العلمية
تبويب المراجع العلمية مركز البحوث العلميةresearchcenterm
 
الاسباب الهرمونية والجينية للهشاشة
الاسباب الهرمونية والجينية للهشاشةالاسباب الهرمونية والجينية للهشاشة
الاسباب الهرمونية والجينية للهشاشةresearchcenterm
 
سرطان الثدي د.مها
سرطان الثدي د.مهاسرطان الثدي د.مها
سرطان الثدي د.مهاresearchcenterm
 
البحث العلمي المنشور بين الجيد والرديء
البحث العلمي  المنشور بين الجيد والرديءالبحث العلمي  المنشور بين الجيد والرديء
البحث العلمي المنشور بين الجيد والرديءresearchcenterm
 
Research tools dr_hend (4) hend
Research tools dr_hend (4) hendResearch tools dr_hend (4) hend
Research tools dr_hend (4) hendresearchcenterm
 

Plus de researchcenterm (20)

يصثيصيص ي
يصثيصيص ييصثيصيص ي
يصثيصيص ي
 
How to present a poster (1)
How to present a poster (1)How to present a poster (1)
How to present a poster (1)
 
How to present a poster
How to present a posterHow to present a poster
How to present a poster
 
الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)
الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)
الأخطاء الشائعة في البحث العلمي د. ضحى النوري (1)
 
د. إسراء الطريقي صندوق أدوات البحث العلمي
د. إسراء الطريقي  صندوق أدوات البحث العلميد. إسراء الطريقي  صندوق أدوات البحث العلمي
د. إسراء الطريقي صندوق أدوات البحث العلمي
 
مقدمه في استخدام برنامج Endnote
مقدمه في استخدام برنامج Endnoteمقدمه في استخدام برنامج Endnote
مقدمه في استخدام برنامج Endnote
 
دانه
دانهدانه
دانه
 
Introduction to end note amani_workshop_final
Introduction to end note  amani_workshop_finalIntroduction to end note  amani_workshop_final
Introduction to end note amani_workshop_final
 
مقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفية
مقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفيةمقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفية
مقدمة عن الإعلام العلمي وكتابة المقالة العلمية الصحفية
 
محاضرة د.سعاد
محاضرة د.سعادمحاضرة د.سعاد
محاضرة د.سعاد
 
Mendeley packet3
Mendeley packet3Mendeley packet3
Mendeley packet3
 
Research design methods
Research design methodsResearch design methods
Research design methods
 
كيفية كتابة المسح الأدبي
كيفية كتابة المسح الأدبيكيفية كتابة المسح الأدبي
كيفية كتابة المسح الأدبي
 
The importance of knowing the history of your m
The importance of knowing the history of your mThe importance of knowing the history of your m
The importance of knowing the history of your m
 
Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...
Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...
Innovatival Functionalized Nanomaterials for Biomedicalm Sensing and Composit...
 
تبويب المراجع العلمية مركز البحوث العلمية
تبويب المراجع العلمية مركز البحوث العلميةتبويب المراجع العلمية مركز البحوث العلمية
تبويب المراجع العلمية مركز البحوث العلمية
 
الاسباب الهرمونية والجينية للهشاشة
الاسباب الهرمونية والجينية للهشاشةالاسباب الهرمونية والجينية للهشاشة
الاسباب الهرمونية والجينية للهشاشة
 
سرطان الثدي د.مها
سرطان الثدي د.مهاسرطان الثدي د.مها
سرطان الثدي د.مها
 
البحث العلمي المنشور بين الجيد والرديء
البحث العلمي  المنشور بين الجيد والرديءالبحث العلمي  المنشور بين الجيد والرديء
البحث العلمي المنشور بين الجيد والرديء
 
Research tools dr_hend (4) hend
Research tools dr_hend (4) hendResearch tools dr_hend (4) hend
Research tools dr_hend (4) hend
 

Dernier

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Dernier (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

عمل العروض التقديمية باستخدام برنامج مقدمه في استخدام برنامج Latex

  • 1. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to make a presentation with LATEX? Introduction to Beamer Hafida Benhidour Department of computer science King Saud University November 23, 2015 1 / 49
  • 2. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Contents 1 Introduction to LATEX 2 Introduction to Beamer 2 / 49
  • 3. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Introduction to LATEX LATEX( pronounced /"lA:tEx/, /"lA:tEk/, /"leItEx/, or /"leItEk/) (Wikipedia) is a computer program for typesetting text and mathematical formulas. Uses commands to create mathematical symbols. Not a WYSIWYG program. It is a WYWIWYG (what you want is what you get) program! The document is written as a source file using a markup language. The final document is obtained by compiling the source file. 3 / 49
  • 4. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Advantages of Using LATEX Professional typesetting: Best output. It is the standard for scientific documents. Processing mathematical (& other) symbols. Meaning based structuring (rather than appearance). Knowledgeable and helpful user group. Its FREE! Platform independent. 4 / 49
  • 5. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Installing LATEX Linux: 1 Install TeXLive from your package manager. 2 Install a LATEXeditor of your choice: TeXstudio, TexMaker, etc. Windows: 1 Install MikTeX from http://miktex.org (this is the LATEXcompiler). 2 Install a LATEXeditor of your choice: TeXstudio, TeXnicCenter, etc. Mac OS: 1 Install MacTeX (this is the LATEXcompiler for Mac). 2 Install a LATEXeditor of your choice. 5 / 49
  • 6. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Structure of a LATEXDocument All latex documents have the following structure: documentclass [ . . . ] { . . . } usepackage { . . . } begin {document} . . . end{document} 6 / 49
  • 7. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer LATEXCommands Always begin with a backslash : documentclass, usepackage. Case sensitive. Consist of letters only. Some have parameters. Square brackets [ ] after the command name are for optional parameters. Curly braces { } after the command name are for required parameters 7 / 49
  • 8. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer The Command: documentclass a r t i c l e r e p o r t documentclass [ o p t i o n s ]{ beamer } book l e t t e r . . . First line of all LATEXdocuments. Specifies the type of the document: article: Research paper. report: Multi-chapter document. book: For books. letter: For letters. [options] can be used to set font size (10, 11, or 12 pt), set paper size, use one or two columns, etc. Most science publishers (Springer, Elsevier, IEEE, ACM etc.) have their own document classes. These are predefined classes. 8 / 49
  • 9. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Packages usepackage { package } Packages add new features and commands to LaTeX. Common packages: amsmath, amssymb: for math symbols. graphicx: for including graphics and images. Can also define new commands in the preamble, specify page numbering, etc. 9 / 49
  • 10. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Input the Text The body of the text is written after the begin{document} command: begin {document} Enter the document content here end{document} Remark begin{...} commands always need to be followed (eventually) by end{...} commands. 10 / 49
  • 11. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer A Simple LATEXDocument The following is a very basic LATEXdocument: documentclass { a r t i c l e } usepackage { graphicx } begin {document} This i s some sample t e x t . end{document} This gives the following output: This is some sample text. 1 11 / 49
  • 12. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Sections of a Paper First thing: you have to indicate the title and the author(s) of the paper: t i t l e { t i t l e } author { authors } date { date } m a k e t i t l e Remark Without maketitle, the title and authors do not appear in the output. Example t i t l e {The Theory of R e l a t i v i t y } author { A l b e r t E i n s t e i n } date {01/01/1926} m a k e t i t l e 12 / 49
  • 13. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Sections of a Paper thanks { . . . } begin { a b s t r a c t } . . . . end{ a b s t r a c t } begin { keywords } . . . end{ keywords } thanks creates a footnote with whatever is in the braces. Usually used after authors’ names for academic information Example thanks { I want to thank the U n i v e r s i t y of Princeton f o r s upp ort ing t h i s work .} begin { a b s t r a c t } In t h i s paper , I i n t r o d u c e a new theory to e x p l a i n how time and space are r e l a t e d . end{ a b s t r a c t } begin { keywords } R e l a t i v i t y ; space ; time end{ keywords } 13 / 49
  • 14. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer A Simple LATEXDocument The following is a sampleLATEXdocument: documentclass { a r t i c l e } usepackage { graphics , amsmath , amssymb} begin {document} t i t l e {The Theory of R e l a t i v i t y } author { A l b e r t E i n s t i e n } date {01/01/1926} m a k e t i t l e begin { a b s t r a c t } In t h i s paper , I i n t r o d u c e a new theory to e x p l a i n . . . end{ a b s t r a c t } s e c t i o n { I n t r o d u c t i o n } What i s time and space ? . . . s e c t i o n {The Theory} Time and space are l i n k e d . . . s u b s e c t i o n { Proof } This the proof to my theory end{document} 14 / 49
  • 15. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Sections The document should be divided into sections, subsections, etc. Important commands: s e c t i o n { T i t l e of f i r s t s e c t i o n } . . . s u b s e c t i o n { . . . } . . . s e c t i o n { T i t l e of second s e c t i o n } . . . s u b s e c t i o n { . . . } . . . s u b s u b s e c t i o n { . . . } . . . LATEXformates the section titles and numbers them according to the document class being used. 15 / 49
  • 16. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer A Simple LATEXDocument This gives the following output: The Theory of Relativity Albert Einstien 01/01/1926 Abstract In this paper, I introduce a new theory to explain how time and space are related. 1 Introduction What is time and space?... 2 The Theory Time and space are linked... 2.1 Proof This the proof to my theory 1 16 / 49
  • 17. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Cross-referencing Cross references can be made using the commands label and ref. Example s e c t i o n { I n t r o d u c t i o n } l a b e l { sec : i n t r o } This i s the i n t r o d u c t i o n . . . s e c t i o n { Conclusion } As mentioned i n Section r e f { sec : i n t r o } , we have . . . LATEXupdates the references automatically. It is possible to use any identifier as a label. It is custom to use the prefixes: sec:xxx for section labels, fig:xxx for figure labels, chap:xxx for chapter labels, tab:xxx for table labels, eq:xxx for equation labels. 17 / 49
  • 18. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Inserting Tables To include tables, you must use the following commands. Example Table r e f { t a b l e example } shows a t a b l e . begin { t a b l e } caption {An Example of a Table } l a b e l { t a b l e example } c e n t e r i n g begin { t a b u l a r }{| c | c |} h l i n e Student & Grade h l i n e 12 & 13 h l i n e end{ t a b u l a r } end{ t a b l e } Table 1 shows a table. Table : An Example of a Table Student Grade 12 13 18 / 49
  • 19. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Inserting Images To include images, you must use a graphics package. The most common is graphicx. Example Figure r e f { f i g : monalisa } shows the p a i n t i n g . begin { f i g u r e } c e n t e r i n g % To c e n t e r the image i n c l u d e g r a p h i c s [ width =2.5cm]{ monalisa . jpg } % Path and f i l e name caption {The Monalisa } l a b e l { f i g : monalisa } end{ f i g u r e } Figure 1 shows the painting. Figure : The Monalisa 19 / 49
  • 20. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Inserting Images In general, a figure is included using: begin { f i g u r e }[ o p t i o n s ] c e n t e r i n g i n c l u d e g r a p h i c s [ o p t i o n s ]{ f i l e name} caption { Figure t i t l e } l a b e l { l a b e l } end{ f i g u r e } In begin{figure}[options], you can specify the position option: 1 t: top of page. 2 h: here. 3 !: let the compiler decide. 4 Any combination can be used. The compiler tries its best to fulfill your wish, but not necessarily. In includegraphics[options], you can specify the height, the width, the angle of rotation of the image. 20 / 49
  • 21. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Typesetting Mathematical Equations Latex is extremely good at typesetting math equations. Equations are written as text. Inline equations (equations within the text) are written between $ and $. Example Code: Assume that $ alpha x + beta y =1$, then Output: Assume that αx + βy = 1, then 21 / 49
  • 22. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Typesetting Mathematical Equations Equations on a separate line are enclosed between [ and ]. Example Code: Assume that : [ alpha x + beta y =1, ] then . . . Output: Assume that: αx + βy = 1, then ... 22 / 49
  • 23. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Typesetting Mathematical Equations Numbered equations are written within the equation environment. Example Code: Assume that : begin { equation } l a b e l {eq : my−equation } % <= The equation l a b e l alpha x + beta y =1, end{ equation } then . . . Output: Assume that: αx + βy = 1, (1) then ... 23 / 49
  • 24. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Typesetting Mathematical Equations To refer a numbered equation, use the command eqref. The equation numbers are updated automatically. Example Code: By using Equation e q r e f {eq : my−equation } , we obtain : . . . begin { equation } l a b e l {eq : my−equation 2} alpha x= 1− beta y . end{ equation } Output: By using Equation (1), we obtain: αx = 1 − βy. (2) 24 / 49
  • 25. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Using Graphical Equation Editors The best way to write an equation is to write it directly as text: it is faster and you have more control. You can, however, use some graphical editors to help you write the equations until you master LATEX. Some LATEX editors (like TexStudio) offer some tool-bars with buttons that can help you write math symbols or even draw the math symbols (like the Math wizard in TexStudio). There are also online LATEX equation editors, for example: http://www.codecogs.com/latex/eqneditor.php. 25 / 49
  • 26. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Introduction to Beamer? Beamer is a flexible LATEXclass for making slides and presentations. It supports functionality for making PDF slides complete with colors, themes, transitions, overlays, etc. Adds a couple new features to the commands already you know about LATEX. This presentation was made using the Beamer class. 26 / 49
  • 27. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Why using LATEXfor presentations? Professional slides. Processing mathematical (& other) symbols. You care about the content and not about how the slides look. A lot of templates are available for download. Free. A lot of help. Easy to prepare handouts. 27 / 49
  • 28. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Installing the package Beamer If you want to prepare a presentation using LaTeX, you need to use Beamer package. Linux: Under Debian or Ubuntu, you can type the following command: apt-get install latex-beamer Windows: Click the MikTex in your Windows ”start menu” and then Maintenance. Then click on Package manager, look for Beamer and install it. You can also dowload it from here: https://bitbucket.org/rivanvx/beamer/downloads Mac OS: Already installed in MacTex 28 / 49
  • 29. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Structure of a LATEXpresentation All latex presentations using Beamer have the following structure: documentclass {beamer} usepackage { graphicx } %i n c l u d e your packages here usetheme {Warsaw} %choose a theme : d e f a u l t , Antibes , Warsaw . . . t i t l e [ I n t r o d u c t i o n to Beamer ]{How to make a p r e s e n t a t i o n with LaTeX?} author { Hafida Benhidour } i n s t i t u t e [ Hafida Benhidour ]{ Department of computer s c i e n c e King Saud U n i v e r s i t y } date {November 17 , 2014} begin {document} %I n s e r t the s l i d e s here . . . . . end{document} 29 / 49
  • 30. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to add the title slide? documentclass {beamer} usepackage { graphicx } usetheme {Warsaw} t i t l e [ I n t r o d u c t i o n to Beamer ]{How to make a p r e s e n t a t i o n with LaTeX?} author { Hafida Benhidour } i n s t i t u t e [KSU]{ Department of computer s c i e n c e King Saud U n i v e r s i t y } date {November 17 , 2014} begin {document} %I n s e r t the f i r s t s l i d e c o n t a i n i n g the t i t l e of the p r e s e n t a t i o n begin { frame } t i t l e p a g e end{ frame } . . . . . end{document} 30 / 49
  • 31. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to add the title slide? Output 31 / 49
  • 32. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to add a slide? . . . . begin { frame }{ T i t l e of your s l i d e } t h i s i s an example end{ frame } . . . Output 32 / 49
  • 33. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to add a bulleted list? Add a list environment between the command begin{frame} followed by the title of the slide and the command end{frame}. begin { i t e m i z e } item This i s the f i r s t point item This i s the second point end{ i t e m i z e } Output This is the first point This is the second point 33 / 49
  • 34. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to animate a bulleted list? Add pause before each item. begin { i t e m i z e } pause item This i s the f i r s t point pause item This i s the second point end{ i t e m i z e } Output 34 / 49
  • 35. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to animate a bulleted list? Add pause before each item. begin { i t e m i z e } pause item This i s the f i r s t point pause item This i s the second point end{ i t e m i z e } Output This is the first point 35 / 49
  • 36. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to animate a bulleted list? Add pause before each item. begin { i t e m i z e } pause item This i s the f i r s t point pause item This i s the second point end{ i t e m i z e } Output This is the first point This is the second point 36 / 49
  • 37. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to add a numbered list? Add a list environment between the command begin{frame} followed by the title of the slide and the command end{frame}. begin { enumerate } item This i s the f i r s t point item This i s the second point end{ enumerate } Output 1 This is the first point 2 This is the second point 37 / 49
  • 38. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to animate a numbered list? Add pause before each item. begin { enumerate } pause item This i s the f i r s t point pause item This i s the second point end{ enumerate } Output 38 / 49
  • 39. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to animate a numbered list? Add pause before each item. begin { enumerate } pause item This i s the f i r s t point pause item This i s the second point end{ enumerate } Output 1 This is the first point 39 / 49
  • 40. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to animate a numbered list? Add pause before each item. begin { enumerate } pause item This i s the f i r s t point pause item This i s the second point end{ enumerate } Output 1 This is the first point 2 This is the second point 40 / 49
  • 41. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Another way to create pauses This method works for both bulleted and numbered lists. begin { i t e m i z e } item<3−> This i s the f i r s t point item<2−> This i s the second point item<1−> This i s the t h i r d point end{ i t e m i z e } Output This is the third point 41 / 49
  • 42. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Another way to create pauses This method works for both bulleted and numbered lists. begin { i t e m i z e } item<3−> This i s the f i r s t point item<2−> This i s the second point item<1−> This i s the t h i r d point end{ i t e m i z e } Output This is the second point This is the third point 42 / 49
  • 43. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Another way to create pauses This method works for both bulleted and numbered lists. begin { i t e m i z e } item<3−> This i s the f i r s t point item<2−> This i s the second point item<1−> This i s the t h i r d point end{ i t e m i z e } Output This is the first point This is the second point This is the third point 43 / 49
  • 44. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer How to add a text area? Useful if you need to add a definition for example. begin { block }{ D e f i n i t i o n } Write the d e f i n i t i o n here . end{ block } Definition Write the definition here. 44 / 49
  • 45. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Dividing the slide into two parts Good for displaying a text on one side and a picture on the other. Here is the displayed equation: f (x) = 2x3 − 7x + 3 Figure : Equation plot 45 / 49
  • 46. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Dividing the slide into two parts Use begin{columns} with corresponding end for the columns environment. Use begin{column} with corresponding end to make the individual columns. begin { frame }{ D i v i d i n g the s l i d e i n t o two p a r t s } begin { columns } begin {column }{0.5 textwidth } Here i s the d i s p l a y e d equation : [ f ( x )=2xˆ3−7x+3] end{column} begin {column }{0.5 textwidth } begin { f i g u r e } i n c l u d e g r a p h i c s [ width =0.7 l i n e w i d t h , height=3cm ] { . / equaplot } caption { Equation p l o t } end{ f i g u r e } end{column} end{ columns } end{ frame } 46 / 49
  • 48. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Handouts In the beginning of your latex document add the handout option and use the theme default. To print several pages use the package pgfpages. documentclass [ handout ]{ beamer} usetheme { d e f a u l t } usepackage { pgfpages } p g f p a g e s u s e l a y o u t {4 on 1}[ border s h r i n k=2mm] 48 / 49
  • 49. Introduction to Beamer Hafida Benhidour Introduction to LATEX Introduction to Beamer Help Forums. en.wikibooks.org, search for the command that you do not know how to use it, you will find a lot of examples. 49 / 49