SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Kürzlich hochgeladen

Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 

Kürzlich hochgeladen (20)

AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 

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