Corbin Fletcher, PLUG
LATEX & beamer
Corbin Fletcher c©
PLUGNovember 1, 2011
Corbin Fletcher LATEX & beamer
Corbin Fletcher, PLUG
What it is. . .
Introduction
U LATEX is a typesetting markup language based on Donald E. Knuth’stypesetting language TEX designed and implemented by LeslieLamport.
U Working with a markup language is different than composing adocument in a word processing program like Open Office. Using yourchoice of LATEX editors (Texmaker), you type the source file of yourdocument, all characters appear in the same font. To indicatechanges in the typeset text, you must add text markup command tothe source file (input file) then compile it which produces the(output file) file.
U LATEX is free and open source.
Corbin Fletcher LATEX & beamer
Corbin Fletcher, PLUG
Commands& Packages
CommandsCommands are proceeded with a backward slash then the textmarkup commands within { }. So, to invoke text color some textyour code:
\textcolor{DarkScarletRed}{\textbf{some text}}\textbf{some text} is the markup command.
PackageAdding this code in the preamble provides the functionality of thebbding package - document wide.
\usepackage{bbding}
Corbin Fletcher LATEX & beamer
Corbin Fletcher, PLUG
My Local Installation
I /home/local01/la.tex/let is the directory where all my LATEX filesreside.
/root
home
local01
my
pics
other
stuff
la.tex
let
a b c d
Corbin Fletcher LATEX & beamer
Corbin Fletcher, PLUG
Minimal Working Document
Example
\documentclass{article}\begin{document}This is a test document\end{document}
Corbin Fletcher LATEX & beamer
Corbin Fletcher, PLUG
ACT NOW!c Join PLUG today and become and active participating member;c PLUG meetings are an active learning session covering a largerange of topics about Linux and open source software;c Expand your mind and learn to run Linux!
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits
Part II
A Few Nice Example
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits
Example
int main (void) { std::vector<bool> isprime(100, true); for(int i = 2; i < 100; i++)
if (isprime[i]) { std::cout <<i << " "; for (int j = i; j < 100; isprime[j] = false, j+ =i); }
return 0; }
Note the use of std::.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits
Example
int main (void) { std::vector<bool> isprime(100, true); for(int i = 2; i < 100; i++) if (isprime[i]) {
std::cout <<i << " "; for (int j = i; j < 100; isprime[j] = false, j+ =i);
} return 0; }
Note the use of std::.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits
Example
int main (void) { std::vector<bool> isprime(100, true); for(int i = 2; i < 100; i++) if (isprime[i]) { std::cout <<i << " "; for (int j = i; j < 100; isprime[j] = false, j+ =i); } return 0; }
Note the use of std::.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits
Example
int main (void) { std::vector<bool> isprime(100, true); for(int i = 2; i < 100; i++) if (isprime[i]) { std::cout <<i << " "; for (int j = i; j < 100; isprime[j] = false, j+ =i); } return 0; }
Note the use of std::.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Shown from first slide on.
I Shown from second slide on.I Shown from second slide on.I Shown from third slide on.
I Shown from third slide on.I Shown from fourth slide on.
Shown from fourth slide on.
I Shown from first slide on.
I Shown from fifth slide on.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Shown from first slide on.I Shown from second slide on.
I Shown from second slide on.
I Shown from third slide on.I Shown from third slide on.I Shown from fourth slide on.
Shown from fourth slide on.
I Shown from first slide on.
I Shown from fifth slide on.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Shown from first slide on.I Shown from second slide on.
I Shown from second slide on.I Shown from third slide on.
I Shown from third slide on.
I Shown from fourth slide on.
Shown from fourth slide on.
I Shown from first slide on.
I Shown from fifth slide on.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Shown from first slide on.I Shown from second slide on.
I Shown from second slide on.I Shown from third slide on.
I Shown from third slide on.I Shown from fourth slide on.
Shown from fourth slide on.I Shown from first slide on.
I Shown from fifth slide on.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Shown from first slide on.I Shown from second slide on.
I Shown from second slide on.I Shown from third slide on.
I Shown from third slide on.I Shown from fourth slide on.
Shown from fourth slide on.I Shown from first slide on.I Shown from fifth slide on.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
A Theorem on Infinite Sets
TheoremThere exists an infinite set.
Proof.This follows from the axiom of infinity.
ExampleThe set of natural numbers is infinite.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
A Theorem on Infinite Sets
TheoremThere exists an infinite set.
Proof.This follows from the axiom of infinity.
ExampleThe set of natural numbers is infinite.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
A Theorem on Infinite Sets
TheoremThere exists an infinite set.
Proof.This follows from the axiom of infinity.
ExampleThe set of natural numbers is infinite.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Why join PLUG
I PLUG is great.I So, join PLUG today.
Jump to second slide
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Why join PLUGI PLUG is great.
I So, join PLUG today.
Jump to second slide
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
I Why join PLUGI PLUG is great.I So, join PLUG today.Jump to second slide
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
LATEX & beamerCorbin Fletcher
Panther Linux User Group:
PLUG
LinuxLinux + You = PLUG.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
DefinitionA set consists of elements.
Wrong Theorem1 = 2.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits The Pause Commands
DefinitionA set consists of elements.
Wrong Theorem1 = 2.
ExampleThe set {1, 2, 3, 5} has four elements.
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits
Questions ¨̂
Corbin Fletcher LATEX & beamer
Example Creating Overlays The End Credits
Credits
I Brought to you by http://blog.protectedareas.us
I Please let me know about improvements!I This presentation was created using LATEX !I Fetch your packages from CTAN http://www.ctan.org
Corbin Fletcher LATEX & beamer