0% found this document useful (0 votes)
10 views2 pages

Code For Assignment 1 SEC

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

Code For Assignment 1 SEC

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

Code for Assignment 1

\documentclass{article}

\usepackage{graphicx} % Required for inserting images

\usepackage{amsmath}

\title{Introduction to LaTeX Features}

\author{Aarohi Agnihotri}

\date{January 2025}

\begin{document}

\maketitle

\section{Introduction}

This document demonstrates the use of various LaTeX features, including sections, subsections, lists,
and simple formulas.

\section{Structure of the document}

In Latex we can organise content using sections and subsections. Additionally, we can create lists,
include mathematical formulas, and much more.

\subsection{Lists in Latex}

\subsubsection{Ordered list}

An ordered list (enumerate) uses the number to denote each item

\begin{enumerate}

\item First item in the list

\item Second item in the list

\item Third item in the list

\end{enumerate}

\subsubsection{Unordered list}

An unordered list (itemize) uses bullet points.

\begin{itemize}

\item First item in the list

\item Second item in the list


\item Third item in the list

\end{itemize}

\subsection{Simple Formulas}

LaTeX makes it easy to write mathematical formulas. Let us begin with a simple formula. This
equation is in line with the sentence by using a double dollar sign, we can make it look like this

$$e^{i\pi}+1=0$$

Here are some other examples:

\begin{itemize}

\item Einstein's famous formula $E=mc^2$

\item A Chemical Compound $SF_6$

\item A Fraction $\frac{1}{n}$

\end{itemize}

\section{Conclusion}

This is your first assignment. This document provided a basic overview of how to use sections,
subsections, lists and formulas in LaTeX.

\end{document}

You might also like