SlideShare a Scribd company logo
1 of 61
Download to read offline
Introduction to Latex

                                      Kartik Mandaville

                                    Linux User’s Group Manipal


                                       March 20, 2010




Kartik Mandaville (LUG Manipal)                Latex             March 20, 2010   1 / 21
Outline I
1   Introduction
       LUG Manipal
       Points To Remember
       About Latex
2   Getting Started
      Why ??
      Difference From Word Processors
      Latex Files
      Latex Commands
      Layout
      Compiling and Exporting to PDF
3   Typesetting
      Basics
      Maths
      Lists
      Tables
 Kartik Mandaville (LUG Manipal)   Latex   March 20, 2010   2 / 21
Outline II
4   Presentations
      Beamer- example



5   References



6   Contact Information



7   Copying



 Kartik Mandaville (LUG Manipal)   Latex   March 20, 2010   3 / 21
Who are we?




  Linux User’s Group Manipal




Kartik Mandaville (LUG Manipal)   Latex   March 20, 2010   4 / 21
Who are we?




  Linux User’s Group Manipal
  Life, Universe and FOSS!!




Kartik Mandaville (LUG Manipal)   Latex   March 20, 2010   4 / 21
Who are we?




  Linux User’s Group Manipal
  Life, Universe and FOSS!!
  Believers of Knowledge Sharing




Kartik Mandaville (LUG Manipal)    Latex   March 20, 2010   4 / 21
Who are we?




  Linux User’s Group Manipal
  Life, Universe and FOSS!!
  Believers of Knowledge Sharing
  Most technologically focused “group” in University




Kartik Mandaville (LUG Manipal)    Latex               March 20, 2010   4 / 21
Who are we?




  Linux User’s Group Manipal
  Life, Universe and FOSS!!
  Believers of Knowledge Sharing
  Most technologically focused “group” in University
  LUG Manipal is a non profit “Group” alive only on voluntary work!!




Kartik Mandaville (LUG Manipal)    Latex                 March 20, 2010   4 / 21
Who are we?




  Linux User’s Group Manipal
  Life, Universe and FOSS!!
  Believers of Knowledge Sharing
  Most technologically focused “group” in University
  LUG Manipal is a non profit “Group” alive only on voluntary work!!
  http://lugmanipal.org




Kartik Mandaville (LUG Manipal)    Latex                 March 20, 2010   4 / 21
Points To Remember!!!


      If you have problem(s) don’t hesitate to ask




Kartik Mandaville (LUG Manipal)      Latex           March 20, 2010   5 / 21
Points To Remember!!!


      If you have problem(s) don’t hesitate to ask
      Slides are based on Documentation so discussions are really
      important, slides are for later reference!!




Kartik Mandaville (LUG Manipal)      Latex                  March 20, 2010   5 / 21
Points To Remember!!!


      If you have problem(s) don’t hesitate to ask
      Slides are based on Documentation so discussions are really
      important, slides are for later reference!!
      Please dont consider sessions as Class( Classes are boring !! )




Kartik Mandaville (LUG Manipal)      Latex                    March 20, 2010   5 / 21
Points To Remember!!!


      If you have problem(s) don’t hesitate to ask
      Slides are based on Documentation so discussions are really
      important, slides are for later reference!!
      Please dont consider sessions as Class( Classes are boring !! )
      Speaker is just like any person sitting next to you




Kartik Mandaville (LUG Manipal)      Latex                    March 20, 2010   5 / 21
Points To Remember!!!


      If you have problem(s) don’t hesitate to ask
      Slides are based on Documentation so discussions are really
      important, slides are for later reference!!
      Please dont consider sessions as Class( Classes are boring !! )
      Speaker is just like any person sitting next to you
      Documentation is really important




Kartik Mandaville (LUG Manipal)      Latex                    March 20, 2010   5 / 21
Points To Remember!!!


      If you have problem(s) don’t hesitate to ask
      Slides are based on Documentation so discussions are really
      important, slides are for later reference!!
      Please dont consider sessions as Class( Classes are boring !! )
      Speaker is just like any person sitting next to you
      Documentation is really important
      Google is your friend




Kartik Mandaville (LUG Manipal)      Latex                    March 20, 2010   5 / 21
Points To Remember!!!


      If you have problem(s) don’t hesitate to ask
      Slides are based on Documentation so discussions are really
      important, slides are for later reference!!
      Please dont consider sessions as Class( Classes are boring !! )
      Speaker is just like any person sitting next to you
      Documentation is really important
      Google is your friend
      If you have questions after this workshop mail me or come to LUG
      Manipal’s forums
      http://forums.lugmanipal.org



