SlideShare una empresa de Scribd logo
1 de 13
S. SRIKRISHNAN
1Theory of LaTeX
 A documentation preparation system
 Document markup language
 Here, what you see, is what you mean (WYSIWYM) as
compared to what you see is what you get (WYSIWYG)
 TeX and LaTeX
 TeX: All about formatting
 LaTeX: All about content
 Not a word processor!
2Theory of LaTeX
 Complex for large documents
 Time consuming
 Context switch between formatting and content
3Theory of LaTeX
 “Separate what changes from what remains the same”
 What remains the same – The formatting information
(Template, as we call it!)
 What changes – The content of the document
 Famous example – HTML – CSS separation
 Why not apply the same for document preparation?
 Separate the content of the document from the styling
information
4Theory of LaTeX
 It applies the design principle to solve the document
preparation problem
 What changes – The content; place this is in .tex file
 What is constant – The styling information place this
in .cls file
5Theory of LaTeX
Styling Content Document
Separation of concerns
 Predefined environments – avoids rework
 Programmability
 Justification and hyphenation
 Ligatures
 Kerning
6Theory of LaTeX
7Theory of LaTeX
Word InDesign pdfLaTeX
Number of
hyphenations
9 10 4
SD of IWS (pt) 2.26 1.94 1.42
Maximum IWS
(pt)
14.4 13.2 9.0
Number of lines
with IWS > 9pt
5 2 0
8Theory of LaTeX
9Theory of LaTeX
.tex + libs
• Source code containing the author’s work
.dvi
• Device independent file – too universal
.aux
• By product file, used by the compiler to resolve forward references
.log
• Logs the compilation process - errors
.ps
• A printable PostScript file obtained from dvi file
.pdf
• Something that we have been waiting for – a portable document format
10Theory of LaTeX
“LaTeX makes life simple”
11Theory of LaTeX
 http://www.zinktypografie.nl/comparison.pdf
 http://www.zinktypografie.nl/latex.php?lang=en
 http://tex.stackexchange.com/questions/110133/visual-
comparison-between-latex-and-word-output-
hyphenation-typesetting-ligat
12Theory of LaTeX
13Theory of LaTeX

Más contenido relacionado

La actualidad más candente

La actualidad más candente (9)

Privacy Preserving Cloud Storage - A Rollback Protection Service for Untruste...
Privacy Preserving Cloud Storage - A Rollback Protection Service for Untruste...Privacy Preserving Cloud Storage - A Rollback Protection Service for Untruste...
Privacy Preserving Cloud Storage - A Rollback Protection Service for Untruste...
 
IPTC EXTRA and EXTRA+ November 2017
IPTC EXTRA and EXTRA+ November 2017IPTC EXTRA and EXTRA+ November 2017
IPTC EXTRA and EXTRA+ November 2017
 
Io stack software defined object storage
Io stack software defined object storageIo stack software defined object storage
Io stack software defined object storage
 
Elastic search
Elastic searchElastic search
Elastic search
 
Fundamental file structure concepts & managing files of records
Fundamental file structure concepts & managing files of recordsFundamental file structure concepts & managing files of records
Fundamental file structure concepts & managing files of records
 
2013 CrossRef Workshops System Update Chuck Koscher
2013 CrossRef Workshops System Update Chuck Koscher2013 CrossRef Workshops System Update Chuck Koscher
2013 CrossRef Workshops System Update Chuck Koscher
 
Introduction of Redis as NoSQL Database
Introduction of Redis as NoSQL DatabaseIntroduction of Redis as NoSQL Database
Introduction of Redis as NoSQL Database
 
Illuminating DSpace's Linked Data Support
Illuminating DSpace's Linked Data SupportIlluminating DSpace's Linked Data Support
Illuminating DSpace's Linked Data Support
 
ORCID Adoption & Integration in DSpace
ORCID Adoption & Integration in DSpaceORCID Adoption & Integration in DSpace
ORCID Adoption & Integration in DSpace
 

Similar a Theory of LaTeX

Latex intro s_dutta_v2
Latex intro s_dutta_v2Latex intro s_dutta_v2
Latex intro s_dutta_v2
SoumyoDutta
 
Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)
Ravi Okade
 
quickguide-einnovator-9-redis
quickguide-einnovator-9-redisquickguide-einnovator-9-redis
quickguide-einnovator-9-redis
jorgesimao71
 

Similar a Theory of LaTeX (20)

Inroduction to Latex
Inroduction to LatexInroduction to Latex
Inroduction to Latex
 
Installation guide for Latex and MOODLE
Installation guide for Latex and MOODLEInstallation guide for Latex and MOODLE
Installation guide for Latex and MOODLE
 
Latex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesLatex workshop: Essentials and Practices
Latex workshop: Essentials and Practices
 
14 Late X
14 Late X14 Late X
14 Late X
 
DITA-Workshop on Saturday 5 May 2018 at Pune
DITA-Workshop on Saturday 5 May 2018 at PuneDITA-Workshop on Saturday 5 May 2018 at Pune
DITA-Workshop on Saturday 5 May 2018 at Pune
 
LaTeX Part 1
LaTeX Part 1LaTeX Part 1
LaTeX Part 1
 
Latex Notes
Latex NotesLatex Notes
Latex Notes
 
STA312 Lec1
STA312 Lec1STA312 Lec1
STA312 Lec1
 
Big Data Architecture Workshop - Vahid Amiri
Big Data Architecture Workshop -  Vahid AmiriBig Data Architecture Workshop -  Vahid Amiri
Big Data Architecture Workshop - Vahid Amiri
 
Latex intro s_dutta_v2
Latex intro s_dutta_v2Latex intro s_dutta_v2
Latex intro s_dutta_v2
 
Twig internals - Maksym MoskvychevTwig internals maksym moskvychev
Twig internals - Maksym MoskvychevTwig internals   maksym moskvychevTwig internals - Maksym MoskvychevTwig internals   maksym moskvychev
Twig internals - Maksym MoskvychevTwig internals maksym moskvychev
 
20131112 Introduction to LaTeX for EndNote Users.docx
20131112 Introduction to LaTeX for EndNote Users.docx20131112 Introduction to LaTeX for EndNote Users.docx
20131112 Introduction to LaTeX for EndNote Users.docx
 
Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)Optimizing Application Architecture (.NET/Java topics)
Optimizing Application Architecture (.NET/Java topics)
 
DITA introduction
DITA introductionDITA introduction
DITA introduction
 
DITA,Single-source, Multi-channel Publishing
DITA,Single-source, Multi-channel PublishingDITA,Single-source, Multi-channel Publishing
DITA,Single-source, Multi-channel Publishing
 
LATEX.ppt
LATEX.pptLATEX.ppt
LATEX.ppt
 
xml2tex at TUG 2014
xml2tex at TUG 2014xml2tex at TUG 2014
xml2tex at TUG 2014
 
Open source Technology
Open source TechnologyOpen source Technology
Open source Technology
 
quickguide-einnovator-9-redis
quickguide-einnovator-9-redisquickguide-einnovator-9-redis
quickguide-einnovator-9-redis
 
Lucene indexing
Lucene indexingLucene indexing
Lucene indexing
 

Más de Srikrishnan Suresh (10)

Sources of Innovation
Sources of InnovationSources of Innovation
Sources of Innovation
 
Second review presentation
Second review presentationSecond review presentation
Second review presentation
 
First review presentation
First review presentationFirst review presentation
First review presentation
 
Final presentation
Final presentationFinal presentation
Final presentation
 
Zeroth review presentation
Zeroth review presentationZeroth review presentation
Zeroth review presentation
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithm
 
Canvas based presentation
Canvas based presentationCanvas based presentation
Canvas based presentation
 
ANSI C Macros
ANSI C MacrosANSI C Macros
ANSI C Macros
 
Merge sort
Merge sortMerge sort
Merge sort
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 

Último

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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

Theory of LaTeX

  • 2.  A documentation preparation system  Document markup language  Here, what you see, is what you mean (WYSIWYM) as compared to what you see is what you get (WYSIWYG)  TeX and LaTeX  TeX: All about formatting  LaTeX: All about content  Not a word processor! 2Theory of LaTeX
  • 3.  Complex for large documents  Time consuming  Context switch between formatting and content 3Theory of LaTeX
  • 4.  “Separate what changes from what remains the same”  What remains the same – The formatting information (Template, as we call it!)  What changes – The content of the document  Famous example – HTML – CSS separation  Why not apply the same for document preparation?  Separate the content of the document from the styling information 4Theory of LaTeX
  • 5.  It applies the design principle to solve the document preparation problem  What changes – The content; place this is in .tex file  What is constant – The styling information place this in .cls file 5Theory of LaTeX Styling Content Document Separation of concerns
  • 6.  Predefined environments – avoids rework  Programmability  Justification and hyphenation  Ligatures  Kerning 6Theory of LaTeX
  • 8. Word InDesign pdfLaTeX Number of hyphenations 9 10 4 SD of IWS (pt) 2.26 1.94 1.42 Maximum IWS (pt) 14.4 13.2 9.0 Number of lines with IWS > 9pt 5 2 0 8Theory of LaTeX
  • 10. .tex + libs • Source code containing the author’s work .dvi • Device independent file – too universal .aux • By product file, used by the compiler to resolve forward references .log • Logs the compilation process - errors .ps • A printable PostScript file obtained from dvi file .pdf • Something that we have been waiting for – a portable document format 10Theory of LaTeX
  • 11. “LaTeX makes life simple” 11Theory of LaTeX
  • 12.  http://www.zinktypografie.nl/comparison.pdf  http://www.zinktypografie.nl/latex.php?lang=en  http://tex.stackexchange.com/questions/110133/visual- comparison-between-latex-and-word-output- hyphenation-typesetting-ligat 12Theory of LaTeX