0% found this document useful (0 votes)
23 views

FDP_LaTeX_Presentation (1)

The document is a presentation by Dr. Harsh Vardhan Mahara on LaTeX, a typesetting tool for creating professional documents, particularly in technical and scientific fields. It covers the basics of LaTeX, including its structure, advantages, advanced features for mathematical writing, and how to create presentations using Beamer. Additionally, it introduces Overleaf, an online LaTeX editor that facilitates document creation and collaboration.

Uploaded by

harshmaths86
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

FDP_LaTeX_Presentation (1)

The document is a presentation by Dr. Harsh Vardhan Mahara on LaTeX, a typesetting tool for creating professional documents, particularly in technical and scientific fields. It covers the basics of LaTeX, including its structure, advantages, advanced features for mathematical writing, and how to create presentations using Beamer. Additionally, it introduces Overleaf, an online LaTeX editor that facilitates document creation and collaboration.

Uploaded by

harshmaths86
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

LaTeX: A Tool for Technical Writing,

Presentation and Scientific Research.

presented by

Dr. Harsh Vardhan Mahara

Department of Applied Sciences and Humanities, Invertis University , Bareilly

National workshop on “Analysis and it’s application in quantum


mechanics” January 22, 2025
What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Table of Content

1 What is LaTeX ?

2 Why use LaTeX ?

3 Basic document structure in LaTeX

4 Creating a document

5 Advanced features

6 Presentation in LATEX

7 Overleaf

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 1/30
What is LaTeX ? What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

What is LaTeX?

LATEX (pronounced “LAY-tek” or “LAH-tek”) is a tool for


typesetting professional-looking documents developed by Laslie
Lamport [1] .
It is widely used for technical and scientific documents.
Based on the idea of separating content from formatting which
makes it different form other ‘WYSIWYG’ applications such as
Microsoft Word or LibreOffice Writer.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 2/30
Why use LaTeX ? What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Why Use LaTeX?

Produce high quality documents.


Excellent for complex mathematical formulas and structures.
Cross platform compatibility.
Free and open-source.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 3/30
Basic document structure in
LaTeX What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Basic Document Structure


Every LATEX document has a structure:
\documentclass{}, \begin{document}, \end{document}.
Example:

Figure: A basic document in LATEX


Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 4/30
Basic document structure in
LaTeX What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Preamble of a Document in LaTeX

Preamble of a Document in LATEX:


The preamble is the section before the \begin{document}
command, it sets up the document’s structure and formatting.
Typical preamble structure.
\documentclass[a4paper, 12pt]{article}
\usepackage{graphicx}
Document class:
Defines the overall layout and style.
Common document classes:
article
beamer
Packages :
Packages add extra functionality to the document.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 5/30
Creating a document What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Creating a Document
Adding chapters, sections and subsections:
Organize content using sections and subsections:
\chapter{First Chapter}
\section{Introduction}
\subsection{Background}

Lists: Ordered and unordered


1.Ordered List 2.Unordered List
\begin{enumerate} \begin{itemize}
\item First item \item First item
\item Second item \item Second item
\item Third item \item Third item
\end{enumerate} \end{itemize}

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 6/30
Creating a document What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Creating a Document
Text formatting:
Bold \textbf{...},
italic \textit{...},
underline \underline{...}.
Tables
\begin{center}
\begin{tabular}{|c|c|c|}
\hline
Header 1 & Header 2 & Header 3 \\
\hline
Row 1 Col 1 & Row 1 Col 2 & Row 1 Col 3 \\
\hline
Row 2 Col 1 & Row 2 Col 2 & Row 2 Col 3 \\
\hline
\end{tabular}
Dr. Harsh \end{center}
Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 7/30
Creating a document What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Text Formatting, Sections, List, Table.

Figure: An example of text formatting, list, sections, tables.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 8/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Mathematics Writing in LaTeX

Inline Math: Integrated within text, E = mc 2 , use $...$.


Display Math: Centered and on its own line, use $$...$$,

E = mc 2

.
Common Symbols:
Greek Letters:
P α,R Ω, Qβ, γ (use \alpha,\Omega, etc. )
Operators: , , (use \sum, etc. )

Miscellaneous: ba , \frac{a}{b}, x, \sqrt{x}, xi , x i,
x i ,x^i

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 9/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Basic Mathematics Writing

Figure: Example with basic mathematics commands

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 10/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Advanced Mathematics Writing

Using package for enhanced functionality:


