4 - Introduction To Latex
4 - Introduction To Latex
Course Instructor
Laiq Hasan
CSE-5691: Technical Report Writing & Research Methodology
What is Latex?
LaTeX (pronounced LAY-tek or LAH-tek) is a tool used to create professional-
looking documents.
Based on the WYSIWYM (what you see is what you mean) idea
You only have to focus on the contents of your document and the computer
will take care of the formatting.
Users can enter plain text and let LaTeX take care of the formatting (Unlike MS
word).
1/23
CSE-5691: Technical Report Writing & Research Methodology
2/23
CSE-5691: Technical Report Writing & Research Methodology
3/23
CSE-5691: Technical Report Writing & Research Methodology
4/23
CSE-5691: Technical Report Writing & Research Methodology
Overleaf
Templates for papers, presentations, newsletters, syllabi, books.
Online collaboration platform.
Output: nice PDF files.
5/23
CSE-5691: Technical Report Writing & Research Methodology
6/23
CSE-5691: Technical Report Writing & Research Methodology
Overleaf Structure
7/23
CSE-5691: Technical Report Writing & Research Methodology
8/23
CSE-5691: Technical Report Writing & Research Methodology
9/23
CSE-5691: Technical Report Writing & Research Methodology
10/23
CSE-5691: Technical Report Writing & Research Methodology
11/23
CSE-5691: Technical Report Writing & Research Methodology
\maketitle
\end{document}
12/23
CSE-5691: Technical Report Writing & Research Methodology
Adding Comments
\begin{document}
\maketitle
We have now added a title, author and date to our first Latex
document!
\end{document}
13/23
CSE-5691: Technical Report Writing & Research Methodology
\begin{document}
\maketitle
\end{document}
14/23
CSE-5691: Technical Report Writing & Research Methodology
Adding Images
\documentclass{article}
\usepackage{graphicx}
\graphicspath{ {images/} }
\begin{document}
The universe is immense and it seems to be homogeneous,
in a large scale, everywhere we look at.
\includegraphics{universe}
15/23
CSE-5691: Technical Report Writing & Research Methodology
\documentclass{article}
\usepackage{graphicx}
\graphicspath{ {images/} }
\begin{document}
\begin{figure}[h]
\centering
\includegraphics[width=0.25\textwidth]{mesh}
\caption{a nice plot}
\label{fig:mesh1}
\end{figure}
Unordered List
\begin{itemize}
\item The individual entries are indicated with a black dot, a so-
called bullet.
\item The text in the entries may be of any length.
\end{itemize}
17/23
CSE-5691: Technical Report Writing & Research Methodology
Ordered List
\begin{enumerate}
\item This is the first entry in our list
\item The list numbers increase with each entry we add
\end{enumerate}
18/23
CSE-5691: Technical Report Writing & Research Methodology
Displayed
Sections
\documentclass{article}
\begin{document}
This is our first LaTeX document for technical writing class.
\section{Introduction}
\section{Background}
\section{Literature Review}
\end{document}
20/23
CSE-5691: Technical Report Writing & Research Methodology
Subsections
\documentclass{article}
\begin{document}
This is our first LaTeX document for technical writing class.
\section{Introduction}
\section{Background}
\section{Literature Review}
\subsection{Subsection 1 of Lit Review}
\subsection{Subsection 2 of Lit Review}
\end{document}
21/23
CSE-5691: Technical Report Writing & Research Methodology
22/23
CSE-5691: Technical Report Writing & Research Methodology
Assignment
Write the Abstract and Literature Review part of your MSc proposal in LaTeX.
Submission deadline. Two weeks starting from today.
23/23