Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

Guide to L

ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Chapter 0
Guide to LATEX
ATEX-Beamer
L on May 19, 2020 Installation
Windows OS

Mac OS

Introduction LATEX
Introduction Beamer

Huynh Tuong Nguyen, Nguyen Ngoc Le


Faculty of Computer Science and Engineering
University of Technology - VNUHCM
htnguyen@hcmut.edu.vn
0.1
Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

1 Installation
Windows OS
Mac OS Installation
Windows OS

Mac OS

Introduction LATEX
Introduction Beamer
2 Introduction LATEX

3 Introduction Beamer

0.2
Setup Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Links
Firstly, Installing or using Online Installation
Windows OS

• Download MikTex Mac OS

Introduction LATEX
• https://miktex.org
Introduction Beamer
• Download Integrated Development Environment (IDE)
• https://www.texstudio.org/
• Using Online
• http://overleaf.com/

0.3
Setup Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installing on Mac OS Installation


Windows OS

Mac OS

• Download Mactex Introduction LATEX


• http://www.tug.org/mactex Introduction Beamer

• Download Integrated Development Environment (IDE)


• TEXshop hay Emacs

0.4
LATEX Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installation
Run the program LATEX Windows OS

Mac OS

• Input: example.tex Introduction LATEX


Introduction Beamer
• Output: example.pdf
• Use (Adobe Reader) to read pdf file

0.5
Structure of LATEX Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installation
Windows OS

Mac OS

A simple file Introduction LATEX


documentclass [options]{class} Introduction Beamer

0.6
Math Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installation
Windows OS

Math within text Mac OS

Introduction LATEX
formular: ∆P aup = a +  Introduction Beamer
• Math lies between a single pair of $...$ symbols

0.7
Math Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Centered Math
Installation
1 Math lies between a single pair of $$...$$ symbols Windows OS

Mac OS

P = β1 M + β2 E + σ = Dβ + σ Introduction LATEX
Introduction Beamer

2 Using center command

X +Y =P you can add text β1 M + β2 E + σ = Dβ + σ

0.8
Math Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Numbering and line up Math Installation


Windows OS

Mac OS

Introduction LATEX
Y = eU + f X + gW + η (1)
Introduction Beamer

• Using equation command for one equation


• Using align command for multi equation

0.9
Math Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Without numbering and line up Math


Installation
Windows OS

Mac OS

2 Introduction LATEX
E = mc
Introduction Beamer
F = ma
eiπ = −1

• Using align* command for multi equation

0.10
Math Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Multi equation Installation


Windows OS

√ Mac OS

−2± 4+4
x = 2√ Introduction LATEX
−2±2 2 Introduction Beamer
= 2 √
= −1 ± 2

• Using array command

0.11
Math Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Matrices
Installation
Windows OS
 
a b c Mac OS

Introduction LATEX
 d e f  (2)
Introduction Beamer
g h i

• Using equation command to number equation


• Using array command to create matrix

0.12
Figure Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Options
Installation
Figure command has options: Windows OS

Mac OS

• h here Introduction LATEX


• t top Introduction Beamer

• b bottom
• p page
Using includegraphics command to embed a figure

0.13
Figure Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installation
Windows OS

Mac OS

Introduction LATEX
Introduction Beamer

H¼nh: ƒnh minh håa

0.14
Referrences Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installation
Windows OS

[Goldbach, 1742] Christian Goldbach. Mac OS

Introduction LATEX
A problem we should try to solve before the ISPN '43
Introduction Beamer
deadline,
Letter to Leonhard Euler, 1742.

0.15
citation Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installation
Windows OS

Mac OS

Open Questions Introduction LATEX


Introduction Beamer
Is every even number the sum of two primes? [1]

0.16
Beamer Guide to L
ATEX

Huynh Tuong Nguyen,


Nguyen Ngoc Le

Installation
Windows OS

Mac OS

Introduction LATEX
Introduction Beamer

0.17

You might also like