SlideShare une entreprise Scribd logo
1  sur  40
Télécharger pour lire hors ligne
A
                               LTEX
         Prepare presentation and report


                      Jaspreet Kaur
                 jaspritsarao@gmail.com

             Dept. of Computer Science


                        June 28, 2012




Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
A
What is LTEX ?
 A
LTEX is a document markup language and document
preparation system. Within the typesetting system, its name
             A
is styled as LTEX.




        Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
A
History of LTEX




    TEX was dicovered by Donald Knuth.
    Professor of “The Art of Computer
    Programming” at Stanford University.
    He is a father of algorithm analysis.




          Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Installation
                A
Installation of LTEX is quite easy.
Go to terminal and type
    $ sudo apt-get install texlive-full




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Simple document




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Simple document




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Simple document




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Title page




             Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Title page




             Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Title page




             Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Table of contents



  Use: tableofcontents




          Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
List of figures




  Use: listoffigures




          Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Include images


  To include image do following steps:
      Include
  usepackage{graphicx} in preamble

      Include following code in body

  begin{figure}[placement specifier]
  includegraphics[scale=o.1]{figure.png}
  caption{Example}
  end{figure}




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Specifier




               Specifier           Description
               h                  Place the float here
               t                  At top of the page
               b                  At the bottom of the page




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Insert code



  usepackage{verbatim} in preamble

  Following code in body:

  begin{verbatim}
  write code here ...

  end{verbatim

  }




          Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Ordered lists


  Numbered list:
  begin{enumerate}
  item The labels consists of sequential numbers.
  item The numbers starts at 1 with every call to the
  enumerate environment.
  end{enumerate}

  Output:
    1   The labels consists of sequential numbers.
    2   The numbers starts at 1 with every call to the
        enumerate environment.




            Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Ordered lists


  Bulleted list:
  begin{itemize}
  item The individual entries are indicated with a
  black dot, a so-called bullet.
  item The text in the entries may be of any length.
  end{itemize}

  Output:
      The individual entries are indicated with a black dot, a
      so-called bullet.
      The text in the entries may be of any length.




            Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Ordered lists


  Nested list:
  begin{itemize}
  item First level item
  begin{enumerate}
  item Second level item
  item Third level item
  end{enumerate}
  end{itemize}

  Output:
     First level item
        1   Second level item
        2   Third level item



            Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Table



  begin{tabular}{|l|c|r|}
  hline multicolumn{3}{|c|}{Sample Tabular} 
  hline Left & centered & right 
  hline Left items & centered & right aligned 
  hline
  end{tabular}
                       Sample Tabular
  Output:    Left        centered         right
             Left items centered right aligned




            Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Table
  If you want table with caption and label and specify the
  placing of table then use:
  begin{table}[h]
  begin{tabular}{|l|c|r|}
  hline multicolumn{3}{|c|}{Sample Tabular} 
  hline Left items & centered & right aligned 
  hline
  end{tabular}
  caption{example}
  end{table}
  Output:
                                  Sample Tabular
                 Left items         centered right aligned
                                     Table: example

            Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Specifier




                    Specifier           Description
                    l                  left justified columne
                    c                  centered column
                    |                  vertical line
                    ||                 double vertical line
                    &                  column seperator




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Headings



  section*{LaTeX{}}
  section{LaTeX{}}
  subsection{Features}
  subsubsection{Report}
  subsubsection{Presentation}
  subsection{Advantages}
  paragraph{My name is jaspreet kaur doing B-tech in
  computer science and engineering from GNDEC ludhiana.}
  subparagraph{My name is jaspreet kaur doing B-tech in
  computer science and engineering from GNDEC ludhiana.}




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Headings:Output




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Introduction
             A
Beamer is a LTEX class for creating presentations.Preparing
presentations with beamer is different from preparing them
with wysiwyg programs like OpenOffice’s Impress, A beamer
                                        A
