SlideShare a Scribd company logo
Introduction Latex 
Writing IT technical papers in english 
Prof. Navrati Saxena 
1
What is Latex? 
How to start with LaTeX? 
How to use LaTeX to write a paper? 
What about mathematic and technical texts? 
How can create reference and the other special 
sections? 
2
What is Latex? 
3
Why? 
4
Getting stared 
with Latex 
• Installation 
• Basic Latex
Installation Latex 
6 
Editors 
—————— 
TeXmaker 
TeXtudio 
….. 
Distributions 2 
Window MiKTeX 
MacOS MacTex 
Linux, MacOS, 
Window 
TeX Live 
1
new/open 
document
Our First Document 
Pdf Viewer 
8
The Latex Syntax 
9 
Spaces 
Reserved Characters 
# $ % ^ & _ { } ~ 
Comment 
started by % character 
LaTeX group 
between braces {…}
Introduction Latex
Introduction Latex
Common Elements 
• Document Structure 
• Macro Packages 
• Text Fonts 
• Special Characters 
• Importing Graphics 
• Table
Document structure 
• Document Class 
documentclass[options]{class} 
options = a4paper, 11pt, 12pt, 10pt, onecolumn, 
twocolumn, landscape,... 
class = article, report, book,… 
• Start with begin{document} 
• End with end{document} 
13
Introduction Latex
Document Structure 
• Sections 
section{…} = 1. Latex is Great 
subsection{…} = 1.1 Why Latex is Great 
subsubsection{…} = 1.1.1 Reason One 
appendix - changes numbering scheme 
chapter{…} - To be used with book and report document 
classes 
• Titles, Authors 
title{…} author{…} 
15
16
Packages 
• Add-on features for 
Latex are know as 
Package 
• Allow you to use 
special commands 
usepackage[options]{pack 
age_name} 
17
Introduction Latex
Introduction Latex
Font Styles 
20
Text Size 
21
Special Characters 
• The following symbols are reserved: 
# $ % & _ { } ^ ~  
• To include them in your text: 
# $ % & _ { } ^{} ~{} 
• Note: you cannot just do  (which is a 
linebreak) , but instead: 
$backslash$ 
22
Introduction Latex
Introduction Latex
Importing Graphics 
• Use the graphicx package 
usepackage{graphicx} 
• Supported image formats 
- Compiling with latex: .esp 
- Compiling with pdflatex: .jpg, jpeg, png, 
pdf, eps 
25
Importing Graphics 
begin{figure} 
includegraphics[attr1=val1, attr2=val2, ..., 
attrn=valn]{imagename} 
caption{The graph of Gaussian function} 
label{fig:1} 
end{figure} 
26
Introduction Latex
Introduction Latex
Table 
• Syntax 
begin{table} [!t] % define a table 
caption{Table Example} % table’s name 
label{table_example} % reference laber 
centering 
<table content> 
end{tabular} 
end{table} 
29
Table example 
30 
begin{table} [!t] 
caption{Table Example} 
label{table_example} 
centering 
begin{tabular}{|c|c|} 
hline 
Line 1 column 1 & Line 1 column 2  
hline 
Line 2 column 1 & Line 2 column 2  
hline 
Line 3 column 1 & Line 3 column 2  
hline 
hline 
end{tabular} 
end{table}
Table spacing 
31 
begin{table} [!t] 
renewcommand{arraystretch}{2} 
caption{Table Example} 
label{table_example} 
centering 
begin{tabular}{|c|c|} 
hline 
Line 1 column 1 & Line 1 column 2  
hline 
Line 2 column 1 & Line 2 column 2  
hline 
Line 3 column 1 & Line 3 column 2  
hline 
hline 
end{tabular} 
end{table} 
2 
4
Equation in Table 
32 
begin{table} [!t] 
caption{Table Example} 
label{table_example} 
centering 
begin{tabular}{|c|c|} 
hline 
Line 1 column 1 & text{emph{A} = $frac {{{B + 
C}}^2} D$}  
hline 
Line 2 column 1 & Line 2 column 2  
hline 
Line 3 column 1 & Line 3 column 2  
hline 
hline 
end{tabular} 
end{table}
Introduction Latex
Technical Texts 
• Mathematic 
• Algorithms
Mathematic 
• Two ways to form equations 
– Using ‘$’: $ equation syntax $ 
– Using commands: 
begin{equation} 
label{equation_label} 
Insert equation syntax here 
end{equation} 
• Syntax can be generated with software packages like 
MathType or TeXaide 
35
Example equations 
36
Example equations 
37
Algorithm Example 
38 
begin{algorithm}[!t] 
caption{Algorithm Test 1} 
label{alg1} 
begin{algorithmic}[1] 
State text{Determine initial condition} 
While {emph {V(A) = 1}} 
State text{ emph{V(B) = 2} } 
State text{ emph{V(C) = 3} } 
State text{ emph{V(D) = 4} } 
EndWhile end{algorithmic} 
end{algorithm}
Equation in Algorithm 
Example 
39 
begin{algorithm}[!t] 
caption{Algorithm Test 1} 
label{alg1} 
begin{algorithmic}[1] 
State text{emph{A} = $frac {{{B + C}}^2} D$} 
EndWhile end{algorithmic} 
end{algorithm}
Long Algorithm Example 
begin{algorithm}[!h] 
caption{Algorithm Test 1}label{alg1} 
begin{algorithmic}[1] 
State text{This is the first part of my algorithm} 
State text{This is the end of the first part} 
algstore {store_var} 
end {algorithmic} 
end {algorithm} 
begin{algorithm}[!h] 
ContinuedFloat 
caption{Algorithm Test 1 
emph{(continue)}}label{alg1} 
begin{algorithmic} [1] 
algrestore{store_var}} 
State text{This is the second part of my algorithm} 
State text{This is the end of the second part} 
end{algorithmic} 
end{algorithm} 
40
Special section 
• References section 
• Biography
References 
• Embedded system 
42
References 
• Citations 
43
Biography 
45
Q&A
The authors would like to thank Prof. Saxena 
for giving us a chance to introduce this tutorial to 
all of our friends.