amsmath: advanced math formatting
amssymb: additional symbols
amsfont: additional fonts
Common mathematical environment:
align: for aligned equations

a=b+c
d + e = f + g + h.

theorem: for theorems and proofs.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 11/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Advanced Mathematics Writing

Figure: An example of packages in advanced mathematical writing

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 12/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Theorem and Proofs

Figure: An example of theorem and proofs in LATEX

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 13/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Images and Figures in LaTeX


Adding images in LATEX
Use the graphicx package to include images.
Basic command:
\begin{figure}
\includegraphics[width = 0.5 \textwidth]{image.png}
\caption{A sample image.}
\label{fig:sample}
\end{figure}
Drawing figures in LATEX
Use the TikZ package for creating graphics programmatically.
Basic setup:
\begin{tikzpicture}
\draw[->] (0,0)--(2,2);
\draw[red, thick](0,0) circle(1cm);
\end{tikzpicture}
Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 14/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Images and Figures in LaTeX

Figure: An example of image and figure in LATEX

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 15/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

References in LaTeX

Referencing in LATEX: Refer to an equation using \label and


\ref:
\begin{equation}\label{einstine}
E = m c^2
\end{equation}

To reference the equation:


As shown in equation \ref{einstine}, energy is ...

As shown in equation ??, energy is ...

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 16/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Bibliography and Citation in LaTeX

Using BibTeX: Traditional tool for managing references.


Creating a bibliography file:
Create a ’.bib’ file for your references, e.g. abc.bib.
Example entry:
@article{smith2020
author = {John Smith},
title = {Understanding LaTeX},
journal= {Journal of TeX Studies},
year= {2020},
volume= {12},
pages = {34-56}
}

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 17/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Bibliography and Citation in LaTeX


Citing references in your documents: Traditional tool
Inline citation: \cite{smith2020},
Multiple citation : \cite{key1, key2},
Example: This is discussed in [?] and in [?, ?].
Bibliography style
Plain
APA
Chicago
Include the bibliography style in the document:
\bibliographystyle{plain}

Generating the bibliography


Use the command to print the bibliography
\bibliography{abc.bib}

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 18/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Bibliography and Citation

Figure: An example of reference and citation

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 19/30
Advanced features What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Bibliography and Citation

Figure: Example of .bib file.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 20/30
Presentation in LATEX What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Making Presentation in LaTeX

Beamer: A LATEX class for creating presentations.


Basic structure:
Document class: \documentclass{beamer}
Title page: \title{ }, \author{ }, \date{ } etc.
Frames: Each slide is created with \begin{frame} and
\end{frame}
Creating a frame:
\begin{frame} \frametitle{Frame Title}
Frame content here \end{frame}

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 21/30
Presentation in LATEX What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Beamer Presentation in LaTeX

Figure: An example of basic structure of a beamer presentation

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 22/30
Presentation in LATEX What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Themes and Colors

Beamer comes with several built-in themes.


default
Frankfurt
Copenhagen
Set a theme using :
\usetheme{Copenhegan}

Customize colors using \usecolortheme


Example:
\usecolortheme{dolphin},\usecolortheme{beaver}.
https://www.overleaf.com/learn/latex/Beamer/Reference guide

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 23/30
Presentation in LATEX What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Title Slide with Theme

Figure: Example of title slide with Copenhagen theme and color theme
whale

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 24/30
Overleaf What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Overleaf

Overleaf: .
An online LATEX editor for creating documents [2].
No installation required; accessible from any device.
Access to variety of templates for different document types.
Collaborative features for real-time editing.
Sync projects with Dropbox and it supports git.
Getting started with overleaf:
Create an account at www.overleaf.com.
Start a new project or upload existing LATEX files.
Choose a template or start from the scratch.
.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 25/30
Overleaf What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Overleaf Home

Figure: Overleaf homepage


Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 26/30
Overleaf What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Overleaf Templates

Figure: Overleaf templates


Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 27/30
Overleaf What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

Overleaf Templates

Figure: Overleaf Templates

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 28/30
Overleaf What is LaTeX ? Why use LaTeX ? Basic document structure in LaTeX Creating a document A

References

Leslie Lamport.
LATEX: a document preparation system.
Addison- Wesley Pub. co., 1986.
Overleaf.
Overleaf- about us.
http://www.overleaf.com, 2011.
Accessed April 6, 2011.

Dr. Harsh Vardhan Mahara LaTeX: A Tool for Technical Writing, Presentation and Scientific Research. January 22, 2025 29/30
Thank You!

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy