SlideShare a Scribd company logo
LATEX 
BASIC TUTORIAL.
History & Advantages 
Tex : D. E. Knuth 
Latex : L. B. Lamport 
Latex pronounced (latek) 
A type setting program, not a word processor. 
Why use latex? 
 Higher quality 
 Easier mathematical symbol insertion. 
 Neat 
 Uniform formatting 
 IEEE format 
 Difficult to change 
ANKIT SINGHANIYA 2
Installation 
Windows installation 
I. Install Latex core 
II. Install an editor to create you raw file(*.tex) format 
III. Set path to Latex binaries. (This step will be shown to you while we get hands on) 
Linux Installation 
I. Ubuntu : sudo apt-get install texlive-latex-base 
(similar for all ‘debian’ based OS’s) 
II. Fedora : sudo yum install texlive-latex-base 
(similar for all ‘Red Hat enterprise system’) 
ANKIT SINGHANIYA 3
Types of Documents 
 Article 
 Report 
 Book 
 Beamer 
 Many more.. 
ANKIT SINGHANIYA 4
General Syntax 
function [optional_parameters]{important_parameters} 
this makes the compiler know that what follow is a fuction. 
function name of the function 
example : documentclass [a4paper,12pt] {article} 
: documentclass {report} 
: begin{document} 
: epsilon 
: title{NBNSSOE} 
: end{document} 
ANKIT SINGHANIYA 5
Things to Remember 
 textit{italicizes your text} 
 textbf{makes your text bold Face} 
 underline{underlines the text} 
 emp{emphasizes your text, if bold uses italic and if italic uses bold} 
  (gets us a new line, like n in our programming language.) 
 A blank line gets us a new paragraph. 
 newpage 
 beginning{alignment}…..... end{alignment} 
$12<13$ (Mathematical expressions/equations to be written between two $ signs) 
ANKIT SINGHANIYA 6
Sample Document Explained 
documentclass[a4paper,12pt]{article} 
title{sample text} 
preamble 
%usepackage{package_name} 
begin{document} 
maketitle 
This is a sample document to demonstrate you the use of textit{latex}. We are here stressing 
on different prospect and different functions of latex like textbf{bold}, $12<13$ i.e. 
mathematical, and symbols like $epsilon$. 
Here we inserted new line. Hope this gives you basic idea about latex. We will see to it in more 
details. All you need is to remember different sequences for different things. 
noindent Thanks.. 
end{document} 
B 
O 
D 
Y 
ANKIT SINGHANIYA 7
Sections 
documentclass{article} 
title{Section tuitorial} 
begin{document} 
maketitle 
section{I am the Section} 
subsection{I am the Sub Section} 
subsubsection{I am the sub sub section} 
paragraph{I am the paragraph} 
subparagraph{I am the sub Paragraph} 
end{document} 
ANKIT SINGHANIYA 8
Bullets and Numbering 
documentclass{article} 
begin{document} 
begin{itemize} 
item Item 1 
item Item 2 
end{itemize} 
begin{enumerate} 
item Item 1 
item Item 2 
end{enumerate} 
end{document} 
ANKIT SINGHANIYA 9
Table 
documentclass{article} 
title{Table Tutorial} 
begin{document} 
maketitle 
lets see how sample table works. 
begin{tabular}{|l|c|r|} % l c r are left, center and right alignment. 
hline 
Name & Roll & mobile 
hline 
Ankit & 50 & 9955970001 
Anant & 03 & 923134141 
hline 
end{tabular} 
end{document} 
ANKIT SINGHANIYA 10
Table continued 
documentclass[12pt]{article} 
title{Experiment No: 1} 
date{} 
begin{document} 
maketitle 
begin{tabular}{|p{2cm}|p{11cm}|} % Size is must for text wrap in table 
hline 
Title & Addition of array % & separates different row. 
hline 
Aim & WAP in Nasm to add array of 10 numbers.newline Accept input from user. 
hline 
Prerequisite & MicroProcessor Architecture 
hline 
end{tabular} 
end{document} 
ANKIT SINGHANIYA 11
Graphicx 
documentclass{article} 
title{Graphics Tutorial} 
usepackage{graphicx} 
begin{document} 
This is what an image looks like.. 
includegraphics[scale=0.6]{img.jpeg} % scale to reduce image size 
caption{Image_name} 
end{document} 
ANKIT SINGHANIYA 12
Bibliography 
documentclass{article} 
title{Learning Bibliography} 
begin{documnet} 
maketitle 
I am a paragraph from thisisbibliography, please reference me. cite{RefName1} 
begin{thebibliography}{10} 
bibitem{RefName1} url{www.thisisbibliography.com} 
bibitem{RefName2} This is a referenece. 
end{thebibliography} 
end{document} 
ANKIT SINGHANIYA 13

More Related Content

What's hot

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
 
Latex slides
Latex slidesLatex slides
Latex slides
Dr. Vijay Ukani
 
