SlideShare a Scribd company logo
1 of 19
A Comprehensive Document Engineering using TeX2e/LateX




   Anjan K and Harish G
   Assistant Professor,
   Dept. of CSE,
   RVCE
   {anjank,harishg}@rvce.edu.in




                              Latex: Document Engineering   December 2, 2011   1
   Need for LateX
   LateX Vs. Word Processors
   Various TeX Distributions
   Installation – TeXlive, TeXMaker, ipe
    ◦ Installation Hands On.
   Layout of TeX Document
    ◦ Document Class
    ◦ Packages
    ◦ Document Body
   Latex Document illustrations
    ◦ Hands on
   Report Format for Projects
   Overview of ipe
   Overview of Beamer for presentations
   Summary
   Key Web References

                               Latex: Document Engineering   December 2, 2011   2
   Pronounced as (Lah-tek, or Lay-tek)
   TeX is essentially a Markup Language (like HTML,
    XML and RTF)
   A typesetting program, not a word-processor
   TeX written by Donald Knuth in 70´s
    ◦ A revolution in typesetting
   Latex is an extension of TeX
    ◦ Macro packages to make TeX easier to use
   Designed for producing professional books,
    thesis's, technical papers ,articles.
   De facto standard for writing academic papers
    and project reports
   Current version LaTeX2

                                    Latex: Document Engineering   December 2, 2011   3
   De facto standard for scientific publishing
   Good for large documents- Can compile very big books
    (unless your document is more than 70,000 pages!)
   Can run even on lower version of computer
    configuration.
   Platform, version independent (Unix, Windows…)
   Pre-set standard formats (for paper, thesis…)
   Bibliography management
   Fast, professional math equations typesetting
   Open source
   Never crash, never lose your file

           Outcome: Professional documentation.


                              Latex: Document Engineering   December 2, 2011   4
Latex: Document Engineering   December 2, 2011   5
   lEDBeta             pdfTeX
   LateX Editor        LuaTeX – latest of
   Kile                 PDFLatex
   TeXnic Center       XeTeX – Unicode and
   TeXMaker             BMP, OTF
   TeXshop on Mac      NTS –OO Based
   Winshell            ExTeX - Hybrid
   LateXila            Aleph –Omega eTeX
   TeXStudios          BibTeX – Bib
   TeXWorks             management

IDE for LateX        LateX Engines

                     Latex: Document Engineering   December 2, 2011   6
Latex: Document Engineering   December 2, 2011   7
Duration: 30 minutes




            Latex: Document Engineering   December 2, 2011   8
   Document Class
    ◦ Predefined Formats (article, report, book,..).
    ◦ Syntax:
      documentclass[options]{class}
         Options = a4paper, 11pt, 12pt, 10pt, twocolumn,
          landscape,...
         class = article, report, book,…
   Packages -
    ◦ Added Functionality (graphics, reference style,...).
    ◦ Syntax:
      usepackage{package name}
    ◦ Package name examples
      epsfig - insert PS pictures into the document
      fancyhdr - easy definition of footer and header


                                    Latex: Document Engineering   December 2, 2011   9
 Main Body
  ◦ Text and Bibliography References.
  ◦ Body is wrapped with begin and end statements
                   begin{document}

                           Body of Text

                      end{document}
  ◦ Typesetting the text
      Bold - textbf{ text } or {bf text}
      Italics - textit{ Text } or {bf text}
      Newline - 
      Underline - ul { text } or underline{ text }

                                   Latex: Document Engineering   December 2, 2011   10
% my first LaTeX file
documentclass{article}
 % preamble
 usepackage{graphicx}
begin{document}
 section{This is a section}
 subsection{This is a subsection}
   First paragraph is here.

   Second paragraph is here.
end{document}

                                     11
documentclass{article}
title{Simple Example}
author{Anjan}
date{Nov 2011}
begin{document}
maketitle
  Hello world!
end{document}


           Latex: Document Engineering   December 2, 2011   12
Duration: 30 minutes




            Latex: Document Engineering   December 2, 2011   13
• Columns
o   begin{tabular}{|…|…|} Columns
                       Two
o   end{tabular}
• Rows                               l = automatically adjust
                                     size, left justify
