Program 6: Develop a LaTeX script to include the side-by-side graphic
Program:
\documentclass{article}
\usepackage{graphicx} % Required for including images
\usepackage{subcaption} % Required for subfigures
\begin{document}
\begin{figure}
\centering
\begin{subfigure}{0.46\linewidth} % Subfigure environment for the first image
\includegraphics[width=\linewidth]{Image1.jpeg} % Include image1.jpg
\caption{Caption for image 1} % Caption for the first image
\label{fig:subfig1} % Label for referencing the first image
\end{subfigure}
\hfill % Add horizontal space between subfigures
\begin{subfigure}{0.44\linewidth} % Subfigure environment for the second image
\includegraphics[width=\linewidth]{Image2.jpeg} % Include image2.png
\caption{Caption for image 2} % Caption for the second image
\label{fig:subfig2} % Label for referencing the second image
\end{subfigure}
\caption{Cybersecurity images} % Overall caption for the figure
\label{fig:subfigures} % Label for referencing the entire figure
\end{figure}
\end{document}
Program 12: Develop a LaTeX script to create a simple report and article
by using suitable commands and formats of user choice.
Program:
\documentclass{report}
\usepackage{lipsum} % Package for generating dummy text
\title{Simple Report}
\author{Your Name}
\date{\today}
\begin{document}
\maketitle
\chapter{Introduction}
\lipsum[1-3]
\section{Objectives}
\lipsum[4]
\begin{enumerate}
\item Objective 1
\item Objective 2
\item Objective 3
\end{enumerate}
\section{Background}
\lipsum[5-7]
\chapter{Methodology}
\lipsum[8-10]
\section{Data Collection}
\lipsum[11]
\section{Analysis}
\lipsum[12-13]
\chapter{Results and Discussion}
\lipsum[14-16]
\chapter{Conclusion}
\lipsum[17]
\end{document}