Document3
Document3
% Packages
\usepackage{listings}
\usepackage{xcolor}
\usepackage{multicol}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{definition}[theorem]{Definition}
% Document Start
\begin{document}
% Title Page
%\vspace{15cm}
\date{\today}
\maketitle
% Table of Contents
\tableofcontents
\newpage
\chapter{Introduction}
LaTeX is highly significant for science and engineering students due to its ability to
produce high-quality documents, especially those containing complex mathematical
expressions, technical figures, and structured content. Here are the key reasons why
LaTeX is essential:
\begin{enumerate}
\begin{itemize}
\item It supports inline and display-mode equations with various formatting options.
\end{itemize}
\begin{itemize}
\end{itemize}
\begin{itemize}
\item Works seamlessly with BibTeX and Biber for managing references.
\end{itemize}
\item Used widely for writing research papers, dissertations, and technical reports.
\end{itemize}
\begin{itemize}
\item Allows embedding of high-quality vector graphics (TikZ, PGFPlots) for scientific
diagrams.
\item Works well with external tools like MATLAB, Python, and R for including plots and
computational results.
\end{itemize}
\begin{itemize}
\item Documents are written in plain text, making them future-proof and version-
controllable (e.g., using Git).
\end{itemize}
\begin{itemize}
\item Unlike word processors, LaTeX can eciciently manage large documents (e.g.,
books, theses) without lagging.
\item Allows modular document creation using \verb|\include| and \verb|\input| for
structured organization.
\end{itemize}
\begin{itemize}
\item LaTeX is the preferred choice for academic journals, making it an essential skill
for publishing research.
\end{enumerate}
%Conclusion
For science and engineering students, LaTeX is an indispensable tool that enhances
productivity, ensures high-quality document formatting, and simplifies the handling of
complex scientific content. Learning LaTeX early can provide a strong advantage in
research, coursework, and professional careers.
\begin{table}[h]
\centering
\begin{tabular}{|c|c|c|c|c|}
\hline
\hline
LaTeX Typesetting for Beginners & 2 & Lecture: 0, Tutorial: 0, Practical: 2& Class XII \\
\hline
\end{tabular}
\label{tab:simple_table}
\end{table}
\subsection{Learning Objectives}
\begin{itemize}
\subsection{Learning Outcomes}
\begin{itemize}
\item Prepare a LaTeX document with a title page including contents, references, and
index.
\end{itemize}
\subsection{Syllabus}
\begin{description}
Installing and using LaTeX for creating a first LaTeX document; Formatting text and
understanding LaTeX commands and environments; Designing pages, Creating a book
with chapters and table of contents, Creating and customizing lists, Including images,
and creating tables with captions.
\end{description}
\chapter{Getting Started with LaTex}
To install LaTeX on your system, follow these steps based on your operating system.
\begin{enumerate}
A LaTeX distribution includes all the necessary packages and tools for compiling LaTeX
documents.\\
Windows: MiKTeX\\
Mac: MacTeX\\
\textbf{Windows (MiKTeX)}\\
\textbf{Mac (MacTeX)}\\
While you can write LaTeX in any text editor, using a dedicated LaTeX editor enhances
your workflow.
\begin{table}[h]
\centering
\begin{tabular}{|c|c|c|c|c|}
\hline
\hline
\hline
\hline
\hline
\hline
\end{tabular}
\label{latex}
\end{table}
\end{enumerate}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{itemize}
\begin{verbatim}
Hello, World!
\end{document}
\end{verbatim}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Then, compile it using: pdflatex test.tex. This should generate a test.pdf file.
\begin{verbatim}
\begin{itemize}
\end{itemize}
\begin{enumerate}
\end{enumerate}
\begin{description}
\item[ ]
\item[ ]
\item[ ]
\end{description}
Displayed equation:
\begin{equation}
\end{equation}
\end{verbatim}
\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
You can modify the appearance of text using the following commands:
\begin{itemize}
\begin{enumerate}
Commands in LaTeX begin with a backslash \verb|(\)| followed by the command name.
They are used for text formatting, inserting symbols, and structuring a document.\\
Types of Commands
\begin{description}
Some commands allow optional parameters inside square brackets [] before the
required argument {}.
Common Environments
\begin{description}
\begin{verbatim}
\begin{document}
\end{document}
\end{verbatim}
\item[B.] List\\
\begin{itemize}
\begin{verbatim}
\begin{itemize}
\end{itemize}
\end{verbatim}
\begin{verbatim}
\begin{enumerate}
\end{enumerate}
\end{verbatim}
\begin{verbatim}
\begin{equation}\label{ }
x^2+y^2=a^2
\end{equation}
\end{verbatim}
\item Figures
\begin{verbatim}
\begin{figure}
\centering
\includegraphics[width=0.5\textwidth]{image.jpg}
\label{fig:example}
\end{figure}
\end{verbatim}
\end{itemize}
\end{description}
\begin{table}[h]
\centering
\begin{tabular}{|c|c|c|c|c|}
\hline
\hline
Usage& Used for short formatting or actions & Used for structuring content \\
\hline
\hline
\hline
\end{tabular}
\label{latex1}
\end{table}
\end{enumerate}
\section{Designing pages}
When designing pages in LaTeX, you can control various aspects like page size, margins,
headers, footers, and layout customisation. This guide will introduce essential
commands and environments for structuring your pages.
\begin{enumerate}
\begin{itemize}
\verb|\documentclass[a4paper, 12pt]{article}|
\begin{table}[h]
\centering
\begin{tabular}{|c|c|c|c|c|}
\hline
\hline
\hline
\end{tabular}
\label{docclass}
\end{table}
\end{itemize}
\begin{itemize}
LaTeX has standard margins, but you can adjust them using the geometry package.\\
\end{itemize}
\begin{itemize}
\begin{verbatim}
\usepackage{fancyhdr}
\pagestyle{fancy}
\end{verbatim}
\begin{verbatim}
\end{verbatim}
\end{itemize}
\item Page Numbering
\begin{itemize}
\verb|\pagenumbering{gobble}|
\end{itemize}
\begin{itemize}
\verb|\documentclass[twocolumn]{article}|\\
\begin{verbatim}
\usepackage{multicol}
\begin{multicols}{2}
\end{multicols}
\end{verbatim}
For example
\begin{multicols}{2}
\end{multicols}
\end{itemize}
\begin{itemize}
\item Change Line Spacing: (Using setspace package)
\begin{verbatim}
\usepackage{setspace}
\end{verbatim}
\verb|\setlength{\parindent}{0pt}|
\end{itemize}
\begin{itemize}
\verb|\newpage|
\begin{verbatim}
\usepackage{setspace}
\begin{samepage}
\end{samepage}
\end{verbatim}
\end{itemize}
\end{enumerate}
%\setlength{\parindent}{0pt}
%\newpage
%\begin{samepage}
%\end{samepage}
\section{Creating a book with chapters and table of contents}
% Bibliography
\chapter*{References}
\addcontentsline{toc}{chapter}{References}
\end{document}