o   & - Split text into columns      r = automatically adjust
                                     size, right justify
o    - End a row                   p = set size
o   hline - Draw line under row     e.g p{4.7cm}
o   e.g. 123123 & 34.00 hline     c = centre text
   begin{tabular}{|l|r|c|} hline
   Date & Price & Size  hline
   Yesterday & 5 & big  hline
   Today & 3 & small  hline
   end{tabular}
SubFigure and Longtable



Duration: 30 minutes




              Latex: Document Engineering   December 2, 2011   16
   Including Multiple Files
    ◦ Syntax - input{filename.tex}
    ◦ Example - input{SRS.tex}
   Formatting
    ◦ Creating Sections and Chapters
    ◦ chapter{…}
         To be used with book and report document classes
    ◦   Syntax -   section{name}
    ◦   Syntax -   subsection{name}
    ◦   Syntax -   subsubsection{name}
    ◦   Syntax -    appendix
         changes numbering scheme


                                  Latex: Document Engineering   December 2, 2011   17
   Font Size
   tiny scriptsize   footnotesize
   small normalsize
 large        Large
 LARGE                  huge
Huge

                                   Latex: Document Engineering   December 2, 2011   18
   TexLive Distribution
    ◦ www.tug.org/texlive/
   MikTex Distribution
    ◦ www.miktex.org/
   LateX Wiki
    ◦ en.wikibooks.org/wiki/LaTeX
    ◦ www.latexwiki.org/
   Math LateX Wiki
    ◦ en.wikibooks.org/wiki/LaTeX/Mathematics




                             Latex: Document Engineering   December 2, 2011   19

More Related Content

What's hot

What's hot (20)

Latex
LatexLatex
Latex
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
LaTeX Basics
LaTeX BasicsLaTeX Basics
LaTeX Basics
 
Training basic latex
Training basic latexTraining basic latex
Training basic latex
 
Latex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesLatex workshop: Essentials and Practices
Latex workshop: Essentials and Practices
 
Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latex
 
The LaTeX Workshop: Document design in LaTeX: Invocation
The LaTeX Workshop: Document design in LaTeX: InvocationThe LaTeX Workshop: Document design in LaTeX: Invocation
The LaTeX Workshop: Document design in LaTeX: Invocation
 
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
 
LaTeX Part 1
LaTeX Part 1LaTeX Part 1
LaTeX Part 1
 
Introduction to latex by Rouhollah Nabati
Introduction to latex by Rouhollah NabatiIntroduction to latex by Rouhollah Nabati
Introduction to latex by Rouhollah Nabati
 
Latex workshop
Latex workshopLatex workshop
Latex workshop
 
Latex for beginner
Latex for beginnerLatex for beginner
Latex for beginner
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
 
LaTeX for beginners
LaTeX for beginnersLaTeX for beginners
LaTeX for beginners
 
LaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionLaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introduction
 
A gentle introduction to Latex
A gentle introduction to LatexA gentle introduction to Latex
A gentle introduction to Latex
 
Tutorial on LATEX: A Computer Program for Typesetting Documents
Tutorial on LATEX: A Computer Program for Typesetting DocumentsTutorial on LATEX: A Computer Program for Typesetting Documents
Tutorial on LATEX: A Computer Program for Typesetting Documents
 
LaTeX Part 2
LaTeX Part 2LaTeX Part 2
LaTeX Part 2
 
Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1Introduction to LaTeX - Workshop Day 1
Introduction to LaTeX - Workshop Day 1
 

Similar to Document typesetting using LateX

Latex intro s_dutta_v2
Latex intro s_dutta_v2Latex intro s_dutta_v2
Latex intro s_dutta_v2
SoumyoDutta
 
Latex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windowsLatex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windows
Zahra Marzook
 

Similar to Document typesetting using LateX (20)

latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
 
Inroduction to Latex
Inroduction to LatexInroduction to Latex
Inroduction to Latex
 
Editing documents with LaTeX
Editing documents with LaTeXEditing documents with LaTeX
Editing documents with LaTeX
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
 
LaTeX로 문서 작성하자
LaTeX로 문서 작성하자LaTeX로 문서 작성하자
LaTeX로 문서 작성하자
 