Kartik Mandaville (LUG Manipal)      Latex                    March 20, 2010   5 / 21
Latex - ??




LTEX is a typesetting system that is very suitable for producing scientific
A
and mathematical documents of high typographical quality. It is also
suitable for producing all sorts of other documents, from simple letters to
complete books.




 Kartik Mandaville (LUG Manipal)    Latex                    March 20, 2010   6 / 21
Why ??



      It is free of cost. No need to buy any softwares !!!




Kartik Mandaville (LUG Manipal)       Latex                  March 20, 2010   7 / 21
Why ??



      It is free of cost. No need to buy any softwares !!!
      It is portable—sticks to the standard commands and everyone can
      read and exchange documents




Kartik Mandaville (LUG Manipal)       Latex                  March 20, 2010   7 / 21
Why ??



      It is free of cost. No need to buy any softwares !!!
      It is portable—sticks to the standard commands and everyone can
      read and exchange documents
      You can use the editor of your choice. You can even use Microsoft
      Word !!




Kartik Mandaville (LUG Manipal)       Latex                  March 20, 2010   7 / 21
Why ??



      It is free of cost. No need to buy any softwares !!!
      It is portable—sticks to the standard commands and everyone can
      read and exchange documents
      You can use the editor of your choice. You can even use Microsoft
      Word !!
      It is simply the best package for documents containing mathematics




Kartik Mandaville (LUG Manipal)       Latex                  March 20, 2010   7 / 21
Why ??



      It is free of cost. No need to buy any softwares !!!
      It is portable—sticks to the standard commands and everyone can
      read and exchange documents
      You can use the editor of your choice. You can even use Microsoft
      Word !!
      It is simply the best package for documents containing mathematics
      Professionally crafted layouts are available, which make a document
      really look as if “printed.”




Kartik Mandaville (LUG Manipal)       Latex                  March 20, 2010   7 / 21
Difference From Word Processors




      LTEX files are portale while .doc files vary from system to system
      A




Kartik Mandaville (LUG Manipal)     Latex                   March 20, 2010   8 / 21
Difference From Word Processors




      LTEX files are portale while .doc files vary from system to system
      A

      Choosing fonts is easier in Word




Kartik Mandaville (LUG Manipal)     Latex                   March 20, 2010   8 / 21
Difference From Word Processors




      LTEX files are portale while .doc files vary from system to system
      A

      Choosing fonts is easier in Word
      Typesetting is better (atleast Mathematical)




Kartik Mandaville (LUG Manipal)     Latex                   March 20, 2010   8 / 21
Difference From Word Processors




      LTEX files are portale while .doc files vary from system to system
      A

      Choosing fonts is easier in Word
      Typesetting is better (atleast Mathematical)
      Its not WYSIWYG ( ?? )




Kartik Mandaville (LUG Manipal)     Latex                   March 20, 2010   8 / 21
A
LTEX Files




       The input for LaTeX is a plain ASCII text file.




 Kartik Mandaville (LUG Manipal)     Latex              March 20, 2010   9 / 21
A
LTEX Files




       The input for LaTeX is a plain ASCII text file.
       Whitespaces(??) are treated uniformly as “space” by LaTeX. Several
       consecutive whitespaces are treated as a single space.




 Kartik Mandaville (LUG Manipal)     Latex                 March 20, 2010   9 / 21
A
LTEX Commands



      LTEX commands are case - sensitive and start with , then have a
      A
      name consisting of only letters.




Kartik Mandaville (LUG Manipal)     Latex                 March 20, 2010   10 / 21
A
LTEX Commands



      LTEX commands are case - sensitive and start with , then have a
      A
      name consisting of only letters.
      Command names are terminated by a space or a non-letter




Kartik Mandaville (LUG Manipal)     Latex                 March 20, 2010   10 / 21
A
LTEX Commands



      LTEX commands are case - sensitive and start with , then have a
      A
      name consisting of only letters.
      Command names are terminated by a space or a non-letter
      Optional parameters are given in “[ ]”




Kartik Mandaville (LUG Manipal)      Latex                March 20, 2010   10 / 21
A
LTEX Commands



      LTEX commands are case - sensitive and start with , then have a
      A
      name consisting of only letters.
      Command names are terminated by a space or a non-letter
      Optional parameters are given in “[ ]”

Some commands
{LaTeX} gives LTEX
               A
 today gives March 20, 2010




Kartik Mandaville (LUG Manipal)      Latex                March 20, 2010   10 / 21
Layout


      documentclass[options]{class} instructs LTEX to typeset the
                                               A
      document accordingly