presentation is created like any other LTEX document: It has
a preamble and a body, the body contains sections and
subsections, the different slides (called frames in beamer).




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Features



                A
      Basics of LTEX works with Beamer
      You can easily create overlays and dynamic effects.
      You can change the appearance of your presentation to
      suit you purposes.
      The final output is typically a pdf-file which is platform
      independent.
      Professional look of presentation
      You can create presentation using same source you
                A
      wrote for LTEX articles.




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Features



                A
      Basics of LTEX works with Beamer
      You can easily create overlays and dynamic effects.
      You can change the appearance of your presentation to
      suit you purposes.
      The final output is typically a pdf-file which is platform
      independent.
      Professional look of presentation
      You can create presentation using same source you
                A
      wrote for LTEX articles.




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Features



                A
      Basics of LTEX works with Beamer
      You can easily create overlays and dynamic effects.
      You can change the appearance of your presentation to
      suit you purposes.
      The final output is typically a pdf-file which is platform
      independent.
      Professional look of presentation
      You can create presentation using same source you
                A
      wrote for LTEX articles.




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Features



                A
      Basics of LTEX works with Beamer
      You can easily create overlays and dynamic effects.
      You can change the appearance of your presentation to
      suit you purposes.
      The final output is typically a pdf-file which is platform
      independent.
      Professional look of presentation
      You can create presentation using same source you
                A
      wrote for LTEX articles.




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Features



                A
      Basics of LTEX works with Beamer
      You can easily create overlays and dynamic effects.
      You can change the appearance of your presentation to
      suit you purposes.
      The final output is typically a pdf-file which is platform
      independent.
      Professional look of presentation
      You can create presentation using same source you
                A
      wrote for LTEX articles.




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Features



                A
      Basics of LTEX works with Beamer
      You can easily create overlays and dynamic effects.
      You can change the appearance of your presentation to
      suit you purposes.
      The final output is typically a pdf-file which is platform
      independent.
      Professional look of presentation
      You can create presentation using same source you
                A
      wrote for LTEX articles.




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Basic Structure


  documentclass{beamer}   % class
  usetheme{Warsaw}    % style
  usecolortheme{whale}   % color
  usepackage{graphicx}
  title{Beamer}
  subtitle{presentation}
  author{Jaspreet}
  begin{document}
  frame{titlepage}

  end{document}




          Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Output




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Output




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Basic Structure




          Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Frames




  A basic frame




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Frames




         Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Code in beamer




  usepackage{verbatim}
  ...
  begin{frame}[fragile}




          Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Blocks




  begin{block}{Introduction to {LaTeX}}
  ‘‘Beamer is a {LaTeX}class for creating presentations
  that are held using a projector...’’
  end{block}

                  A
  Introduction to LTEX
                A
  “Beamer is a LTEXclass for creating presentations that are
  held using a projector...”




           Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Any Question?




Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com
Thank You




Guru Nanak Dev Engineering College   jaspreetsarao.wordpress.com

Contenu connexe

Similaire à Basics of LaTeX

Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)
Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)
Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)Dr. Ramchandra Mangrulkar
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginnersKaushik Naik
 
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 DocumentsDr. Mehar Chand
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9google
 
Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latextran dinh
 
Manit bhopal group_1_latex_assignment_part_2-1
Manit bhopal group_1_latex_assignment_part_2-1Manit bhopal group_1_latex_assignment_part_2-1
Manit bhopal group_1_latex_assignment_part_2-1Dr. Krishna Mohbey
 
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.TechSandhya Gandham
 
Apexand visualforcearchitecture
Apexand visualforcearchitectureApexand visualforcearchitecture
Apexand visualforcearchitectureCMR WORLD TECH
 
Rg apexand visualforcearchitecture
Rg apexand visualforcearchitectureRg apexand visualforcearchitecture
Rg apexand visualforcearchitectureCMR WORLD TECH
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan
 
