Tarek Hassan

Tutorials

Beginner-friendly tutorial notes for academic writing, network simulation, channel modeling, and research data analysis.

5 tutorial sections
Choose a Tutorial Card

LaTeX / Overleaf

Academic writing workflow for reports, theses, journal papers, equations, figures, and bibliographies.

Detailed section
Visual Workflow
Step 1
Write source
Step 2
Compile PDF
Step 3
Check equations
Step 4
Export paper
A compact picture of how the LaTeX / Overleaf tutorial moves from setup to a result that can be used in a report, thesis, or research paper.
LaTeX Live Check
Preview

RIS-Assisted Wireless Report

Section: Introduction

Equation: y = h x + n \label{eq:system}

  • Document class is defined
  • Document has begin and end tags
  • At least one section is present
  • Equation environment is included
  • Figure environment is included

What is LaTeX and Overleaf?

LaTeX is a typesetting system widely used for scientific writing. Overleaf is an online LaTeX editor that lets students and collaborators write, compile, comment, and track changes in the browser.

  • Use LaTeX when document structure, equations, references, and consistent formatting matter.
  • Use Overleaf when collaboration and quick PDF preview are useful.
  • Start from a template for IEEE, thesis, conference, or lab-report formats.

Writing text

A LaTeX document is built with commands. The document class controls the style, while sections, labels, and references keep long documents organized.

\documentclass{article}
\begin{document}
\title{My First LaTeX Report}
\author{M. T. Hassan}
\maketitle

\section{Introduction}
LaTeX is useful for technical writing and research papers.

\subsection{Motivation}
We can cite figures, equations, and references cleanly.
\end{document}

Equations and figures

Equations can be written inline or displayed. Figures are usually placed in a floating environment with a caption and label.

Inline equation: $E = mc^2$

\begin{equation}
  y = h x + n
  \label{eq:wireless_model}
\end{equation}

\begin{figure}[t]
  \centering
  \includegraphics[width=0.75\linewidth]{system_model.png}
  \caption{Example wireless system model.}
  \label{fig:system_model}
\end{figure}

References and bibliography

For papers and theses, keep all references in a BibTeX file and cite them with stable citation keys. This avoids manual numbering problems when the document grows.

As shown in \cite{rappaport2015millimeter}, mmWave channels
require careful path-loss and blockage modeling.

\bibliographystyle{IEEEtran}
\bibliography{references}

Common LaTeX errors

Most beginner errors come from missing braces, unmatched environments, missing image files, or compiling without the required packages.

  • If a figure does not appear, check the file path and extension.
  • If references show as question marks, recompile or check the citation key.
  • If an equation fails, inspect brackets, underscores, carets, and missing packages.