More Related Content

PDF
LaTeX Introduction for Word Users
PPT
Introduction to latex by Rouhollah Nabati
PDF
Introduction to LaTeX
PDF
Learn Latex
PDF
Training basic latex
PPTX
Latex workshop
PDF
Introduction to Latex
PDF
LaTeX Basics
LaTeX Introduction for Word Users
Introduction to latex by Rouhollah Nabati
Introduction to LaTeX
Learn Latex
Training basic latex
Latex workshop
Introduction to Latex
LaTeX Basics

What's hot (20)

PPTX
Latex for beginner
PDF
Introduction to Latex
PDF
LaTex Tutorial
PDF
Latex Introduction for Beginners
PDF
Introduction to LaTeX
PPTX
LaTex tutorial with Texstudio
PDF
Latex workshop: Essentials and Practices
PDF
Latex Notes
PDF
Introduction to LaTeX - Workshop Day 1
PDF
Editing documents with LaTeX
PDF
Introduction to matlab
PDF
Latex slides
PPTX
Word 2016 module 1 ppt presentation
PPTX
worksheet and workbook
PPTX
Knapsack Problem
PDF
Advanced latex
PDF
Expression trees
PDF
Introduction to LaTeX (For Word users)
PPTX
Ms access 2010
Latex for beginner
Introduction to Latex
LaTex Tutorial
Latex Introduction for Beginners
Introduction to LaTeX
LaTex tutorial with Texstudio
Latex workshop: Essentials and Practices
Latex Notes
Introduction to LaTeX - Workshop Day 1
Editing documents with LaTeX
Introduction to matlab
Latex slides
Word 2016 module 1 ppt presentation
worksheet and workbook
Knapsack Problem
Advanced latex
Expression trees
Introduction to LaTeX (For Word users)
Ms access 2010
Ad

Viewers also liked (20)

DOCX
Scenarijus
PPT
My school lithuania
PDF
Web Ex Connect Product Sheet 2009
PDF
Harvest stargate fund version january en6 2013 [compatibility mode]
PPTX
Top 8 sourcing manager resume samples
PPT
My city lithuania
PDF
Ro music questionnaire
PDF
Bg music questionnaire
DOCX
Billy elliot discussion
PDF
Film preferences bg1
PPTX
Startup fundraising 2012
DOCX
Working programme jan july 2014
PPTX
добре дошли в 4 клас
PPT
Labas !!!. (1)
PDF
Joint Venture Overview
PPT
My country lithuania
PPTX
dobre doshli v 4 klas
PPT
Lithuania
PDF
Film scripts
PPSX
G e o r g i a
Scenarijus
My school lithuania
Web Ex Connect Product Sheet 2009
Harvest stargate fund version january en6 2013 [compatibility mode]
Top 8 sourcing manager resume samples
My city lithuania
Ro music questionnaire
Bg music questionnaire
Billy elliot discussion
Film preferences bg1
Startup fundraising 2012
Working programme jan july 2014
добре дошли в 4 клас
Labas !!!. (1)
Joint Venture Overview
My country lithuania
dobre doshli v 4 klas
Lithuania
Film scripts
G e o r g i a
Ad

