Lecture 7
Lecture 7
Kaushik Roy
1 Introduction to LATEX
2 Text formatting
8 Drawing Figures
Kaushik Roy (WBSU) LaTeX May 30, 2024 2 / 18
What are LATEXPackages?
• There are many useful LaTeX packages that can enhance the
functionality and appearance of your documents. Some popular
and widely used packages include:
1 amsmath: Provides numerous enhancements for typesetting
mathematical formulas.
2 graphicx: Allows for the inclusion of graphics in your documents.
3 hyperref: Enables the creation of hyperlinks within the document.
4 babel: Provides multilingual support for documents.
5 natbib: Assists with the formatting of citations and bibliography.
6 listings: Facilitates the inclusion of source code in the document.
7 fancyhdr: Allows for customization of headers and footers.
8 tikz: A powerful tool for creating graphics and diagrams directly
within LaTeX.
• These are just a few examples, and there are many other
packages available to suit a wide range of specific needs.
• Article.
• Book.
• Report
• Other classes include
• CV,
• beamer,
• poster,
• Exam, etc.
• Beamer is used to prepare this presentation
\usepackage{multicol}
Output
The first part in single column.
Theorem
Theorem text
Theorem
Theorem text
curve
main.tex proof.tex
\documentstyle{report} \chapter{The Proof of Correctness}
\begin{document} \section{Proof Outline}
\input{frontpage} We prove the correctness of chicken sort
\input{introduction} using a technique based on the Socratic
\input{proof} ⇛ method of discourse.
\input{conclusions} Let us start by assuming that Plato knew
\end{document} about this proof...
Alert
Note that although the files are assumed to be LATEXfiles, the .tex
extension is left out.
Beamer
1 Introduction to LATEX
2 Text formatting
8 Drawing Figures
1 Introduction to LATEX
2 Text formatting
8 Drawing Figures