LaTex Tutorial
LaTex TutorialLaTex Tutorial
LaTex Tutorial
Jhoirene Clemente
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
satish_annigeri
 
Trees data structure
Trees data structureTrees data structure
Trees data structure
Mahmoud Alfarra
 
Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1
Suddhasheel GHOSH, PhD
 
Cryptography-Known plain text attack
Cryptography-Known plain text attack Cryptography-Known plain text attack
Cryptography-Known plain text attack
amiteshg
 
WEKA:The Command Line Interface
WEKA:The Command Line InterfaceWEKA:The Command Line Interface
WEKA:The Command Line Interface
weka Content
 
String kmp
String kmpString kmp
String kmp
thinkphp
 
Academic writing in LaTeX
Academic writing in LaTeX Academic writing in LaTeX
Academic writing in LaTeX
Daniele Di Mitri
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
Mohamed Alrshah
 
JHS 2- THIRD TERM.pdf
JHS 2- THIRD TERM.pdfJHS 2- THIRD TERM.pdf
JHS 2- THIRD TERM.pdf
PAULOSEIBONSU1
 
Latex for beginner
Latex for beginnerLatex for beginner
Latex for beginner
mahindrupali
 
MSIX: Inside and Out
MSIX: Inside and OutMSIX: Inside and Out
MSIX: Inside and Out
Windows Developer
 
Advanced latex
Advanced latexAdvanced latex
Advanced latex
awverret
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
Leo Chen
 
Rhce syllabus
Rhce syllabusRhce syllabus
Rhce syllabus
shushanto
 
overview of cryptographic techniques
overview of cryptographic techniquesoverview of cryptographic techniques
overview of cryptographic techniques
Shubham Jain
 
Heap_Sort1.pptx
Heap_Sort1.pptxHeap_Sort1.pptx
Heap_Sort1.pptx
sandeep54552
 

What's hot (20)

Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)
 
Latex slides
Latex slidesLatex slides
Latex slides
 
LaTex Tutorial
LaTex TutorialLaTex Tutorial
LaTex Tutorial
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
Trees data structure
Trees data structureTrees data structure
Trees data structure
 
Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1
 
Cryptography-Known plain text attack
Cryptography-Known plain text attack Cryptography-Known plain text attack
Cryptography-Known plain text attack
 
WEKA:The Command Line Interface
WEKA:The Command Line InterfaceWEKA:The Command Line Interface
WEKA:The Command Line Interface
 
String kmp
String kmpString kmp
String kmp
 
Academic writing in LaTeX
Academic writing in LaTeX Academic writing in LaTeX
Academic writing in LaTeX
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
 
JHS 2- THIRD TERM.pdf
JHS 2- THIRD TERM.pdfJHS 2- THIRD TERM.pdf
JHS 2- THIRD TERM.pdf
 
Latex for beginner
Latex for beginnerLatex for beginner
Latex for beginner
 
MSIX: Inside and Out
MSIX: Inside and OutMSIX: Inside and Out
MSIX: Inside and Out
 
Advanced latex
Advanced latexAdvanced latex
Advanced latex
 
LaTeX Cheat Sheet
LaTeX Cheat Sheet LaTeX Cheat Sheet
LaTeX Cheat Sheet
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
 
Rhce syllabus
Rhce syllabusRhce syllabus
Rhce syllabus
 
overview of cryptographic techniques
overview of cryptographic techniquesoverview of cryptographic techniques
overview of cryptographic techniques
 
Heap_Sort1.pptx
Heap_Sort1.pptxHeap_Sort1.pptx
Heap_Sort1.pptx
 

Similar to Latex Tuitorial

Latex_Tutorial.pdf
Latex_Tutorial.pdfLatex_Tutorial.pdf
Latex_Tutorial.pdf
ContactAt1
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
Michalis33
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
Hossein Babashah
 
La tex basics
La tex basicsLa tex basics
La tex basics
awverret
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
Mamoon R Malik
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
Dylan Seychell
 
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
BMS Institute of Technology and Management
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
Abdulazim N.Elaati
 
29
2929
Latex Notes
Latex NotesLatex Notes
Latex Notes
Sudhanshu Janwadkar
 
Latex Introduction for Beginners
Latex Introduction for BeginnersLatex Introduction for Beginners
Latex Introduction for Beginners
ssuser9e8fa4
 
Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016
مركز البحوث الأقسام العلمية
 
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
Jim Webb
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
Kaushik Naik
 
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Techlatex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
Sandhya Gandham
 
Latex - now it is easy!
Latex - now it is easy!Latex - now it is easy!
Latex - now it is easy!
Arundeepsidhu
 

Similar to Latex Tuitorial (20)

Latex_Tutorial.pdf
Latex_Tutorial.pdfLatex_Tutorial.pdf
Latex_Tutorial.pdf
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
 
La tex basics
La tex basicsLa tex basics
La tex basics
 
Learn Latex
Learn LatexLearn Latex
Learn Latex
 
Chap03 scr
Chap03 scrChap03 scr
Chap03 scr
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
 
