latex

Latex Online Course for Beginners

Sectioning in a Latex Document

Sectioning in Latex is basic to prepare a document and for creating a section you need \section{} command and in curly braces, you will write section name. Latex support   \subsection{} and \subsubsection{} for subsections.

You can see the output of Latex code given below.

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage[width=5.00cm, height=1.00cm, left=5.00cm, right=3.00cm, top=4.00cm, bottom=3.00cm]{geometry}
\author{ Bindeshwar Singh Kushwaha}
\title{Sectioning in Latex}
\begin{document}
\maketitle
\section*{MySection}
This is my section
\subsection{MySubSection}
MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection MySubSection
\section{MySection}
\subsubsection{MySubSubSection}
\subsubsection{MySubSubSection}
\subsection{MySubSection}
\section{MySection}
This is my section
\subsection{MySubSection}
\section{MySection}
\subsection{MySubSection}
\subsubsection{MySubSubSection}
\subsubsection{MySubSubSection}
\end{document}

[\code]

The output of the code would be

Sectioning In Latex The whole explanation of sectionning is explained in video.

Leave a Comment