Lessons learned teaching a groovy grails course
Lessons learned teaching a groovy grails courseLessons learned teaching a groovy grails course
Lessons learned teaching a groovy grails courseJacobAae
 
Aspect-oriented programming in Perl
Aspect-oriented programming in PerlAspect-oriented programming in Perl
Aspect-oriented programming in Perlmegakott
 

Similaire à Basics of LaTeX (20)

LATEX.ppt
LATEX.pptLATEX.ppt
LATEX.ppt
 
latex.pptx
latex.pptxlatex.pptx
latex.pptx
 
Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)
Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)
Manuscript Preparation using Latex: A Cloud Based Approach(Overleaf)
 
Learn Latex
Learn LatexLearn Latex
Learn Latex
 
Latex ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
 
Technical writing using LaTeX
Technical writing using LaTeXTechnical writing using LaTeX
Technical writing using 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
 
C++ book
C++ bookC++ book
C++ book
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9
 
Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latex
 
Manit bhopal group_1_latex_assignment_part_2-1
Manit bhopal group_1_latex_assignment_part_2-1Manit bhopal group_1_latex_assignment_part_2-1
Manit bhopal group_1_latex_assignment_part_2-1
 
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 Tuitorial
Latex TuitorialLatex Tuitorial
Latex Tuitorial
 
Apexand visualforcearchitecture
Apexand visualforcearchitectureApexand visualforcearchitecture
Apexand visualforcearchitecture
 
Rg apexand visualforcearchitecture
Rg apexand visualforcearchitectureRg apexand visualforcearchitecture
Rg apexand visualforcearchitecture
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2
 
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
 
Lessons learned teaching a groovy grails course
Lessons learned teaching a groovy grails courseLessons learned teaching a groovy grails course
Lessons learned teaching a groovy grails course
 
Aspect-oriented programming in Perl
Aspect-oriented programming in PerlAspect-oriented programming in Perl
Aspect-oriented programming in Perl
 

Dernier

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 

Dernier (20)

YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 

Basics of LaTeX

  • 1. A LTEX Prepare presentation and report Jaspreet Kaur jaspritsarao@gmail.com Dept. of Computer Science June 28, 2012 Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 2. A What is LTEX ? A LTEX is a document markup language and document preparation system. Within the typesetting system, its name A is styled as LTEX. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 3. A History of LTEX TEX was dicovered by Donald Knuth. Professor of “The Art of Computer Programming” at Stanford University. He is a father of algorithm analysis. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 4. Installation A Installation of LTEX is quite easy. Go to terminal and type $ sudo apt-get install texlive-full Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 5. Simple document Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 6. Simple document Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 7. Simple document Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 8. Title page Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 9. Title page Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 10. Title page Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 11. Table of contents Use: tableofcontents Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 12. List of figures Use: listoffigures Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 13. Include images To include image do following steps: Include usepackage{graphicx} in preamble Include following code in body begin{figure}[placement specifier] includegraphics[scale=o.1]{figure.png} caption{Example} end{figure} Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 14. Specifier Specifier Description h Place the float here t At top of the page b At the bottom of the page Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 15. Insert code usepackage{verbatim} in preamble Following code in body: begin{verbatim} write code here ... end{verbatim } Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 16. Ordered lists Numbered list: begin{enumerate} item The labels consists of sequential numbers. item The numbers starts at 1 with every call to the enumerate environment. end{enumerate} Output: 1 The labels consists of sequential numbers. 2 The numbers starts at 1 with every call to the enumerate environment. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 17. Ordered lists Bulleted list: begin{itemize} item The individual entries are indicated with a black dot, a so-called bullet. item The text in the entries may be of any length. end{itemize} Output: The individual entries are indicated with a black dot, a so-called bullet. The text in the entries may be of any length. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 18. Ordered lists Nested list: begin{itemize} item First level item begin{enumerate} item Second level item item Third level item end{enumerate} end{itemize} Output: First level item 1 Second level item 2 Third level item Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 19. Table begin{tabular}{|l|c|r|} hline multicolumn{3}{|c|}{Sample Tabular} hline Left & centered & right hline Left items & centered & right aligned hline end{tabular} Sample Tabular Output: Left centered right Left items centered right aligned Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 20. Table If you want table with caption and label and specify the placing of table then use: begin{table}[h] begin{tabular}{|l|c|r|} hline multicolumn{3}{|c|}{Sample Tabular} hline Left items & centered & right aligned hline end{tabular} caption{example} end{table} Output: Sample Tabular Left items centered right aligned Table: example Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 21. Specifier Specifier Description l left justified columne c centered column | vertical line || double vertical line & column seperator Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 22. Headings section*{LaTeX{}} section{LaTeX{}} subsection{Features} subsubsection{Report} subsubsection{Presentation} subsection{Advantages} paragraph{My name is jaspreet kaur doing B-tech in computer science and engineering from GNDEC ludhiana.} subparagraph{My name is jaspreet kaur doing B-tech in computer science and engineering from GNDEC ludhiana.} Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 23. Headings:Output Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 24. Introduction A Beamer is a LTEX class for creating presentations.Preparing presentations with beamer is different from preparing them with wysiwyg programs like OpenOffice’s Impress, A beamer A presentation is created like any other LTEX document: It has a preamble and a body, the body contains sections and subsections, the different slides (called frames in beamer). Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 25. Features A Basics of LTEX works with Beamer You can easily create overlays and dynamic effects. You can change the appearance of your presentation to suit you purposes. The final output is typically a pdf-file which is platform independent. Professional look of presentation You can create presentation using same source you A wrote for LTEX articles. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 26. Features A Basics of LTEX works with Beamer You can easily create overlays and dynamic effects. You can change the appearance of your presentation to suit you purposes. The final output is typically a pdf-file which is platform independent. Professional look of presentation You can create presentation using same source you A wrote for LTEX articles. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 27. Features A Basics of LTEX works with Beamer You can easily create overlays and dynamic effects. You can change the appearance of your presentation to suit you purposes. The final output is typically a pdf-file which is platform independent. Professional look of presentation You can create presentation using same source you A wrote for LTEX articles. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 28. Features A Basics of LTEX works with Beamer You can easily create overlays and dynamic effects. You can change the appearance of your presentation to suit you purposes. The final output is typically a pdf-file which is platform independent. Professional look of presentation You can create presentation using same source you A wrote for LTEX articles. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 29. Features A Basics of LTEX works with Beamer You can easily create overlays and dynamic effects. You can change the appearance of your presentation to suit you purposes. The final output is typically a pdf-file which is platform independent. Professional look of presentation You can create presentation using same source you A wrote for LTEX articles. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 30. Features A Basics of LTEX works with Beamer You can easily create overlays and dynamic effects. You can change the appearance of your presentation to suit you purposes. The final output is typically a pdf-file which is platform independent. Professional look of presentation You can create presentation using same source you A wrote for LTEX articles. Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 31. Basic Structure documentclass{beamer} % class usetheme{Warsaw} % style usecolortheme{whale} % color usepackage{graphicx} title{Beamer} subtitle{presentation} author{Jaspreet} begin{document} frame{titlepage} end{document} Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 32. Output Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 33. Output Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 34. Basic Structure Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 35. Frames A basic frame Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 36. Frames Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 37. Code in beamer usepackage{verbatim} ... begin{frame}[fragile} Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 38. Blocks begin{block}{Introduction to {LaTeX}} ‘‘Beamer is a {LaTeX}class for creating presentations that are held using a projector...’’ end{block} A Introduction to LTEX A “Beamer is a LTEXclass for creating presentations that are held using a projector...” Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 39. Any Question? Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com
  • 40. Thank You Guru Nanak Dev Engineering College jaspreetsarao.wordpress.com