Chap12 scr
Chap12 scrChap12 scr
Chap12 scr
 
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-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
 
29
2929
29
 
Latex Notes
Latex NotesLatex Notes
Latex Notes
 
Latex Introduction for Beginners
Latex Introduction for BeginnersLatex Introduction for Beginners
Latex Introduction for Beginners
 
Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016
 
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
 
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Techlatex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
 
Latex - now it is easy!
Latex - now it is easy!Latex - now it is easy!
Latex - now it is easy!
 
LaTex Workshop
LaTex WorkshopLaTex Workshop
LaTex Workshop
 

Recently uploaded

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

Latex Tuitorial

  • 2. History & Advantages Tex : D. E. Knuth Latex : L. B. Lamport Latex pronounced (latek) A type setting program, not a word processor. Why use latex?  Higher quality  Easier mathematical symbol insertion.  Neat  Uniform formatting  IEEE format  Difficult to change ANKIT SINGHANIYA 2
  • 3. Installation Windows installation I. Install Latex core II. Install an editor to create you raw file(*.tex) format III. Set path to Latex binaries. (This step will be shown to you while we get hands on) Linux Installation I. Ubuntu : sudo apt-get install texlive-latex-base (similar for all ‘debian’ based OS’s) II. Fedora : sudo yum install texlive-latex-base (similar for all ‘Red Hat enterprise system’) ANKIT SINGHANIYA 3
  • 4. Types of Documents  Article  Report  Book  Beamer  Many more.. ANKIT SINGHANIYA 4
  • 5. General Syntax function [optional_parameters]{important_parameters} this makes the compiler know that what follow is a fuction. function name of the function example : documentclass [a4paper,12pt] {article} : documentclass {report} : begin{document} : epsilon : title{NBNSSOE} : end{document} ANKIT SINGHANIYA 5
  • 6. Things to Remember  textit{italicizes your text}  textbf{makes your text bold Face}  underline{underlines the text}  emp{emphasizes your text, if bold uses italic and if italic uses bold}  (gets us a new line, like n in our programming language.)  A blank line gets us a new paragraph.  newpage  beginning{alignment}…..... end{alignment} $12<13$ (Mathematical expressions/equations to be written between two $ signs) ANKIT SINGHANIYA 6
  • 7. Sample Document Explained documentclass[a4paper,12pt]{article} title{sample text} preamble %usepackage{package_name} begin{document} maketitle This is a sample document to demonstrate you the use of textit{latex}. We are here stressing on different prospect and different functions of latex like textbf{bold}, $12<13$ i.e. mathematical, and symbols like $epsilon$. Here we inserted new line. Hope this gives you basic idea about latex. We will see to it in more details. All you need is to remember different sequences for different things. noindent Thanks.. end{document} B O D Y ANKIT SINGHANIYA 7
  • 8. Sections documentclass{article} title{Section tuitorial} begin{document} maketitle section{I am the Section} subsection{I am the Sub Section} subsubsection{I am the sub sub section} paragraph{I am the paragraph} subparagraph{I am the sub Paragraph} end{document} ANKIT SINGHANIYA 8
  • 9. Bullets and Numbering documentclass{article} begin{document} begin{itemize} item Item 1 item Item 2 end{itemize} begin{enumerate} item Item 1 item Item 2 end{enumerate} end{document} ANKIT SINGHANIYA 9
  • 10. Table documentclass{article} title{Table Tutorial} begin{document} maketitle lets see how sample table works. begin{tabular}{|l|c|r|} % l c r are left, center and right alignment. hline Name & Roll & mobile hline Ankit & 50 & 9955970001 Anant & 03 & 923134141 hline end{tabular} end{document} ANKIT SINGHANIYA 10
  • 11. Table continued documentclass[12pt]{article} title{Experiment No: 1} date{} begin{document} maketitle begin{tabular}{|p{2cm}|p{11cm}|} % Size is must for text wrap in table hline Title & Addition of array % & separates different row. hline Aim & WAP in Nasm to add array of 10 numbers.newline Accept input from user. hline Prerequisite & MicroProcessor Architecture hline end{tabular} end{document} ANKIT SINGHANIYA 11
  • 12. Graphicx documentclass{article} title{Graphics Tutorial} usepackage{graphicx} begin{document} This is what an image looks like.. includegraphics[scale=0.6]{img.jpeg} % scale to reduce image size caption{Image_name} end{document} ANKIT SINGHANIYA 12
  • 13. Bibliography documentclass{article} title{Learning Bibliography} begin{documnet} maketitle I am a paragraph from thisisbibliography, please reference me. cite{RefName1} begin{thebibliography}{10} bibitem{RefName1} url{www.thisisbibliography.com} bibitem{RefName2} This is a referenece. end{thebibliography} end{document} ANKIT SINGHANIYA 13

Editor's Notes

  1. General step, type latex on prompt and check.
  2. Import packages in preamble. Usepackage{package_name}