Similar to Introduction Latex (20)

PPTX
Latex ppt copy
PPT
LaTeX_tutorial_Syed_Jan09.ppt
PDF
La tex basics
PPTX
TECHNICAL WRITING USING LATEX POWER POIN
PDF
Head first latex
PPT
Latex for beginners
PDF
Latex Tutorial
PPTX
LaTeX for B.Sc. Mathematics,an introduction
PDF
Latex Tutorial by Dr. M. C. Hanumantharaju
PPT
latex document for IT workshop Lab . B.Tech
PDF
Latex_Tutorial.pdf
PPTX
Latex g.pradeep reddy
PDF
Latex hafida-benhidour-19-12-2016
PPTX
Latex Tuitorial
PDF
LaTeX Part 2
PPTX
latex.pptx
PPT
Latex intro
PDF
LaTeX Survival Guide
ODP
PPTX
استخدام LATEX في كتابة البحوث والكتب.pptx
Latex ppt copy
LaTeX_tutorial_Syed_Jan09.ppt
La tex basics
TECHNICAL WRITING USING LATEX POWER POIN
Head first latex
Latex for beginners
Latex Tutorial
LaTeX for B.Sc. Mathematics,an introduction
Latex Tutorial by Dr. M. C. Hanumantharaju
latex document for IT workshop Lab . B.Tech
Latex_Tutorial.pdf
Latex g.pradeep reddy
Latex hafida-benhidour-19-12-2016
Latex Tuitorial
LaTeX Part 2
latex.pptx
Latex intro
LaTeX Survival Guide
استخدام LATEX في كتابة البحوث والكتب.pptx

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
Teaching material agriculture food technology
PPTX
Spectroscopy.pptx food analysis technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Digital-Transformation-Roadmap-for-Companies.pptx
Teaching material agriculture food technology
Spectroscopy.pptx food analysis technology
Spectral efficient network and resource selection model in 5G networks
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Electronic commerce courselecture one. Pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

