This document provides an overview of LaTeX, including:
- LaTeX is a typesetting system suited for scientific and mathematical documents; it has advantages over word processors like professionally crafted layouts and easy formatting of mathematical formulas.
- LaTeX input files contain the document text and commands specifying the logical structure; these are processed to produce the final typeset document.
- The document discusses various LaTeX commands, environments, and features for formatting text, mathematical expressions, figures, tables, and bibliographies.
The document provides an overview of LaTeX, including its history and advantages over other document preparation systems like Microsoft Word. It discusses how to set up LaTeX and write documents, covering topics like document structure, commands, sections, formatting text, mathematical equations, figures, tables, and bibliographies. The overall document serves as a LaTeX tutorial for getting started using the system.
This document provides an introduction and overview of LaTeX. It discusses how LaTeX is a document preparation system used for typesetting technical documents and mathematical formulas. It outlines some of the key benefits of LaTeX, such as its ability to produce high quality output, cross-referencing capabilities, and automatic numbering of tables, figures, and contents. The document then covers various LaTeX topics like commands, editors, creating basic documents, text formatting, tables, images, and mathematical equations.
This document provides an introduction to LaTeX, a document preparation system. It discusses how LaTeX allows authors to focus on content over visual formatting, is widely used in academia, and provides numerous features for typesetting mathematical and scientific documents. Installation instructions and examples of basic LaTeX code for formatting equations are also included.
The document provides an overview of LaTeX, including its use for writing reports and documents, the compiling procedure, document structure using chapters, sections and paragraphs, basic LaTeX commands and formatting, and how to include mathematics, graphics, tables, and bibliographies. Key aspects covered include using the \documentclass command to specify the document type, compiling tex files into dvi or pdf formats, and dividing the document into logical components like chapters and sections using commands like \chapter and \section.
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...Jim Webb
This document provides an introduction to using LaTeX to write scientific documents. It discusses how to set up the document header and preamble, insert titles and authors, define sections and subsections, and format text. It also covers inserting mathematical equations, symbols, and formatting such as lists, footnotes, and comments. Examples are provided throughout to demonstrate how to write equations, integrals, and other mathematical expressions in LaTeX. The purpose is to give a minimalist introduction to using LaTeX for writing up research.
The document provides an overview of LaTeX, including its history and advantages over other document preparation systems like Microsoft Word. It discusses how to set up LaTeX and write documents, covering topics like document structure, commands, sections, formatting text, mathematical equations, figures, tables, and bibliographies. The overall document serves as a LaTeX tutorial for getting started using the system.
This document provides an introduction and overview of LaTeX. It discusses how LaTeX is a document preparation system used for typesetting technical documents and mathematical formulas. It outlines some of the key benefits of LaTeX, such as its ability to produce high quality output, cross-referencing capabilities, and automatic numbering of tables, figures, and contents. The document then covers various LaTeX topics like commands, editors, creating basic documents, text formatting, tables, images, and mathematical equations.
This document provides an introduction to LaTeX, a document preparation system. It discusses how LaTeX allows authors to focus on content over visual formatting, is widely used in academia, and provides numerous features for typesetting mathematical and scientific documents. Installation instructions and examples of basic LaTeX code for formatting equations are also included.
The document provides an overview of LaTeX, including its use for writing reports and documents, the compiling procedure, document structure using chapters, sections and paragraphs, basic LaTeX commands and formatting, and how to include mathematics, graphics, tables, and bibliographies. Key aspects covered include using the \documentclass command to specify the document type, compiling tex files into dvi or pdf formats, and dividing the document into logical components like chapters and sections using commands like \chapter and \section.
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...Jim Webb
This document provides an introduction to using LaTeX to write scientific documents. It discusses how to set up the document header and preamble, insert titles and authors, define sections and subsections, and format text. It also covers inserting mathematical equations, symbols, and formatting such as lists, footnotes, and comments. Examples are provided throughout to demonstrate how to write equations, integrals, and other mathematical expressions in LaTeX. The purpose is to give a minimalist introduction to using LaTeX for writing up research.
This document for reference material to SPPU course on Latex. Latex is a universally used software for preparing quality documents. It is not a word processor. This document has been compiled by taking examples and references from various texts available on the subject. It is not meant to serve as beginner's guide to latex. History, Features and Applications of Latex along with basic Latex features such as how to form tables, how to write equations, how to enumerate data items etc are discussed.
This document provides a basic tutorial on LaTeX, covering its history and advantages, installation instructions, common document types, general syntax, formatting commands, sections, lists, tables, graphics, and bibliographies. It explains that LaTeX is a typesetting program, not a word processor, and offers higher quality, easier mathematical formatting, and uniform layout compared to word processors. It also gives examples of LaTeX code for formatting text, creating documents, and inserting tables, images, and citations.
This document provides an overview of using LaTeX for text editing. It begins with an outline of topics covered, which includes writing the first document, text formatting, figures, tables, bibliography, and references. It then discusses what LaTeX is, how to install it, and some advantages of using LaTeX such as separation of formatting and content. The document demonstrates how to write a basic "Hello World" document in LaTeX. It also covers various LaTeX document elements and commands for formatting text, creating lists, inserting figures and tables, and generating a bibliography.
LaTeX is a document preparation system for typesetting documents. It separates the content from the formatting to allow the author to focus on the content. LaTeX is commonly used in scientific and technical fields for publishing research papers and theses. It provides features for formatting text, creating lists, inserting images and tables, writing mathematical equations, and generating bibliographies. The LaTeX code is compiled to PDF output for high quality typesetting and layout.
LaTeX is a document markup language used for typesetting documents. It allows for easy integration of mathematical symbols and equations. Some key benefits of LaTeX include producing beautiful documents, being portable, compatible, flexible and free. It works by writing source code files with tags rather than using a graphical user interface. Common text editors for writing LaTeX include TeXShop for Mac and MiKTeX or WinEdt for Windows.
Latex is a markup language for typesetting documents. It allows inserting equations, figures, tables, and bibliographies. Key aspects include:
1. Latex uses logical tags like section and subsection to structure a document hierarchically. Common document classes are article, report, and book.
2. Equations are typeset within equation environments. Figures and tables are inserted using specific environments and tags for captions and labels.
3. Bibliographies are generated using a thebibliography environment and bibitem tags. References are cited using cite tags and numbered automatically.
4. Other elements like lists, text formatting, and page layout are controlled through predefined environments and commands. Packages add new functionality
The document provides an overview of LaTeX and Beamer for technical writing and presentations. It discusses the basics of LaTeX including document structure, packages, sections, lists, mathematics, figures, tables, and cross-referencing. It also covers using BibTeX for bibliographies and citations. Finally, it describes creating presentations with Beamer, including frames, themes, blocks, and including text, equations, figures and tables.
This document provides an introduction to LaTeX in 30 minutes. It discusses when to use LaTeX over Microsoft Word, what is needed to get started with LaTeX, and provides examples of basic LaTeX commands. The document demonstrates how to write equations, include images, comment text, handle special characters, create references, and use BibTeX for managing references. It also briefly outlines creating documents like reports that include chapters and covers creating different types of documents like articles, books, and reports.
LaTeX for B.Sc. Mathematics,an introductionjayakumarc9
This document provides an introduction to LaTeX, including:
- What LaTeX is and why it is useful for creating technical documents with its ability to easily include mathematical equations, references, tables of contents, etc.
- How to install LaTeX programs like MiKTeX and WinEdt on Windows and TexShop on Mac.
- The basic structure of a LaTeX document including the preamble, front matter, body, and back matter.
- How to include common elements like sections, citations, tables, and equations in LaTeX.
- Common mistakes to avoid when creating LaTeX documents.
1. Include the algorithm2e package in the preamble
2. Define keywords like Initialize, Function, Input using \SetKwProg and \SetKwInOut
3. Begin the algorithm environment and add a caption
4. Use the defined keywords and other instructions to describe the algorithm steps
5. End the algorithm environment
This allows algorithms to be clearly presented with customized keywords in a formatted manner. The algorithm2e package is very useful for presenting pseudocode in LaTeX documents.
This document provides an introduction and overview of LaTeX. It discusses the basic structure of a LaTeX document including the preamble, body, and back matter. It describes LaTeX input files as plain text files that can be edited in any text editor. The document structure typically includes a title page, abstract, main content divided into sections and subsections, and bibliography. Numbering and formatting of section headings is automatic in LaTeX. The document serves as an online tutorial for LaTeX basics.
Video of Workshop - https://media.dlib.indiana.edu/media_objects/rj430941s
This is workshop offered via Social Science Research Center to students and faculty to become familiar with an online collaborative writing using Latex and Overleaf.
The document provides an introduction to LaTeX, including:
- What LaTeX is and how it works by separating content and formatting.
- The advantages of LaTeX over word processors like ease of complex tasks and portability.
- A brief history of LaTeX, including how it was developed from Donald Knuth's TeX typesetting system and expanded by Leslie Lamport into the LaTeX format.
The document provides an overview of LaTeX and discusses:
- LaTeX is a typesetting system that incorporates a macro processor to typeset documents.
- LaTeX uses markup tags and commands to specify formatting rather than using a graphical user interface.
- The document discusses LaTeX document classes, packages, file types, basic commands, environments, cross referencing, fonts, graphics, and tables. It also provides an overview of LaTeX editors like TeXstudio and distributions like MiKTeX.
Latex - Companion for a Researcher - A Review.pptLadallaRajKumar
This document discusses LaTeX and its advantages for researchers. It introduces LaTeX, noting it is indispensable for some disciplines and easier to use than word processors. Some key advantages are its professional typesetting, ability to handle mathematical symbols, platform independence, and free cost. Sections, cross-referencing, tables, graphics, and bibliographies can all be easily created in LaTeX. The document provides examples of basic LaTeX code for these elements. It concludes with resources for learning more about LaTeX such as guides and tutorials.
This document provides an introduction to LaTeX, including why it is used, basic programming commands, and how to format text. LaTeX is a document preparation system used for publishing scientific documents and books. It allows easy insertion of mathematical formulas and modifications to large documents. Basic programming in LaTeX involves specifying document options and classes using commands like \documentclass. Text formatting in LaTeX is done using commands for fonts, coloring, sizes, lists, spacing, comments, and special characters.
This document provides an introduction and overview of LaTeX. It discusses what LaTeX is, why it is useful, and how to set it up. It covers document structure, formatting text, references, equations, lists, algorithms, and figures. Recommended editors are also presented. The document serves as a helpful LaTeX survival guide for new users.
LaTeX is a document markup language used for typesetting documents. To create a LaTeX document, a .tex file must be created using a text editor. LaTeX can be installed using the command "sudo apt-get install texlive-full". A LaTeX document structure includes a preamble and body between \begin{document} and \end{document} tags. The preamble contains package imports and document settings. Images, csv data, and multiple certificates can be added to a LaTeX document which is then compiled to PDF using pdflatex.
This document provides an introduction to creating presentations with LaTeX Beamer. It discusses installing Beamer, the structure of a Beamer document, and how to add title and content slides. Key commands covered include \documentclass{beamer}, \title, \author, and \begin{frame} to start slides. The document is intended as a tutorial for those new to making presentations with LaTeX Beamer.
Mobile App Development Company In Noida | Drona InfotechDrona Infotech
Drona Infotech is a premier mobile app development company in Noida, providing cutting-edge solutions for businesses.
Visit Us For : https://www.dronainfotech.com/mobile-application-development/
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemPeter Muessig
Learn about the latest innovations in and around OpenUI5/SAPUI5: UI5 Tooling, UI5 linter, UI5 Web Components, Web Components Integration, UI5 2.x, UI5 GenAI.
Recording:
https://www.youtube.com/live/MSdGLG2zLy8?si=INxBHTqkwHhxV5Ta&t=0
This document for reference material to SPPU course on Latex. Latex is a universally used software for preparing quality documents. It is not a word processor. This document has been compiled by taking examples and references from various texts available on the subject. It is not meant to serve as beginner's guide to latex. History, Features and Applications of Latex along with basic Latex features such as how to form tables, how to write equations, how to enumerate data items etc are discussed.
This document provides a basic tutorial on LaTeX, covering its history and advantages, installation instructions, common document types, general syntax, formatting commands, sections, lists, tables, graphics, and bibliographies. It explains that LaTeX is a typesetting program, not a word processor, and offers higher quality, easier mathematical formatting, and uniform layout compared to word processors. It also gives examples of LaTeX code for formatting text, creating documents, and inserting tables, images, and citations.
This document provides an overview of using LaTeX for text editing. It begins with an outline of topics covered, which includes writing the first document, text formatting, figures, tables, bibliography, and references. It then discusses what LaTeX is, how to install it, and some advantages of using LaTeX such as separation of formatting and content. The document demonstrates how to write a basic "Hello World" document in LaTeX. It also covers various LaTeX document elements and commands for formatting text, creating lists, inserting figures and tables, and generating a bibliography.
LaTeX is a document preparation system for typesetting documents. It separates the content from the formatting to allow the author to focus on the content. LaTeX is commonly used in scientific and technical fields for publishing research papers and theses. It provides features for formatting text, creating lists, inserting images and tables, writing mathematical equations, and generating bibliographies. The LaTeX code is compiled to PDF output for high quality typesetting and layout.
LaTeX is a document markup language used for typesetting documents. It allows for easy integration of mathematical symbols and equations. Some key benefits of LaTeX include producing beautiful documents, being portable, compatible, flexible and free. It works by writing source code files with tags rather than using a graphical user interface. Common text editors for writing LaTeX include TeXShop for Mac and MiKTeX or WinEdt for Windows.
Latex is a markup language for typesetting documents. It allows inserting equations, figures, tables, and bibliographies. Key aspects include:
1. Latex uses logical tags like section and subsection to structure a document hierarchically. Common document classes are article, report, and book.
2. Equations are typeset within equation environments. Figures and tables are inserted using specific environments and tags for captions and labels.
3. Bibliographies are generated using a thebibliography environment and bibitem tags. References are cited using cite tags and numbered automatically.
4. Other elements like lists, text formatting, and page layout are controlled through predefined environments and commands. Packages add new functionality
The document provides an overview of LaTeX and Beamer for technical writing and presentations. It discusses the basics of LaTeX including document structure, packages, sections, lists, mathematics, figures, tables, and cross-referencing. It also covers using BibTeX for bibliographies and citations. Finally, it describes creating presentations with Beamer, including frames, themes, blocks, and including text, equations, figures and tables.
This document provides an introduction to LaTeX in 30 minutes. It discusses when to use LaTeX over Microsoft Word, what is needed to get started with LaTeX, and provides examples of basic LaTeX commands. The document demonstrates how to write equations, include images, comment text, handle special characters, create references, and use BibTeX for managing references. It also briefly outlines creating documents like reports that include chapters and covers creating different types of documents like articles, books, and reports.
LaTeX for B.Sc. Mathematics,an introductionjayakumarc9
This document provides an introduction to LaTeX, including:
- What LaTeX is and why it is useful for creating technical documents with its ability to easily include mathematical equations, references, tables of contents, etc.
- How to install LaTeX programs like MiKTeX and WinEdt on Windows and TexShop on Mac.
- The basic structure of a LaTeX document including the preamble, front matter, body, and back matter.
- How to include common elements like sections, citations, tables, and equations in LaTeX.
- Common mistakes to avoid when creating LaTeX documents.
1. Include the algorithm2e package in the preamble
2. Define keywords like Initialize, Function, Input using \SetKwProg and \SetKwInOut
3. Begin the algorithm environment and add a caption
4. Use the defined keywords and other instructions to describe the algorithm steps
5. End the algorithm environment
This allows algorithms to be clearly presented with customized keywords in a formatted manner. The algorithm2e package is very useful for presenting pseudocode in LaTeX documents.
This document provides an introduction and overview of LaTeX. It discusses the basic structure of a LaTeX document including the preamble, body, and back matter. It describes LaTeX input files as plain text files that can be edited in any text editor. The document structure typically includes a title page, abstract, main content divided into sections and subsections, and bibliography. Numbering and formatting of section headings is automatic in LaTeX. The document serves as an online tutorial for LaTeX basics.
Video of Workshop - https://media.dlib.indiana.edu/media_objects/rj430941s
This is workshop offered via Social Science Research Center to students and faculty to become familiar with an online collaborative writing using Latex and Overleaf.
The document provides an introduction to LaTeX, including:
- What LaTeX is and how it works by separating content and formatting.
- The advantages of LaTeX over word processors like ease of complex tasks and portability.
- A brief history of LaTeX, including how it was developed from Donald Knuth's TeX typesetting system and expanded by Leslie Lamport into the LaTeX format.
The document provides an overview of LaTeX and discusses:
- LaTeX is a typesetting system that incorporates a macro processor to typeset documents.
- LaTeX uses markup tags and commands to specify formatting rather than using a graphical user interface.
- The document discusses LaTeX document classes, packages, file types, basic commands, environments, cross referencing, fonts, graphics, and tables. It also provides an overview of LaTeX editors like TeXstudio and distributions like MiKTeX.
Latex - Companion for a Researcher - A Review.pptLadallaRajKumar
This document discusses LaTeX and its advantages for researchers. It introduces LaTeX, noting it is indispensable for some disciplines and easier to use than word processors. Some key advantages are its professional typesetting, ability to handle mathematical symbols, platform independence, and free cost. Sections, cross-referencing, tables, graphics, and bibliographies can all be easily created in LaTeX. The document provides examples of basic LaTeX code for these elements. It concludes with resources for learning more about LaTeX such as guides and tutorials.
This document provides an introduction to LaTeX, including why it is used, basic programming commands, and how to format text. LaTeX is a document preparation system used for publishing scientific documents and books. It allows easy insertion of mathematical formulas and modifications to large documents. Basic programming in LaTeX involves specifying document options and classes using commands like \documentclass. Text formatting in LaTeX is done using commands for fonts, coloring, sizes, lists, spacing, comments, and special characters.
This document provides an introduction and overview of LaTeX. It discusses what LaTeX is, why it is useful, and how to set it up. It covers document structure, formatting text, references, equations, lists, algorithms, and figures. Recommended editors are also presented. The document serves as a helpful LaTeX survival guide for new users.
LaTeX is a document markup language used for typesetting documents. To create a LaTeX document, a .tex file must be created using a text editor. LaTeX can be installed using the command "sudo apt-get install texlive-full". A LaTeX document structure includes a preamble and body between \begin{document} and \end{document} tags. The preamble contains package imports and document settings. Images, csv data, and multiple certificates can be added to a LaTeX document which is then compiled to PDF using pdflatex.
This document provides an introduction to creating presentations with LaTeX Beamer. It discusses installing Beamer, the structure of a Beamer document, and how to add title and content slides. Key commands covered include \documentclass{beamer}, \title, \author, and \begin{frame} to start slides. The document is intended as a tutorial for those new to making presentations with LaTeX Beamer.
Mobile App Development Company In Noida | Drona InfotechDrona Infotech
Drona Infotech is a premier mobile app development company in Noida, providing cutting-edge solutions for businesses.
Visit Us For : https://www.dronainfotech.com/mobile-application-development/
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemPeter Muessig
Learn about the latest innovations in and around OpenUI5/SAPUI5: UI5 Tooling, UI5 linter, UI5 Web Components, Web Components Integration, UI5 2.x, UI5 GenAI.
Recording:
https://www.youtube.com/live/MSdGLG2zLy8?si=INxBHTqkwHhxV5Ta&t=0
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Łukasz Chruściel
No one wants their application to drag like a car stuck in the slow lane! Yet it’s all too common to encounter bumpy, pothole-filled solutions that slow the speed of any application. Symfony apps are not an exception.
In this talk, I will take you for a spin around the performance racetrack. We’ll explore common pitfalls - those hidden potholes on your application that can cause unexpected slowdowns. Learn how to spot these performance bumps early, and more importantly, how to navigate around them to keep your application running at top speed.
We will focus in particular on tuning your engine at the application level, making the right adjustments to ensure that your system responds like a well-oiled, high-performance race car.
Top 9 Trends in Cybersecurity for 2024.pptxdevvsandy
Security and risk management (SRM) leaders face disruptions on technological, organizational, and human fronts. Preparation and pragmatic execution are key for dealing with these disruptions and providing the right cybersecurity program.
Transform Your Communication with Cloud-Based IVR SolutionsTheSMSPoint
Discover the power of Cloud-Based IVR Solutions to streamline communication processes. Embrace scalability and cost-efficiency while enhancing customer experiences with features like automated call routing and voice recognition. Accessible from anywhere, these solutions integrate seamlessly with existing systems, providing real-time analytics for continuous improvement. Revolutionize your communication strategy today with Cloud-Based IVR Solutions. Learn more at: https://thesmspoint.com/channel/cloud-telephony
Artificia Intellicence and XPath Extension FunctionsOctavian Nadolu
The purpose of this presentation is to provide an overview of how you can use AI from XSLT, XQuery, Schematron, or XML Refactoring operations, the potential benefits of using AI, and some of the challenges we face.
Unveiling the Advantages of Agile Software Development.pdfbrainerhub1
Learn about Agile Software Development's advantages. Simplify your workflow to spur quicker innovation. Jump right in! We have also discussed the advantages.
8 Best Automated Android App Testing Tool and Framework in 2024.pdfkalichargn70th171
Regarding mobile operating systems, two major players dominate our thoughts: Android and iPhone. With Android leading the market, software development companies are focused on delivering apps compatible with this OS. Ensuring an app's functionality across various Android devices, OS versions, and hardware specifications is critical, making Android app testing essential.
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...XfilesPro
Wondering how X-Sign gained popularity in a quick time span? This eSign functionality of XfilesPro DocuPrime has many advancements to offer for Salesforce users. Explore them now!
SMS API Integration in Saudi Arabia| Best SMS API ServiceYara Milbes
Discover the benefits and implementation of SMS API integration in the UAE and Middle East. This comprehensive guide covers the importance of SMS messaging APIs, the advantages of bulk SMS APIs, and real-world case studies. Learn how CEQUENS, a leader in communication solutions, can help your business enhance customer engagement and streamline operations with innovative CPaaS, reliable SMS APIs, and omnichannel solutions, including WhatsApp Business. Perfect for businesses seeking to optimize their communication strategies in the digital age.
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfVALiNTRY360
Salesforce Healthcare CRM, implemented by VALiNTRY360, revolutionizes patient management by enhancing patient engagement, streamlining administrative processes, and improving care coordination. Its advanced analytics, robust security, and seamless integration with telehealth services ensure that healthcare providers can deliver personalized, efficient, and secure patient care. By automating routine tasks and providing actionable insights, Salesforce Healthcare CRM enables healthcare providers to focus on delivering high-quality care, leading to better patient outcomes and higher satisfaction. VALiNTRY360's expertise ensures a tailored solution that meets the unique needs of any healthcare practice, from small clinics to large hospital systems.
For more info visit us https://valintry360.com/solutions/health-life-sciences
Flutter is a popular open source, cross-platform framework developed by Google. In this webinar we'll explore Flutter and its architecture, delve into the Flutter Embedder and Flutter’s Dart language, discover how to leverage Flutter for embedded device development, learn about Automotive Grade Linux (AGL) and its consortium and understand the rationale behind AGL's choice of Flutter for next-gen IVI systems. Don’t miss this opportunity to discover whether Flutter is right for your project.
SOCRadar's Aviation Industry Q1 Incident Report is out now!
The aviation industry has always been a prime target for cybercriminals due to its critical infrastructure and high stakes. In the first quarter of 2024, the sector faced an alarming surge in cybersecurity threats, revealing its vulnerabilities and the relentless sophistication of cyber attackers.
SOCRadar’s Aviation Industry, Quarterly Incident Report, provides an in-depth analysis of these threats, detected and examined through our extensive monitoring of hacker forums, Telegram channels, and dark web platforms.
2. Most of the material taken from
Monash University
Online material available from Googling…
3. Preface
LaTeX is a typesetting system (not a word
processor).
It is most suited to producing scientific and
mathematical documents of high
typographical quality.
5. Advantages and Disadvantages (1)
Advantages of LaTeX over WYSIWYG:
professionally crafted layouts are available
the typesetting of mathematical formulae is
supported in a convenient way
users need only to learn a few simple commands,
which specify the logical structure of a document.
6. Advantages and Disadvantages (2)
Advantages of LaTeX over WYSIWYG:
complex structures such as footnotes, references,
table of contents, and bibliographies can be generated
easily
for many typographical tasks not directly supported by
basic LaTeX, there exist free add-on packages
LaTeX is highly portable and free
7. Advantages and Disadvantages (3)
LaTeX also has some disadvantages:
What you see is not what you get.
Is this really a disadvantage? Why are you thinking about
layout instead of content?
The design of a whole new layout is difficult and takes
a lot of time.
Templates help you here
8. LaTeX Input Files
The input for LaTeX is a plain ASCII text file.
You can create it with any text editor.
It contains
the text of the document
commands which tell LaTeX how to typeset the text.
Spaces
Special Characters
LaTeX Commands
Comments
9. Spaces
Whitespace characters (e.g. blank, tab, single
linebreak) are treated uniformly as “space” by
LaTeX.
Several consecutive whitespace characters are
treated as one “space”.
An empty line between two lines of text
defines the end of a paragraph.
Several empty lines are treated in the same way
as one empty line.
It does not matter whether you
enter one of several spaces after a
word.
An empty line starts a new
paragraph.
It does not matter whether you enter one or
several spaces after a word.
An empty line starts a new paragraph.
10. Spaces
It does not
matter whether
you enter one of
several spaces
after a word.
An empty line
starts a new
paragraph.
It does not matter
whether you enter one
or several spaces
after a word.
An empty line starts a
new paragraph.
11. Special Characters
The following symbols are reserved
characters, that
have a special meaning in LaTeX
$ & % # _ { } ~ ^
Some of these characters can be used in
your documents by adding a prefix backslash
(escape character):
$ & % # _ { } $ & % # _ { }
The other symbols (and many more!) can be
printed with special commands in
mathematical formulae.
12. LaTeX Commands (1)
LaTeX commands are case sensitive and
take one of two formats:
They start with a backslash and have a name
consisting only of letters.
They consist of a backslash and exactly one special
character.
13. LaTeX Commands (2)
I read that Knuth divides
people working with TeX
into TeXnicians and
TeXperts. Today is March
25th, 2004.
I read that Knuth
divides people
working with
TeX{} into
TeX{}nicians and
TeX perts. Today
is today.
14. LaTeX Commands (3)
Some commands take a parameter which has to be
given between curly braces { } after the command
name.
Some commands support optional parameters
which are added after the command name in
square brackets [ ].
The next example uses some LaTeX commands.
15. LaTeX Commands (4)
This is emphasized
text.
Please start a new line
right here!
Thank you!
This is
emph{emphasized} text.
Please start a new line
right here!linebreak
Thank you!
16. Comments
When LaTeX encounters a % character while
processing an input file, it ignores the rest of
the present line.
This is useful for adding notes to the input
file, which will not show up in the printed
version.
This text is
processed.
This text is processed. % A comment
isn’t
17. Input File Structure (1)
When LaTeX2e processes an input file it expects it
to follow a certain structure. Every input file starts
with the command:
documentclass{...}
This specifies what sort of document you intend to write
(article, letter, book, cssethesis, etc.)
After that, you can include global style commands or
you can load packages which add new features to
the LaTeX system. To load a package you use the
command:
usepackage{...}
18. Input File Structure (2)
When all the setup work is done, you start the
body of the text with the command:
begin{document}
Now you enter the text mixed with some
useful LaTeX commands.
At the end of the document you use the
end{document}
command, which tells LaTeX to finish.
Anything which follows this command will be
ignored by LaTeX
19. Parts of a LaTeX Document:
documentclass
First line of all LaTeX documents specifies
the {type} of the document and the
[stylesheet] used.
{article}
{report}
{book}
{letter}
Basic Classes
documentclass[ieee]{article}
20. A Simple LaTeX Document
documentclass{article}
begin{document}
This is some sample text.
end{document}
21. A more realistic LaTeX file
documentclass[a4paper,11pt]{article}
usepackage{latexsym}
author{S.~Shazli}
title{Dependable Nanocomputing Lab}
begin{document}
maketitle
tableofcontents
section{Introduction}
Here begins my first article ldots
section{Conclusions}
ldots{} and here it ends.
end{document}
24. Page Styles
LaTeX supports three predefined header/footer
combinations. These are known as page styles.
The style parameter of the pagestyle{style}
command defines which one to use:
plain prints the page numbers on the bottom of the page
in the middle of the footer (default page style)
headings prints the current chapter heading and the page
number on each page. Footer is empty
empty - both header and footer empty
More elaborate headers and footers can be created
using the fancyheadings package
25. To find the square of
the hypotenuse, add a
squared to b squared
to find c squared,
e.g. .
It’s as easy as that!
Typesetting Mathematics
LaTeX has a special mode for typesetting
mathematics, called “math mode”.
Within a paragraph, math mode is entered
between $ characters, or by using the
begin{math} and end{math} commands
To find the square of
the hypotenuse, add a
squared to b squared to
find c squared, e.g.
$a^2 + b^2 = c^2$. It’s
as easy as that!
2
2
2
c
b
a
28. Typesetting Mathematics
In a research paper or thesis, you will often want to number
equations and refer to them in the text
This is done using the equation environment, and the
commands label and ref
(note that label and ref are used with figures and tables too)
… it is clear that
e > 0. (1)
From Equation 1 it follows that
...
ldots it is clear
that
begin{equation}
epsilon > 0.
label{eq:eps}
end{equation}
From
Equation~ref{eq:eps}
it follows that
ldots
29. Typesetting Mathematics
Matrices are produced using the textbf{array}
environment. Example:
The emph{characteristic polynomial} $chi(lambda)$ of the
$3 times 3$~matrix
[ left( begin{array}{ccc}
a & b & c
d & e & f
g & h & i end{array} right)]
is given by the formula
[ chi(lambda) = left| begin{array}{ccc}
lambda - a & -b & -c
-d & lambda - e & -f
-g & -h & lambda - i end{array} right|.]
30. Including Graphics
LaTeX2e includes a standard package for
including PostScript graphics in your
document. Load it using
usepackage{graphics}
A figure can be included using, for example,
begin{figure}[ht]
begin{center}
includegraphics[width=140mm]{mypic.ps}
end{center}
caption{An example of a figure.}
label{fig:example}
end{figure}
31. Figures and Tables
Figures & Tables cannot be broken between
pages
They are “floated”
begin{figure}
includegraphics{sample}
caption{A sample figure.}
end{figure}
32. Columns
begin{tabular}{|…|…|}
end{tabular}
Rows
& - Split text into columns
- End a row
hline - Draw line under row
e.g. 123123 & 34.00 hline
Two Columns
l = automatically adjust
size, left justify
r = automatically adjust
size, right justify
p = set size
e.g p{4.7cm}
c = centre text
Tabular
33. Example of table
begin{tabular}{|l|r|c|} hline
Date & Price & Size hline
Yesterday & 5 & Big hline
Today & 3 & Small hline
end{tabular}
Date Price Size
Yesterday 5 Big
Today 3 Small
35. Bibliographies
Articles can be referred to in the text using
the cite command
The details of the cited articles are stored in
BibTeX format, in a “.bib” file.
BibTeX resolves the citations in the LaTeX file
and generates the required bibliography
36. Bibliographies
By far the most
commonly used feature
is color (e.g.
[1,2,3]), usually
computed in a colour
space thought to be
“perceptually
accurate” (e.g. HSV
[3] or CIE [4].
By far the most
commonly used feature
is color (e.g.
cite{NBE1993,JaV1996
,SmC1996a}), usually
computed in a color
space thought to be
``perceptually accurate''
(e.g. HSV
cite{SmC1996a} or CIE
cite{STL1997}).
37. Bibliographies
Example BibTeX entries from a .bib file:
@book{AhR1975,
author = {N. Ahmed and K. Rao},
title = {Orthogonal transforms for digital signal
processing},
publisher = {Springer-Verlag},
year = {1975},
address = {New York},
}
@inproceedings{Aus1989,
author = {James Austin and A. Phantom and
Also Phantom},
title = {High Speed Invariant Recognition Using
Adaptive Neural Networks},
booktitle = {IEE 3rd International Conference on Image
Processing and its Applications},
year = {1989},
pages = {28--32},
abstract = {A method is described which...},
}
38. Running LaTeX
The simplest way to run LaTeX on a source
document is to do so at the UNIX command
line:
These will be:
>latex test.tex
test.aux # the auxiliary file that LaTeX will use in subsequent
passes to resolve references to figures, tables, citations etc.
test.log # a log file that contains information about the LaTeX
run
test.dvi # the DeVice Independent output file. This is the
typeset document, ready for conversion to postscript or other printable
formats
39. Running LaTeX
We can view the document we have
created using a DVI viewer. The most
common one under UNIX is xdvi. Type
>xdvi test
to see the typeset document
It is important to realise that LaTeX
sometimes needs to be run several times to
resolve all references.
40. Your Latex File Your Bibtex File
Latex compile x3
Bibtex compile x2
Latex compile x3
Your Postscript File
dvips compile x1
Device independent
output .dvi
(a text file)
Creating Latex Files
41. Output Formats
.dvi Device Independent
.ps Post Script
.pdf PDF
.rtf Rich Text Format
.html HTML
.xml XML
1