Kartik Mandaville (LUG Manipal)     Latex                  March 20, 2010   11 / 21
Layout


      documentclass[options]{class} instructs LTEX to typeset the
                                               A
      document accordingly
      Article, Report, Book etc are the classes available. This ppt is made
      by using Beamer class




Kartik Mandaville (LUG Manipal)      Latex                  March 20, 2010   11 / 21
Layout


      documentclass[options]{class} instructs LTEX to typeset the
                                               A
      document accordingly
      Article, Report, Book etc are the classes available. This ppt is made
      by using Beamer class
      Various Packages are available like graphics. usepackage{}




Kartik Mandaville (LUG Manipal)      Latex                  March 20, 2010   11 / 21
Layout


      documentclass[options]{class} instructs LTEX to typeset the
                                               A
      document accordingly
      Article, Report, Book etc are the classes available. This ppt is made
      by using Beamer class
      Various Packages are available like graphics. usepackage{}
      Each document starts with begin{document} and ends with
      end{document}

Examples
documentclass[11pt,twoside,a4paper]{article}
usepackage{graphics}




Kartik Mandaville (LUG Manipal)      Latex                  March 20, 2010   11 / 21
Compiling




      latex <filename>.tex - this creates a dvi file




Kartik Mandaville (LUG Manipal)     Latex            March 20, 2010   12 / 21
Compiling




      latex <filename>.tex - this creates a dvi file
      dvipdf <filename>.dvi - this creates a pdf




Kartik Mandaville (LUG Manipal)     Latex            March 20, 2010   12 / 21
Compiling




      latex <filename>.tex - this creates a dvi file
      dvipdf <filename>.dvi - this creates a pdf
      evince <filename>.pdf - Evince(??), Use any pdf viewer




Kartik Mandaville (LUG Manipal)     Latex                March 20, 2010   12 / 21
Basics




       Typesetting is the ordering of letters for visual display




 Kartik Mandaville (LUG Manipal)       Latex                       March 20, 2010   13 / 21
Basics




       Typesetting is the ordering of letters for visual display
       Leaving a empty line starts a new paragraph




 Kartik Mandaville (LUG Manipal)       Latex                       March 20, 2010   13 / 21
Basics




       Typesetting is the ordering of letters for visual display
       Leaving a empty line starts a new paragraph
       for a newline




 Kartik Mandaville (LUG Manipal)       Latex                       March 20, 2010   13 / 21
Basics




       Typesetting is the ordering of letters for visual display
       Leaving a empty line starts a new paragraph
       for a newline
       newpage for a new page




 Kartik Mandaville (LUG Manipal)       Latex                       March 20, 2010   13 / 21
Basics




       Typesetting is the ordering of letters for visual display
       Leaving a empty line starts a new paragraph
       for a newline
       newpage for a new page
       Use escape sequences for special characters




 Kartik Mandaville (LUG Manipal)       Latex                       March 20, 2010   13 / 21
A
Maths using LTEX



      All inline(??) Mathematical Equations start with $ and with $




Kartik Mandaville (LUG Manipal)     Latex                  March 20, 2010   14 / 21
A
Maths using LTEX



      All inline(??) Mathematical Equations start with $ and with $
      Rest start with $$ and end with $$




Kartik Mandaville (LUG Manipal)     Latex                  March 20, 2010   14 / 21
A
Maths using LTEX



      All inline(??) Mathematical Equations start with $ and with $
      Rest start with $$ and end with $$
Some examples
$z=frac{x}{y}$ gives z = x
                         √y
$z=sqrt{x} $ gives z = x
$ lim {n to infty} sum {k=1}ˆ frac{1}{kˆ = frac{piˆ
                               n           2}           2}{6}$
                n    1   π2
gives limn→∞ k=1 k 2 = 6




Kartik Mandaville (LUG Manipal)     Latex                  March 20, 2010   14 / 21
Lists



       Two types of lists - Unordered(??) and Ordered(??)




 Kartik Mandaville (LUG Manipal)    Latex                   March 20, 2010   15 / 21
Lists



       Two types of lists - Unordered(??) and Ordered(??)
       Unordered - Itemize and Ordered - Enumerate




 Kartik Mandaville (LUG Manipal)    Latex                   March 20, 2010   15 / 21
Lists



       Two types of lists - Unordered(??) and Ordered(??)
       Unordered - Itemize and Ordered - Enumerate
       Various options are available to customize

Example
   1   First
               first
               second
   2   Second




 Kartik Mandaville (LUG Manipal)      Latex                 March 20, 2010   15 / 21
Tables



      Start and end with begin{tabular}{} and end{tabular}




Kartik Mandaville (LUG Manipal)    Latex                 March 20, 2010   16 / 21
Tables



      Start and end with begin{tabular}{} and end{tabular}
      Use | for a vertical line and hline

Sample Table
  begin{tabular}{|l|l|} hline Semester&GPA 
 hlineFirst&10hlineSecond&10hline end{tabular}

                                  Semester     GPA
                                  First        10
                                  Second       10




Kartik Mandaville (LUG Manipal)        Latex             March 20, 2010   16 / 21
Presentations using Beamer




      Use Beamer class




Kartik Mandaville (LUG Manipal)   Latex   March 20, 2010   17 / 21
Presentations using Beamer




      Use Beamer class
      Select Theme by usetheme{}




Kartik Mandaville (LUG Manipal)     Latex   March 20, 2010   17 / 21
Presentations using Beamer




      Use Beamer class
      Select Theme by usetheme{}
      Each slide in a begin{frame} and ends with end{frame}




Kartik Mandaville (LUG Manipal)     Latex                March 20, 2010   17 / 21
Beamer - Example



Example
documentclass{beamer}
usetheme{Madrid}
??
  begin{frame}
    Hello World !!!
  end{frame}
??




Kartik Mandaville (LUG Manipal)   Latex   March 20, 2010   18 / 21
References




      The Not So Short Introduction to LTEX 2ε by Tobias Oetiker
                                       A




Kartik Mandaville (LUG Manipal)    Latex                 March 20, 2010   19 / 21
References




      The Not So Short Introduction to LTEX 2ε by Tobias Oetiker
                                       A

      A Beamer Tutorial in Beamer by Charles T. Batts




Kartik Mandaville (LUG Manipal)    Latex                 March 20, 2010   19 / 21
References




      The Not So Short Introduction to LTEX 2ε by Tobias Oetiker
                                       A

      A Beamer Tutorial in Beamer by Charles T. Batts
      http://www.latex-project.org/




Kartik Mandaville (LUG Manipal)    Latex                 March 20, 2010   19 / 21
Contact Information




       Kartik Mandaville                     Linux User’s Group Manipal
      kar2905@gmail.com                       http://lugmanipal.org
http://kar2905.wordpress.com              http://forums.lugmanipal.org




Kartik Mandaville (LUG Manipal)   Latex                   March 20, 2010   20 / 21
Copying




 Creative Commons Attribution-Noncommercial-No Derivative Works 2.5
                            India License
    http://creativecommons.org/licenses/by-nc-nd/2.5/in/




Kartik Mandaville (LUG Manipal)   Latex              March 20, 2010   21 / 21

More Related Content

Viewers also liked

Lucene rev preso busch realtime search lr1010
Lucene rev preso busch realtime search lr1010Lucene rev preso busch realtime search lr1010
Lucene rev preso busch realtime search lr1010Lucidworks (Archived)
 
Building SaaS Solutions for Online Media Using Apache Solr
Building SaaS Solutions for Online Media Using Apache SolrBuilding SaaS Solutions for Online Media Using Apache Solr
Building SaaS Solutions for Online Media Using Apache SolrLucidworks (Archived)
 
Tennis
TennisTennis
Tennisaritz
 
Updated: Marketing your Technology
Updated: Marketing your TechnologyUpdated: Marketing your Technology
Updated: Marketing your TechnologyMarty Kaszubowski
 
Civil War
Civil WarCivil War
Civil Wartanica
 
Discover the new techniques about search application
Discover the new techniques about search applicationDiscover the new techniques about search application
Discover the new techniques about search applicationLucidworks (Archived)
 
Davis mark advanced search analytics in 20 minutes
Davis mark   advanced search analytics in 20 minutesDavis mark   advanced search analytics in 20 minutes
Davis mark advanced search analytics in 20 minutesLucidworks (Archived)
 
Is this love
Is this loveIs this love
Is this lovetanica
 
презентация по книге дуг де карло "экстримальное управление проектами"
презентация по книге дуг де карло "экстримальное управление проектами"презентация по книге дуг де карло "экстримальное управление проектами"
презентация по книге дуг де карло "экстримальное управление проектами"tarodnova
 
All the lovers
All the loversAll the lovers
All the loverstanica
 
まっちゃ4451LT「IE の InPrivateブラウズ」
まっちゃ4451LT「IE の InPrivateブラウズ」まっちゃ4451LT「IE の InPrivateブラウズ」
まっちゃ4451LT「IE の InPrivateブラウズ」彰 村地
 
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DCBig Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DCLucidworks (Archived)
 
IE12 大予想
IE12 大予想IE12 大予想
IE12 大予想彰 村地
 
Maroon5
Maroon5Maroon5
Maroon5tanica
 
O asis1 2[1]
O asis1 2[1]O asis1 2[1]
O asis1 2[1]tanica
 
Searching The United States Code with Solr/Lucene
Searching The United States Code with Solr/LuceneSearching The United States Code with Solr/Lucene
Searching The United States Code with Solr/LuceneLucidworks (Archived)
 

Viewers also liked (20)

Lucene rev preso busch realtime search lr1010
Lucene rev preso busch realtime search lr1010Lucene rev preso busch realtime search lr1010
Lucene rev preso busch realtime search lr1010
 
Building SaaS Solutions for Online Media Using Apache Solr
Building SaaS Solutions for Online Media Using Apache SolrBuilding SaaS Solutions for Online Media Using Apache Solr
Building SaaS Solutions for Online Media Using Apache Solr
 
Presentation: IT Wizard Summer Camp
Presentation: IT Wizard Summer CampPresentation: IT Wizard Summer Camp
Presentation: IT Wizard Summer Camp
 
Tennis
TennisTennis
Tennis
 
Updated: Marketing your Technology
Updated: Marketing your TechnologyUpdated: Marketing your Technology
Updated: Marketing your Technology
 
Civil War
Civil WarCivil War
Civil War
 
Discover the new techniques about search application
Discover the new techniques about search applicationDiscover the new techniques about search application
Discover the new techniques about search application
 
Davis mark advanced search analytics in 20 minutes
Davis mark   advanced search analytics in 20 minutesDavis mark   advanced search analytics in 20 minutes
Davis mark advanced search analytics in 20 minutes
 
La Pensadora
La PensadoraLa Pensadora
La Pensadora
 
Is this love
Is this loveIs this love
Is this love
 
презентация по книге дуг де карло "экстримальное управление проектами"
презентация по книге дуг де карло "экстримальное управление проектами"презентация по книге дуг де карло "экстримальное управление проектами"
презентация по книге дуг де карло "экстримальное управление проектами"
 
All the lovers
All the loversAll the lovers
All the lovers
 
まっちゃ4451LT「IE の InPrivateブラウズ」
まっちゃ4451LT「IE の InPrivateブラウズ」まっちゃ4451LT「IE の InPrivateブラウズ」
まっちゃ4451LT「IE の InPrivateブラウズ」
 
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DCBig Data Challenges, Presented by Wes Caldwell at SolrExchage DC
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
 
Juan gris
Juan grisJuan gris
Juan gris
 
IE12 大予想
IE12 大予想IE12 大予想
IE12 大予想
 
Maroon5
Maroon5Maroon5
Maroon5
 
O asis1 2[1]
O asis1 2[1]O asis1 2[1]
O asis1 2[1]
 
Column Stride Fields aka. DocValues
Column Stride Fields aka. DocValuesColumn Stride Fields aka. DocValues
Column Stride Fields aka. DocValues
 