Introduction Latex

  • 1. Introduction Latex Writing IT technical papers in english Prof. Navrati Saxena 1
  • 2. What is Latex? How to start with LaTeX? How to use LaTeX to write a paper? What about mathematic and technical texts? How can create reference and the other special sections? 2
  • 5. Getting stared with Latex • Installation • Basic Latex
  • 6. Installation Latex 6 Editors —————— TeXmaker TeXtudio ….. Distributions 2 Window MiKTeX MacOS MacTex Linux, MacOS, Window TeX Live 1
  • 8. Our First Document Pdf Viewer 8
  • 9. The Latex Syntax 9 Spaces Reserved Characters # $ % ^ & _ { } ~ Comment started by % character LaTeX group between braces {…}
  • 12. Common Elements • Document Structure • Macro Packages • Text Fonts • Special Characters • Importing Graphics • Table
  • 13. Document structure • Document Class documentclass[options]{class} options = a4paper, 11pt, 12pt, 10pt, onecolumn, twocolumn, landscape,... class = article, report, book,… • Start with begin{document} • End with end{document} 13
  • 15. Document Structure • Sections section{…} = 1. Latex is Great subsection{…} = 1.1 Why Latex is Great subsubsection{…} = 1.1.1 Reason One appendix - changes numbering scheme chapter{…} - To be used with book and report document classes • Titles, Authors title{…} author{…} 15
  • 16. 16
  • 17. Packages • Add-on features for Latex are know as Package • Allow you to use special commands usepackage[options]{pack age_name} 17
  • 22. Special Characters • The following symbols are reserved: # $ % & _ { } ^ ~ • To include them in your text: # $ % & _ { } ^{} ~{} • Note: you cannot just do (which is a linebreak) , but instead: $backslash$ 22
  • 25. Importing Graphics • Use the graphicx package usepackage{graphicx} • Supported image formats - Compiling with latex: .esp - Compiling with pdflatex: .jpg, jpeg, png, pdf, eps 25
  • 26. Importing Graphics begin{figure} includegraphics[attr1=val1, attr2=val2, ..., attrn=valn]{imagename} caption{The graph of Gaussian function} label{fig:1} end{figure} 26
  • 29. Table • Syntax begin{table} [!t] % define a table caption{Table Example} % table’s name label{table_example} % reference laber centering <table content> end{tabular} end{table} 29
  • 30. Table example 30 begin{table} [!t] caption{Table Example} label{table_example} centering begin{tabular}{|c|c|} hline Line 1 column 1 & Line 1 column 2 hline Line 2 column 1 & Line 2 column 2 hline Line 3 column 1 & Line 3 column 2 hline hline end{tabular} end{table}
  • 31. Table spacing 31 begin{table} [!t] renewcommand{arraystretch}{2} caption{Table Example} label{table_example} centering begin{tabular}{|c|c|} hline Line 1 column 1 & Line 1 column 2 hline Line 2 column 1 & Line 2 column 2 hline Line 3 column 1 & Line 3 column 2 hline hline end{tabular} end{table} 2 4
  • 32. Equation in Table 32 begin{table} [!t] caption{Table Example} label{table_example} centering begin{tabular}{|c|c|} hline Line 1 column 1 & text{emph{A} = $frac {{{B + C}}^2} D$} hline Line 2 column 1 & Line 2 column 2 hline Line 3 column 1 & Line 3 column 2 hline hline end{tabular} end{table}
  • 34. Technical Texts • Mathematic • Algorithms
  • 35. Mathematic • Two ways to form equations – Using ‘$’: $ equation syntax $ – Using commands: begin{equation} label{equation_label} Insert equation syntax here end{equation} • Syntax can be generated with software packages like MathType or TeXaide 35
  • 38. Algorithm Example 38 begin{algorithm}[!t] caption{Algorithm Test 1} label{alg1} begin{algorithmic}[1] State text{Determine initial condition} While {emph {V(A) = 1}} State text{ emph{V(B) = 2} } State text{ emph{V(C) = 3} } State text{ emph{V(D) = 4} } EndWhile end{algorithmic} end{algorithm}
  • 39. Equation in Algorithm Example 39 begin{algorithm}[!t] caption{Algorithm Test 1} label{alg1} begin{algorithmic}[1] State text{emph{A} = $frac {{{B + C}}^2} D$} EndWhile end{algorithmic} end{algorithm}
  • 40. Long Algorithm Example begin{algorithm}[!h] caption{Algorithm Test 1}label{alg1} begin{algorithmic}[1] State text{This is the first part of my algorithm} State text{This is the end of the first part} algstore {store_var} end {algorithmic} end {algorithm} begin{algorithm}[!h] ContinuedFloat caption{Algorithm Test 1 emph{(continue)}}label{alg1} begin{algorithmic} [1] algrestore{store_var}} State text{This is the second part of my algorithm} State text{This is the end of the second part} end{algorithmic} end{algorithm} 40
  • 41. Special section • References section • Biography
  • 45. Q&A
  • 46. The authors would like to thank Prof. Saxena for giving us a chance to introduce this tutorial to all of our friends.

Editor's Notes

  • #4: LaTeX (pronounced either "Lah-tech" or "Lay-tech") is a macro package based on TeX created by Leslie Lamport. Its purpose is to simplify TeX typesetting, especially for documents containing mathematical formulae. Within the typesetting system, its name is formatted as LATEX. Many later authors have contributed extensions, called packages or styles, to LaTeX. Some of these are bundled with most TeX/LaTeX software distributions; more can be found in the Comprehensive TeX Archive Network (CTAN). Since LaTeX comprises a group of TeX commands, LaTeX document processing is essentially programming. You create a text file in LaTeX markup, which LaTeX reads to produce the final document.
  • #5: more complex document more time in ms-word
  • #6: now you know what is latex
  • #7: open source -> many version
  • #8: the first time open
  • #10: these very simple things Backslash \ Braces { }  sign $ Caret ^ Underscore _ Percent % Number # And&
  • #11: let start to write a paper!
  • #12: some thing look like a paper
  • #32: Sometimes it is necessary to not rely on the breaking algorithm when using the p specifier, but rather specify the line breaks by hand. In this case it is easiest to use a \parbox: \begin{tabular}{cc}   boring cell content & \parbox[t]{5cm}{rather long par\\new par} \end{tabular} Space between columns[edit] To tweak the space between columns (LaTeX will by default choose very tight columns), one can alter the column separation: \setlength{\tabcolsep}{5pt}. The default value is 6pt. Space between rows[edit] Re-define the \arraystretch command to set the space between rows: \renewcommand{\arraystretch}{1.5}