Latex Notes
Latex NotesLatex Notes
Latex Notes
 
LatexTutorial
LatexTutorialLatexTutorial
LatexTutorial
 
LatexTutorial
LatexTutorialLatexTutorial
LatexTutorial
 
Learn Latex
Learn LatexLearn Latex
Learn Latex
 
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.ppt
LATEX.pptLATEX.ppt
LATEX.ppt
 
Latex intro s_dutta_v2
Latex intro s_dutta_v2Latex intro s_dutta_v2
Latex intro s_dutta_v2
 
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
 
Keeping Up! with LaTeX
Keeping Up! with LaTeXKeeping Up! with LaTeX
Keeping Up! with LaTeX
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
Latex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windowsLatex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windows
 
A Multiformat Document Workflow With Docutils
A Multiformat Document Workflow With DocutilsA Multiformat Document Workflow With Docutils
A Multiformat Document Workflow With Docutils
 
sigproc-sp.pdf
sigproc-sp.pdfsigproc-sp.pdf
sigproc-sp.pdf
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
 
Latex Tuitorial
Latex TuitorialLatex Tuitorial
Latex Tuitorial
 

More from Dr Anjan Krishnamurthy

More from Dr Anjan Krishnamurthy (14)

Open Issues On Sqam
Open Issues On SqamOpen Issues On Sqam
Open Issues On Sqam
 
Cdma Anjan V1
Cdma  Anjan V1Cdma  Anjan V1
Cdma Anjan V1
 
Wek1
Wek1Wek1
Wek1
 
Research Paper On Correlation
Research Paper On CorrelationResearch Paper On Correlation
Research Paper On Correlation
 
SSL/TLS implementation using JSSE
SSL/TLS implementation using JSSE SSL/TLS implementation using JSSE
SSL/TLS implementation using JSSE
 
Mining Gnome Data
Mining Gnome DataMining Gnome Data
Mining Gnome Data
 
Potter’S Wheel
Potter’S WheelPotter’S Wheel
Potter’S Wheel
 
Elementary Concepts of data minig
Elementary Concepts of data minigElementary Concepts of data minig
Elementary Concepts of data minig
 
Kettle – Etl Tool
Kettle – Etl ToolKettle – Etl Tool
Kettle – Etl Tool
 
Mathematical analysis of Graph and Huff amn coding
Mathematical analysis of Graph and Huff amn codingMathematical analysis of Graph and Huff amn coding
Mathematical analysis of Graph and Huff amn coding
 
Layered Architecture
Layered ArchitectureLayered Architecture
Layered Architecture
 
SSL/TLS
SSL/TLSSSL/TLS
SSL/TLS
 
Expressive And Modular Predicate Dispatch In Java
Expressive And Modular Predicate Dispatch In JavaExpressive And Modular Predicate Dispatch In Java
Expressive And Modular Predicate Dispatch In Java
 
