Learning Latex-Introduction
Learning Latex-Introduction
Learning Latex-Introduction
1. What is LaTeX?
LaTeX is a typesetting system commonly used for creating documents that involve complex
formatting, such as scientific papers, theses, and reports. It is especially powerful for:
Unlike word processors (e.g., MS Word), LaTeX uses a markup language where you write
commands in plain text to format your document.
3. Basics of LaTeX
a. Document Structure
b. Commands
c. Comments
% This is a comment
a. Basic Example
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\title{My First LaTeX Document}
\author{John Doe}
\date{\today}
\maketitle
\section{Introduction}
This is my first LaTeX document. Let's write some math:
\[
E = mc^2
\]
\end{document}
5. Key Features
a. Mathematical Expressions
\[
\int_{a}^{b} x^2 \, dx
\]
\section{Main Section}
\subsection{Subsection}
\subsubsection{Subsubsection}
c. Lists
Itemized List:
\begin{itemize}
\item First item
\item Second item
\end{itemize}
Numbered List:
\begin{enumerate}
\item First item
\item Second item
\end{enumerate}
d. Tables
\begin{table}[h]
\centering
\begin{tabular}{|c|c|c|}
\hline
Header 1 & Header 2 & Header 3 \\
\hline
1 & 2 & 3 \\
\hline
\end{tabular}
\caption{Example Table}
\end{table}
e. Figures
\usepackage{graphicx}
...
\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{example.jpg}
\caption{Example Image}
\end{figure}
6. LaTeX Tools
a. Editors
b. Compiling LaTeX
7. Common Pitfalls
8. Learning Resources
9. Practical Activity
10. Conclusion
LaTeX is a valuable skill for academic and technical writing. While it has a learning curve,
mastering it will save you time and effort in producing high-quality documents.
Next Steps: Practice with your course assignments or create a LaTeX template for your reports!
Any questions? 😊