Searching The United States Code with Solr/Lucene
Searching The United States Code with Solr/LuceneSearching The United States Code with Solr/Lucene
Searching The United States Code with Solr/Lucene
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Latex

  • 1. Introduction to Latex Kartik Mandaville Linux User’s Group Manipal March 20, 2010 Kartik Mandaville (LUG Manipal) Latex March 20, 2010 1 / 21
  • 2. Outline I 1 Introduction LUG Manipal Points To Remember About Latex 2 Getting Started Why ?? Difference From Word Processors Latex Files Latex Commands Layout Compiling and Exporting to PDF 3 Typesetting Basics Maths Lists Tables Kartik Mandaville (LUG Manipal) Latex March 20, 2010 2 / 21
  • 3. Outline II 4 Presentations Beamer- example 5 References 6 Contact Information 7 Copying Kartik Mandaville (LUG Manipal) Latex March 20, 2010 3 / 21
  • 4. Who are we? Linux User’s Group Manipal Kartik Mandaville (LUG Manipal) Latex March 20, 2010 4 / 21
  • 5. Who are we? Linux User’s Group Manipal Life, Universe and FOSS!! Kartik Mandaville (LUG Manipal) Latex March 20, 2010 4 / 21
  • 6. Who are we? Linux User’s Group Manipal Life, Universe and FOSS!! Believers of Knowledge Sharing Kartik Mandaville (LUG Manipal) Latex March 20, 2010 4 / 21
  • 7. Who are we? Linux User’s Group Manipal Life, Universe and FOSS!! Believers of Knowledge Sharing Most technologically focused “group” in University Kartik Mandaville (LUG Manipal) Latex March 20, 2010 4 / 21
  • 8. Who are we? Linux User’s Group Manipal Life, Universe and FOSS!! Believers of Knowledge Sharing Most technologically focused “group” in University LUG Manipal is a non profit “Group” alive only on voluntary work!! Kartik Mandaville (LUG Manipal) Latex March 20, 2010 4 / 21
  • 9. Who are we? Linux User’s Group Manipal Life, Universe and FOSS!! Believers of Knowledge Sharing Most technologically focused “group” in University LUG Manipal is a non profit “Group” alive only on voluntary work!! http://lugmanipal.org Kartik Mandaville (LUG Manipal) Latex March 20, 2010 4 / 21
  • 10. Points To Remember!!! If you have problem(s) don’t hesitate to ask Kartik Mandaville (LUG Manipal) Latex March 20, 2010 5 / 21
  • 11. Points To Remember!!! If you have problem(s) don’t hesitate to ask Slides are based on Documentation so discussions are really important, slides are for later reference!! Kartik Mandaville (LUG Manipal) Latex March 20, 2010 5 / 21
  • 12. Points To Remember!!! If you have problem(s) don’t hesitate to ask Slides are based on Documentation so discussions are really important, slides are for later reference!! Please dont consider sessions as Class( Classes are boring !! ) Kartik Mandaville (LUG Manipal) Latex March 20, 2010 5 / 21
  • 13. Points To Remember!!! If you have problem(s) don’t hesitate to ask Slides are based on Documentation so discussions are really important, slides are for later reference!! Please dont consider sessions as Class( Classes are boring !! ) Speaker is just like any person sitting next to you Kartik Mandaville (LUG Manipal) Latex March 20, 2010 5 / 21
  • 14. Points To Remember!!! If you have problem(s) don’t hesitate to ask Slides are based on Documentation so discussions are really important, slides are for later reference!! Please dont consider sessions as Class( Classes are boring !! ) Speaker is just like any person sitting next to you Documentation is really important Kartik Mandaville (LUG Manipal) Latex March 20, 2010 5 / 21
  • 15. Points To Remember!!! If you have problem(s) don’t hesitate to ask Slides are based on Documentation so discussions are really important, slides are for later reference!! Please dont consider sessions as Class( Classes are boring !! ) Speaker is just like any person sitting next to you Documentation is really important Google is your friend Kartik Mandaville (LUG Manipal) Latex March 20, 2010 5 / 21
  • 16. Points To Remember!!! If you have problem(s) don’t hesitate to ask Slides are based on Documentation so discussions are really important, slides are for later reference!! Please dont consider sessions as Class( Classes are boring !! ) Speaker is just like any person sitting next to you Documentation is really important Google is your friend If you have questions after this workshop mail me or come to LUG Manipal’s forums http://forums.lugmanipal.org Kartik Mandaville (LUG Manipal) Latex March 20, 2010 5 / 21
  • 17. Latex - ?? LTEX is a typesetting system that is very suitable for producing scientific A and mathematical documents of high typographical quality. It is also suitable for producing all sorts of other documents, from simple letters to complete books. Kartik Mandaville (LUG Manipal) Latex March 20, 2010 6 / 21
  • 18. Why ?? It is free of cost. No need to buy any softwares !!! Kartik Mandaville (LUG Manipal) Latex March 20, 2010 7 / 21
  • 19. Why ?? It is free of cost. No need to buy any softwares !!! It is portable—sticks to the standard commands and everyone can read and exchange documents Kartik Mandaville (LUG Manipal) Latex March 20, 2010 7 / 21
  • 20. Why ?? It is free of cost. No need to buy any softwares !!! It is portable—sticks to the standard commands and everyone can read and exchange documents You can use the editor of your choice. You can even use Microsoft Word !! Kartik Mandaville (LUG Manipal) Latex March 20, 2010 7 / 21
  • 21. Why ?? It is free of cost. No need to buy any softwares !!! It is portable—sticks to the standard commands and everyone can read and exchange documents You can use the editor of your choice. You can even use Microsoft Word !! It is simply the best package for documents containing mathematics Kartik Mandaville (LUG Manipal) Latex March 20, 2010 7 / 21
  • 22. Why ?? It is free of cost. No need to buy any softwares !!! It is portable—sticks to the standard commands and everyone can read and exchange documents You can use the editor of your choice. You can even use Microsoft Word !! It is simply the best package for documents containing mathematics Professionally crafted layouts are available, which make a document really look as if “printed.” Kartik Mandaville (LUG Manipal) Latex March 20, 2010 7 / 21
  • 23. Difference From Word Processors LTEX files are portale while .doc files vary from system to system A Kartik Mandaville (LUG Manipal) Latex March 20, 2010 8 / 21
  • 24. Difference From Word Processors LTEX files are portale while .doc files vary from system to system A Choosing fonts is easier in Word Kartik Mandaville (LUG Manipal) Latex March 20, 2010 8 / 21
  • 25. Difference From Word Processors LTEX files are portale while .doc files vary from system to system A Choosing fonts is easier in Word Typesetting is better (atleast Mathematical) Kartik Mandaville (LUG Manipal) Latex March 20, 2010 8 / 21
  • 26. Difference From Word Processors LTEX files are portale while .doc files vary from system to system A Choosing fonts is easier in Word Typesetting is better (atleast Mathematical) Its not WYSIWYG ( ?? ) Kartik Mandaville (LUG Manipal) Latex March 20, 2010 8 / 21
  • 27. A LTEX Files The input for LaTeX is a plain ASCII text file. Kartik Mandaville (LUG Manipal) Latex March 20, 2010 9 / 21
  • 28. A LTEX Files The input for LaTeX is a plain ASCII text file. Whitespaces(??) are treated uniformly as “space” by LaTeX. Several consecutive whitespaces are treated as a single space. Kartik Mandaville (LUG Manipal) Latex March 20, 2010 9 / 21
  • 29. A LTEX Commands LTEX commands are case - sensitive and start with , then have a A name consisting of only letters. Kartik Mandaville (LUG Manipal) Latex March 20, 2010 10 / 21
  • 30. A LTEX Commands LTEX commands are case - sensitive and start with , then have a A name consisting of only letters. Command names are terminated by a space or a non-letter Kartik Mandaville (LUG Manipal) Latex March 20, 2010 10 / 21
  • 31. A LTEX Commands LTEX commands are case - sensitive and start with , then have a A name consisting of only letters. Command names are terminated by a space or a non-letter Optional parameters are given in “[ ]” Kartik Mandaville (LUG Manipal) Latex March 20, 2010 10 / 21
  • 32. A LTEX Commands LTEX commands are case - sensitive and start with , then have a A name consisting of only letters. Command names are terminated by a space or a non-letter Optional parameters are given in “[ ]” Some commands {LaTeX} gives LTEX A today gives March 20, 2010 Kartik Mandaville (LUG Manipal) Latex March 20, 2010 10 / 21
  • 33. Layout documentclass[options]{class} instructs LTEX to typeset the A document accordingly Kartik Mandaville (LUG Manipal) Latex March 20, 2010 11 / 21
  • 34. Layout documentclass[options]{class} instructs LTEX to typeset the A document accordingly Article, Report, Book etc are the classes available. This ppt is made by using Beamer class Kartik Mandaville (LUG Manipal) Latex March 20, 2010 11 / 21
  • 35. Layout documentclass[options]{class} instructs LTEX to typeset the A document accordingly Article, Report, Book etc are the classes available. This ppt is made by using Beamer class Various Packages are available like graphics. usepackage{} Kartik Mandaville (LUG Manipal) Latex March 20, 2010 11 / 21
  • 36. Layout documentclass[options]{class} instructs LTEX to typeset the A document accordingly Article, Report, Book etc are the classes available. This ppt is made by using Beamer class Various Packages are available like graphics. usepackage{} Each document starts with begin{document} and ends with end{document} Examples documentclass[11pt,twoside,a4paper]{article} usepackage{graphics} Kartik Mandaville (LUG Manipal) Latex March 20, 2010 11 / 21
  • 37. Compiling latex <filename>.tex - this creates a dvi file Kartik Mandaville (LUG Manipal) Latex March 20, 2010 12 / 21
  • 38. Compiling latex <filename>.tex - this creates a dvi file dvipdf <filename>.dvi - this creates a pdf Kartik Mandaville (LUG Manipal) Latex March 20, 2010 12 / 21
  • 39. Compiling latex <filename>.tex - this creates a dvi file dvipdf <filename>.dvi - this creates a pdf evince <filename>.pdf - Evince(??), Use any pdf viewer Kartik Mandaville (LUG Manipal) Latex March 20, 2010 12 / 21
  • 40. Basics Typesetting is the ordering of letters for visual display Kartik Mandaville (LUG Manipal) Latex March 20, 2010 13 / 21
  • 41. Basics Typesetting is the ordering of letters for visual display Leaving a empty line starts a new paragraph Kartik Mandaville (LUG Manipal) Latex March 20, 2010 13 / 21
  • 42. Basics Typesetting is the ordering of letters for visual display Leaving a empty line starts a new paragraph for a newline Kartik Mandaville (LUG Manipal) Latex March 20, 2010 13 / 21
  • 43. Basics Typesetting is the ordering of letters for visual display Leaving a empty line starts a new paragraph for a newline newpage for a new page Kartik Mandaville (LUG Manipal) Latex March 20, 2010 13 / 21
  • 44. Basics Typesetting is the ordering of letters for visual display Leaving a empty line starts a new paragraph for a newline newpage for a new page Use escape sequences for special characters Kartik Mandaville (LUG Manipal) Latex March 20, 2010 13 / 21
  • 45. A Maths using LTEX All inline(??) Mathematical Equations start with $ and with $ Kartik Mandaville (LUG Manipal) Latex March 20, 2010 14 / 21
  • 46. A Maths using LTEX All inline(??) Mathematical Equations start with $ and with $ Rest start with $$ and end with $$ Kartik Mandaville (LUG Manipal) Latex March 20, 2010 14 / 21
  • 47. A Maths using LTEX All inline(??) Mathematical Equations start with $ and with $ Rest start with $$ and end with $$ Some examples $z=frac{x}{y}$ gives z = x √y $z=sqrt{x} $ gives z = x $ lim {n to infty} sum {k=1}ˆ frac{1}{kˆ = frac{piˆ n 2} 2}{6}$ n 1 π2 gives limn→∞ k=1 k 2 = 6 Kartik Mandaville (LUG Manipal) Latex March 20, 2010 14 / 21
  • 48. Lists Two types of lists - Unordered(??) and Ordered(??) Kartik Mandaville (LUG Manipal) Latex March 20, 2010 15 / 21
  • 49. Lists Two types of lists - Unordered(??) and Ordered(??) Unordered - Itemize and Ordered - Enumerate Kartik Mandaville (LUG Manipal) Latex March 20, 2010 15 / 21
  • 50. Lists Two types of lists - Unordered(??) and Ordered(??) Unordered - Itemize and Ordered - Enumerate Various options are available to customize Example 1 First first second 2 Second Kartik Mandaville (LUG Manipal) Latex March 20, 2010 15 / 21
  • 51. Tables Start and end with begin{tabular}{} and end{tabular} Kartik Mandaville (LUG Manipal) Latex March 20, 2010 16 / 21
  • 52. Tables Start and end with begin{tabular}{} and end{tabular} Use | for a vertical line and hline Sample Table begin{tabular}{|l|l|} hline Semester&GPA hlineFirst&10hlineSecond&10hline end{tabular} Semester GPA First 10 Second 10 Kartik Mandaville (LUG Manipal) Latex March 20, 2010 16 / 21
  • 53. Presentations using Beamer Use Beamer class Kartik Mandaville (LUG Manipal) Latex March 20, 2010 17 / 21
  • 54. Presentations using Beamer Use Beamer class Select Theme by usetheme{} Kartik Mandaville (LUG Manipal) Latex March 20, 2010 17 / 21
  • 55. Presentations using Beamer Use Beamer class Select Theme by usetheme{} Each slide in a begin{frame} and ends with end{frame} Kartik Mandaville (LUG Manipal) Latex March 20, 2010 17 / 21
  • 56. Beamer - Example Example documentclass{beamer} usetheme{Madrid} ?? begin{frame} Hello World !!! end{frame} ?? Kartik Mandaville (LUG Manipal) Latex March 20, 2010 18 / 21
  • 57. References The Not So Short Introduction to LTEX 2ε by Tobias Oetiker A Kartik Mandaville (LUG Manipal) Latex March 20, 2010 19 / 21
  • 58. References The Not So Short Introduction to LTEX 2ε by Tobias Oetiker A A Beamer Tutorial in Beamer by Charles T. Batts Kartik Mandaville (LUG Manipal) Latex March 20, 2010 19 / 21
  • 59. References The Not So Short Introduction to LTEX 2ε by Tobias Oetiker A A Beamer Tutorial in Beamer by Charles T. Batts http://www.latex-project.org/ Kartik Mandaville (LUG Manipal) Latex March 20, 2010 19 / 21
  • 60. Contact Information Kartik Mandaville Linux User’s Group Manipal kar2905@gmail.com http://lugmanipal.org http://kar2905.wordpress.com http://forums.lugmanipal.org Kartik Mandaville (LUG Manipal) Latex March 20, 2010 20 / 21
  • 61. Copying Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 India License http://creativecommons.org/licenses/by-nc-nd/2.5/in/ Kartik Mandaville (LUG Manipal) Latex March 20, 2010 21 / 21