0% found this document useful (0 votes)
17 views3 pages

LAB Program

The document contains two LaTeX scripts: one for creating a side-by-side graphic using subfigures and another for developing a simple report. The first script includes two images with captions, while the second script outlines a report structure with sections for introduction, objectives, methodology, results, and conclusion. Both scripts utilize specific LaTeX packages to enhance functionality.

Uploaded by

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

LAB Program

The document contains two LaTeX scripts: one for creating a side-by-side graphic using subfigures and another for developing a simple report. The first script includes two images with captions, while the second script outlines a report structure with sections for introduction, objectives, methodology, results, and conclusion. Both scripts utilize specific LaTeX packages to enhance functionality.

Uploaded by

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

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]{[Link]} % Include [Link]

\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]{[Link]} % Include [Link]

\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}

You might also like