Interfaces & Packages V2
Interfaces & Packages V2Interfaces & Packages V2
Interfaces & Packages V2
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Document typesetting using LateX

  • 1. A Comprehensive Document Engineering using TeX2e/LateX Anjan K and Harish G Assistant Professor, Dept. of CSE, RVCE {anjank,harishg}@rvce.edu.in Latex: Document Engineering December 2, 2011 1
  • 2. Need for LateX  LateX Vs. Word Processors  Various TeX Distributions  Installation – TeXlive, TeXMaker, ipe ◦ Installation Hands On.  Layout of TeX Document ◦ Document Class ◦ Packages ◦ Document Body  Latex Document illustrations ◦ Hands on  Report Format for Projects  Overview of ipe  Overview of Beamer for presentations  Summary  Key Web References Latex: Document Engineering December 2, 2011 2
  • 3. Pronounced as (Lah-tek, or Lay-tek)  TeX is essentially a Markup Language (like HTML, XML and RTF)  A typesetting program, not a word-processor  TeX written by Donald Knuth in 70´s ◦ A revolution in typesetting  Latex is an extension of TeX ◦ Macro packages to make TeX easier to use  Designed for producing professional books, thesis's, technical papers ,articles.  De facto standard for writing academic papers and project reports  Current version LaTeX2 Latex: Document Engineering December 2, 2011 3
  • 4. De facto standard for scientific publishing  Good for large documents- Can compile very big books (unless your document is more than 70,000 pages!)  Can run even on lower version of computer configuration.  Platform, version independent (Unix, Windows…)  Pre-set standard formats (for paper, thesis…)  Bibliography management  Fast, professional math equations typesetting  Open source  Never crash, never lose your file Outcome: Professional documentation. Latex: Document Engineering December 2, 2011 4
  • 5. Latex: Document Engineering December 2, 2011 5
  • 6. lEDBeta  pdfTeX  LateX Editor  LuaTeX – latest of  Kile PDFLatex  TeXnic Center  XeTeX – Unicode and  TeXMaker BMP, OTF  TeXshop on Mac  NTS –OO Based  Winshell  ExTeX - Hybrid  LateXila  Aleph –Omega eTeX  TeXStudios  BibTeX – Bib  TeXWorks management IDE for LateX LateX Engines Latex: Document Engineering December 2, 2011 6
  • 7. Latex: Document Engineering December 2, 2011 7
  • 8. Duration: 30 minutes Latex: Document Engineering December 2, 2011 8
  • 9. Document Class ◦ Predefined Formats (article, report, book,..). ◦ Syntax:  documentclass[options]{class}  Options = a4paper, 11pt, 12pt, 10pt, twocolumn, landscape,...  class = article, report, book,…  Packages - ◦ Added Functionality (graphics, reference style,...). ◦ Syntax:  usepackage{package name} ◦ Package name examples  epsfig - insert PS pictures into the document  fancyhdr - easy definition of footer and header Latex: Document Engineering December 2, 2011 9
  • 10.  Main Body ◦ Text and Bibliography References. ◦ Body is wrapped with begin and end statements begin{document} Body of Text end{document} ◦ Typesetting the text  Bold - textbf{ text } or {bf text}  Italics - textit{ Text } or {bf text}  Newline -  Underline - ul { text } or underline{ text } Latex: Document Engineering December 2, 2011 10
  • 11. % my first LaTeX file documentclass{article} % preamble usepackage{graphicx} begin{document} section{This is a section} subsection{This is a subsection} First paragraph is here. Second paragraph is here. end{document} 11
  • 12. documentclass{article} title{Simple Example} author{Anjan} date{Nov 2011} begin{document} maketitle Hello world! end{document} Latex: Document Engineering December 2, 2011 12
  • 13. Duration: 30 minutes Latex: Document Engineering December 2, 2011 13
  • 14. • Columns o begin{tabular}{|…|…|} Columns Two o end{tabular} • Rows l = automatically adjust size, left justify o & - Split text into columns r = automatically adjust size, right justify o - End a row p = set size o hline - Draw line under row e.g p{4.7cm} o e.g. 123123 & 34.00 hline c = centre text
  • 15. begin{tabular}{|l|r|c|} hline  Date & Price & Size hline  Yesterday & 5 & big hline  Today & 3 & small hline  end{tabular}
  • 16. SubFigure and Longtable Duration: 30 minutes Latex: Document Engineering December 2, 2011 16
  • 17. Including Multiple Files ◦ Syntax - input{filename.tex} ◦ Example - input{SRS.tex}  Formatting ◦ Creating Sections and Chapters ◦ chapter{…}  To be used with book and report document classes ◦ Syntax - section{name} ◦ Syntax - subsection{name} ◦ Syntax - subsubsection{name} ◦ Syntax - appendix  changes numbering scheme Latex: Document Engineering December 2, 2011 17
  • 18. Font Size  tiny scriptsize footnotesize  small normalsize  large Large  LARGE huge Huge Latex: Document Engineering December 2, 2011 18
  • 19. TexLive Distribution ◦ www.tug.org/texlive/  MikTex Distribution ◦ www.miktex.org/  LateX Wiki ◦ en.wikibooks.org/wiki/LaTeX ◦ www.latexwiki.org/  Math LateX Wiki ◦ en.wikibooks.org/wiki/LaTeX/Mathematics Latex: Document Engineering December 2, 2011 19