latex_manual
latex_manual
Overview
Objectives
To introduce the basic syntax and semantics of the LaTeX scripting language
To understand the presentation of tables and figures in the document
To illustrate the LaTeX syntax to represent the theorems and mathematical equations
To make use of the libraries (Tikz, algorithm) to design the diagram and algorithms in the document
Description
LaTeX is a typesetting system commonly used for creating documents with complex formatting requirements,
particularly in academic and technical fields. Unlike word processors, LaTeX focuses on content structure and
automation, allowing users to generate consistent and professional-looking documents with precise control over
layout, mathematical notation, citations, and cross-referencing. It uses plain text files with markup commands
to specify document structure and formatting, offering high-quality output in various formats such as PDF.
LaTeX is widely used for writing research papers, theses, reports, presentations, and even books, providing a
powerful tool for producing polished documents efficiently.
1. Understanding LaTeX Basics: Learn the fundamental concepts of LaTeX, including document structure,
commands, and syntax.
2. Document Formatting: Gain proficiency in formatting documents using LaTeX, including text styling,
sectioning, and page layout.
3. Mathematical Typesetting: Master the techniques for typesetting mathematical equations, symbols, and
expressions in LaTeX.
4. Graphics and Tables: Learn how to include graphics, diagrams, and tables in LaTeX documents, and
customize their appearance.
5. Cross-Referencing and Citations: Understand how to create and manage cross-references to figures,
tables, equations, and sections, as well as how to handle citations and bibliographies.
6. Code Listings: Learn how to include code listings with syntax highlighting in LaTeX documents, suitable
for programming examples and algorithms.
7. Customization and Packages: Explore advanced LaTeX features and packages for customizing document
styles, incorporating additional functionality, and meeting specific formatting requirements.
8. Collaborative Editing and Version Control: Gain familiarity with tools and techniques for collaborative
editing of LaTeX documents and version control using platforms like Overleaf or Git.
9. Troubleshooting and Error Handling: Develop skills in identifying and resolving common errors and
issues encountered while working with LaTeX documents.
10. Project Management: Learn effective project management strategies for organizing and structuring LaTeX
documents, including workflow management and document versioning.
Page 1
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
● Illustrate LaTeX script to present theorems and mathematical equations in the document
● Develop programs to generate the complete report with citations and a bibliography
● Illustrate the use of Tikz and algorithm libraries to design graphics and algorithms in the
document
Prerequisites
1. Basic Computer Skills: Participants should have a basic understanding of using a computer, including file
management, text editing, and navigating through folders.
2. Familiarity with Text Editors: It's beneficial for participants to be familiar with text editors such as
Notepad, Sublime Text, or Visual Studio Code, as LaTeX documents are created using plain text files.
3. Understanding of Document Structure: A basic understanding of document structure, including sections,
paragraphs, and headings, will help participants grasp LaTeX concepts more easily.
4. Mathematical Knowledge: While not strictly necessary, a basic understanding of mathematical notation
and concepts will be helpful, especially when learning how to typeset mathematical equations in LaTeX.
Base Course
1. Introduction to LaTeX: Provide an overview of what LaTeXis, its advantages, and its applications in
academic and technical writing.
2. Setting UpLaTeX Environment: Guide participants through the process of installing LaTeX distribution
such as TeX Live or MiKTeX on their operating system.
3. Creating a Basic Document: Introduce the basic structure of a LaTeX document, including the preamble,
document class, and document body. Participants will learn how to create a simple LaTeX document and
compile it into a PDF.
4. Text Formatting: Cover text formatting commands such as font styles (e.g., bold, italic), font sizes,
alignment, and line spacing.
5. Document Structure: Explain how to structure a LaTeX document using sections, subsections, and
paragraphs. Participants will learn how to create a table of contents and customize its appearance.
6. Mathematical Typesetting: Dive into mathematical typesetting with LaTeX, covering mathematical
environments, symbols, equations, and matrices.
7. Graphics and Figures: Teach participants how to include graphics, figures, and diagrams in LaTeX
documents using the graphicx package.
8. Tables and Lists: Explore how to create tables and lists in LaTeX, including customization options for
formatting and styling.
9. Cross-Referencing: Introduce cross-referencing in LaTeX for creating links to figures, tables, equations,
and sections within the document.
10. Citations and Bibliographies: Cover techniques for managing citations and generating bibliographies using
BibTeX or BibLaTeX.
Introduction
LaTeX, which is pronounced «Lah-tech» or «Lay-tech» (to rhyme with «blech» or «Bertolt Brecht»), is a
document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or
scientific documents but it can be used for almost any form of publishing.LaTeX is not a word processor!
Instead, LaTeX encourages authors not to worry too much about the appearance of their documents but to
concentrate on getting the right content.
Page 2
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Resources Required
1. Computers: Each participant should have access to a computer or laptop with internet connectivity.
2. LaTeX Distribution: Ensure that each participant has access to a LaTeX distribution installed on their
computer. Common distributions include TeX Live, MiKTeX, and MacTeX.
3.Text Editor: Participants will need a text editor to write LaTeX code. Popular options include TeXworks,
TeXShop, Overleaf, Visual Studio Code with LaTeX Workshop extension, and ShareLaTeX.
4. Internet Access: Access to the internet is essential for downloading LaTeX distributions, accessing online
documentation and resources, and troubleshooting issues.
General Instructions
CONTENTS
Date Date
Sl.No Experiments
Planned Conducted
1 Develop a LaTeX script to create a simple document that consists of 2
sections [Section1, Section2], and a paragraph with dummy text in each
section. And also include header [title of document] and footer [institute
name,page number] in the document.
2 Develop a LaTeX script to create a document that displays the sample
Abstract/Summary
3 Develop a LaTeX script to create a simple title page of the VTU project
Report[Use suitable Logos and text formatting]
4 Develop a LaTeX script to create the Certificate Page of the Report[Use
suitable commands to leave the blank spaces for user entry]
5 S.No USN Student Marks
Name Subject1 Subject2 Subject3
1 4XX22XX001 Name1 89 60 90
2 4XX22XX002 Name2 78 45 98
3 4XX22XX003 Name3 67 55 59
Develop a LaTeX script to create a document that contains the following table
with proper labels.
Page 3
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Evaluation Scheme
Assessment Details (both CIE and SEE)
The weightage of Continuous Internal Evaluation (CIE) is 50% and for Semester End Exam (SEE) is 50%. The
minimum passing mark for the CIE is 40% of the maximum marks (20 marks out of 50) and for the SEE
minimum passing mark is 35% of the maximum marks (18 out of 50 marks). A student shall be deemed to have
satisfied the academic requirements and earned the credits allotted to each subject/ course if the student secures
a minimum of 40% (40 marks out of 100) in the sum total of the CIE (Continuous Internal Evaluation) and SEE
(Semester End Examination) taken together
Page 4
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Reference
BOOK: A Short Introduction to LaTeX BY FIRUZA KARMALI (AIBARA), A book for beginners,
2019
BOOK: Formatting Information: A Beginner's Introduction to Typesetting with LaTeX, BY PETER
FLYNN, Comprehensive TeX Archive Network (2005)
LaTeX TUTORIAL: [https://latex-tutorial.com/tutorials/]
LaTeX TUTORIAL: [https://www.javatpoint.com/latex]
Page 5
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create a simple document that consists of 2 sections [Section1, Section2],
and a paragraph with dummy text in each section. And also include header [title of document] and
footer[institute name, page number] in the document.
\documentclass{article}: This line specifies the document class as article, which is suitable for simple
documents.
\usepackage{fancyhdr}: This package is used to customize headers and footers.
\pagestyle{fancy}: Sets the page style to use fancyhdr.
\title{Title of Document}, \author{}, \date{}: Specifies the title, author, and date of the document (left
empty in this example).
\maketitle: Generates the title based on \title, \author, and \date.
\section{Section 1}, \section{Section 2}: Create the sections with their respective titles.
Dummy text paragraphs follow each section, which can be replaced with actual content.
\documentclass{article}
\usepackage{fancyhdr}
\begin{document}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[C]{The Latex Lab 1}
\fancyfoot[L]{Hirasugar Institute of Technology}
\fancyfoot[R]{Page No. \thepage}
\section{First Section}
First document. This is a simple example, with no
extra parameters or packages included.
\section{Second Section}
First document. This is a simple example, with no
extra parameters or packages included.
\end{document}
Page 6
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
A simple document that consists of 2 sections [Section1, Section2], and a paragraph with dummy text in each
section. And also include header [title of document] and footer [institute name, page number] in the document
has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 7
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create a document that displays the sample Abstract/Summary
\documentclass{article}: This line specifies the document class as article, which is suitable for simple
documents.
\begin{abstract} ... \end{abstract}: Defines the abstract section. The abstract provides a brief summary
of the document's main points.
\documentclass{article}
\begin{document}
\begin{abstract}
\end{abstract}
\end{document}
Page 8
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
LaTeX script to create a document that displays the sample Abstract/Summary has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 9
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create a simple title page of the VTU project Report[Use suitable Logos
and text formatting]
\documentclass{article}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\begin{document}
\begin{titlepage}
\centering
{\large\bfseries VISVESVARAYA TECCHNOLOGICAL UNIVERSITY \par}
{\large\bfseriesJnanasangama, Belagavi -- 590018 \par\vspace{0.5cm}}
\includegraphics[width=0.3\textwidth]{logo.jpg}\par\vspace{0.5cm}
{\Large A Project Report \vspace{0.5cm}\par}
Page 10
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
{\Large On \par\vspace{0.5cm}}
{\huge\bfseries\ "Title of Your Project" \par\vspace{0.5cm}}
{\normalsize Submitted in partial fulfillment of the requirements for the award of degree\par\vspace{0.5cm}}
{\Large\bfseries BACHELOR OF ENGINEERING \par\vspace{0.5cm}}
{\Large\bfseries IN \par\vspace{0.5cm}}
{\Large\bfseries COMPUTER SCIENCE AND ENGINEERING \par\vspace{0.5cm}}
{\Large Submitted By \par\vspace{0.5cm}}
{\Large\itshape\bfseries Name: USN: \par\vspace{0.5cm}}
{\bfseries\normalsize\textit{ DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING}
\par\vspace{0.5cm}}
{\normalsize HIRASUGAR INSTITUTE OF TECHNOLOGY \par\vspace{0.5cm}}
{\normalsize NIDASOSHI -- 591236 \par\vspace{0.5cm}}
{\normalsize 2023-24 }
\end{titlepage}
\end{document}
\
Page 11
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
LaTeX script to create a simple title page of the VTU project Report [Use suitable Logos and text
formatting] has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 12
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create the Certificate Page of the Report [Use suitable commands to leave
the blank spaces for user entry]
\documentclass[a4paper,12pt]{article}: Defines the document class with paper size and font size.
\usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}: Adjusts page margins;
you can customize these values as needed.
\begin{titlepage} and \end{titlepage}: Enclose the content of the certificate within these commands to
create a separate title page.
\vspace{}: Adds vertical space between lines and paragraphs.
\Huge, \Large: Font size commands for the title and headings.
\textbf{}: Makes text bold.
\underline{\hspace{}}: Creates an underline with blank horizontal space for the user to write
information.
Replace \underline{\hspace{9.7cm}} with the recipient's name.
\documentclass{article}
\usepackage{xcolor}
\usepackage[paperheight=20cm,paperwidth=14cm]{geometry}
\usepackage{fancyhdr}
\usepackage{graphicx} %LaTeX package to import graphics
\graphicspath{{Pictures/}} %configuring the graphicx package
\begin{document}
\pagestyle{fancy}
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}% To remove the header line
\begin{center}
\textcolor{red}{S.J.P.N Trust's}\break
\textcolor{blue}{Hirasugar Institute of Technolofgy, Nidasoshi}\break
\textit{\textcolor{red}{Inculcating Values, Promoting Prosperity}}\break
\textcolor{brown}{Accredited at "A" Grade by NAAC}\break
\textcolor{red}{Programmes Accredited by NBA : CSE and ECE}
\hfill\break
\includegraphics[width=0.25\textwidth]{Logo.jpg}\par\vspace{0.5cm}
\end{center}
\begin{center}
\hfill\break
Page 13
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
\Huge{\bfseries{\textit{\textsl{\textcolor{red}{CERTIFICATE }}}}}
\end{center}
\vspace{10mm}
\hfill \break
\underline {\hspace{9.7cm}}
\vspace{1mm}
\hfill \break
has successfully completed 16 Weeks of internship program from February 2023 to June 2023 at Cybersena
India Private Limited, Belagavi. He has trained on ‘Cyber Security.
\vspace{16mm}
\hfill \break
\end{document}
Page 14
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
LaTeX script to create the Certificate Page of the Report [Use suitable commands to leave the blank spaces for
user entry] has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 15
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create a document that contains the following table with proper labels.
\documentclass{article}
\usepackage[a4paper, total={8in, 8in}]{geometry}
\setlength{\tabcolsep}{15pt}
\renewcommand{\arraystretch}{1.5}
\begin{document}
\title{Student Marks List}
\date{}
\begin{table}[h!]
\centering
\large\textbf\maketitle
\begin{tabular}{|c|c|c|c|c|c|}
\hline
\large\textbf{S.No}&\large\textbf{USN}&\large\textbf{Student Name}&
\multicolumn{3}{c|}{\large\textbf{Marks}} \\
\cline{4-6} &&&\large\textbf{Subject1}&\large\textbf{Subject2}&\large\
textbf{Subject3}\\
\hline
1&4XX22XX001 &Name 1&89&60&90\\
\hline
2&4XX22XX002&Name 2&78&45&98\\
\hline
3&4XX22XX003&Name 3&67&55&59\\
\hline
Page 16
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
\end{tabular}
\end{table}
\end{document}
LaTeX script to create a document that contains the following table with proper labels has been developed.
1.6 Remarks
FACULTY SIGNATURE
Page 17
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to include the side-by-side graphics/pictures/figures in the document by
using the subgraph concept
\begin{figure}[h] ... \end{figure}: Encloses the figure environment. [h]specifies that LaTeX should
try to place the figure "here" (if possible) or at the top of the page.
\begin{subfigure}[b]{0.4\textwidth} ... \end{subfigure}: Defines each subfigure. [b] aligns the
subfigure at the bottom, and 0.4\textwidth specifies that each subfigure should occupy 40% of the text
width.
\includegraphics[width=\textwidth]{image1.png}: Inserts the image image1.png and scales it to fit the
width of the subfigure.
\caption{Caption for Image 1}: Adds a caption below each subfigure.
\label{fig:sub1}: Provides a label for cross-referencing the subfigure within the document.
\hfill: Adds horizontal space between the subfigures, making them appear side by side.
\caption{Main Caption for the Figure}: Adds a main caption above the entire figure,
which encompasses both subfigures.
\label{fig:main}: Labels the entire figure for cross-referencing purposes.
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\begin{document}
\begin{figure}[h]
\centering
\begin{subfigure}{0.45\textwidth}
\includegraphics[width=\textwidth]{logo}
\caption{Caption for Image 1}
\label{fig:Logo}
\end{subfigure}
\hfill
\begin{subfigure}{0.45\textwidth}
\includegraphics[width=\textwidth]{Logo}
\caption{Caption for Image 2}
\label{fig:Logo}
\end{subfigure}
\caption{Main Caption for Both Images}
\label{fig:main}
\end{figure}
Page 18
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
\end{document}
1.4 Results & Analysis
A Develop a LaTeX script to include the side-by-side graphics/pictures/figures in the document by using the
subgraph concept has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 19
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create a document that consists of the following two mathematical
equations
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,nccmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\begin{document}
\begin{center}
\Large{\textbf{Equations in LaTeX}}
\end{center}
\section*{Equation 1}
\begin{fleqn}
\[
x = \frac{-b \pm \sqrt{b^{2}-4ac}}{2a}
\]
Page 20
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
\[
= \frac{-2 \pm \sqrt{2^{2}-4*(1)*(-8)}}{2*1}
\]
\[
= \frac{-2 \pm \sqrt{4+32}}{2}
\]
\end{fleqn}
\section*{Equation 2}
\begin{fleqn}
\[
\varphi^{\lambda}_{\sigma}A_{t} = \sum_{\pi \in C_{t}} sgn(\pi)\varphi^{\lambda}_{\sigma}\varphi^{\lambda}_{\
pi}
\]
\[
= \sum_{\tau \in C_{\sigma t}} sgn(\sigma^{- 1}\tau\sigma)\varphi^{\lambda}_{\
sigma}\varphi^{\lambda}_{\sigma^{-1}\tau\sigma}
\]
\[
= A_{\sigma t} \varphi^{\lambda}_{\sigma}
\]
\end{fleqn}
\end{document}
Page 21
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
A LaTeX script to create a document that consists of the following two mathematical equations has been
developed.
1.6 Remarks
FACULTY SIGNATURE
Page 22
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to demonstrate the presentation of Numbered theorems, definitions,
corollaries,and lemmas in the document
\documentclass{article}
\usepackage[english]{babel}
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\begin{document}
\section{Numbered theorems, definitions, corollaries and lemmas}
Theorems can easily be defined:
\begin{theorem}
Let \(f\) be a function whose derivative exists in every point, then \(f\) is
a continuous function.
\end{theorem}
Page 23
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
\begin{theorem}[Pythagorean theorem]
\label{pythagorean}
This is a theorem about right triangles and can be summarised in the next
equation
\[ x^2 + y^2 = z^2 \]
\end{theorem}
\begin{corollary}
There's no right rectangle whose sides measure 3cm, 4cm, and 6cm.
\end{corollary}
\begin{lemma}
Given two line segments whose lengths are \(a\) and \(b\) respectively there is a
real number \(r\) such that \(b=ra\).
\end{lemma}
\end{definition}
\end{document}
Page 24
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
A LaTeX script to demonstrate the presentation of Numbered theorems, definitions, corollaries,and lemmas in
the document has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 25
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create a document that consists of two paragraphs with a minimum
of 10citations in it and display the reference in the section
First, create a file named references.bib in the same directory as your main LaTeX document. This file
will contain your bibliography entries in BibTeX format. Here's an example references.bib file with
some entries
create a LaTeX document (document.tex) and include your paragraphs with citations
\documentclass{article}, \usepackage{cite}, \usepackage{lipsum}: These commands set up the
document class, load the cite package for managing citations, and load lipsum for generating
placeholder text.
\begin{document} and \end{document}: Enclose the document content.
\title, \author, \date, \maketitle: Sets the title and author information for the document and generates the
title using \maketitle.
\section{Introduction}: Starts a new section for your content.
\lipsum[1] and \lipsum[2]: Generates placeholder paragraphs (\lipsum commands) for demonstration
purposes. Replace these with your actual content.
\section{References}: Creates a section heading for the references.
\bibliographystyle{plain}: Specifies the bibliography style (here, plain style). Choose a style that suits
your requirements.
\bibliography{references}: Includes the bibliography file references.bib, which contains your references
in BibTeX format. The filename is specified without the .bib extension.
Reference.bib:
@ARTICLE{oilindustry,
author={Ngoenriang, Napat and Turner, Stephen John and Niyato, Dusit and Supittayapornpong, Sucha},
journal={IEEE Internet of Things Journal},
title={Joint UAV-Placement and Data Delivery in Aerial Inspection under Uncertainties}, year={2021},
volume={},
number={},
pages={1-1},
doi={10.1109/JIOT.2021.3113713}}
@ARTICLE{uavservice,
author={Qu, Yuben and Dai, Haipeng and Wang, Haichao and Dong, Chao and Wu, Fan and Guo, Song and
Wu, Qihui}, journal={IEEE Journal on Selected Areas in Communications},
title={Service Provisioning for UAV-Enabled Mobile Edge Computing},
year={2021},
volume={39},
number={11},
pages={3287-3305},
Page 26
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
doi={10.1109/JSAC.2021.3088660}
}
@misc{cplex,
author = {IBM},
title = {IBM CPLEX Optimizer},
howpublished = "\url{https://www.ibm.com/in-en/analytics/cplex-optimizer}",
year = {2021},
note = "[Online; accessed 3-Feb-2022]"
}
@misc{rsome,
author = {NSU},
title = {RSOME},
howpublished = "\url{https://xiongpengnus.github.io/rsome/}",
year = {2021},
note = "[Online; accessed 3-Feb-2022]"
}
@INPROCEEDINGS{hardtoshare,
author={He, Ting and Khamfroush, Hana and Wang, Shiqiang and La Porta, Tom and Stein, Sebastian},
booktitle={IEEE 38th International Conference on Distributed Computing Systems (ICDCS)},
title={It's Hard to Share: Joint Service Placement and Request Scheduling in Edge Clouds with Sharable and
Non-Sharable Resources}, year={2018},
volume={},
number={},
pages={365-375},
doi={10.1109/ICDCS.2018.00044}
}
@INPROCEEDINGS{multicell,
author={Poularakis, Konstantinos and Llorca, Jaime and Tulino, Antonia M. and Taylor, Ian and Tassiulas,
Leandros},
booktitle={IEEE Conference on Computer Communications (INFOCOM)},
title={Joint Service Placement and Request Routing in Multi-cell Mobile Edge Computing Networks},
year={2019},
volume={},
number={},
pages={10-18},
doi={10.1109/INFOCOM.2019.8737385}
}
@ARTICLE{bandwidth,
author={Poularakis, Konstantinos and Llorca, Jaime and Tulino, Antonia M. and Taylor, Ian},
journal={IEEE/ACM Transactions on Networking},
title={Service Placement and Request Routing in MEC Networks With Storage, Computation, and
Communication Constraints},
year={2020},
Page 27
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
volume={28},
number={3},
pages={1047-1060},
doi={10.1109/TNET.2020.2980175}
}
@INPROCEEDINGS{dataintensive,
author={Farhadi, Vajiheh and Mehmeti, Fidan and He, Ting and Porta, Tom La and Khamfroush, Hana and
Wang, Shiqiang and Chan, Kevin S},
booktitle={IEEE Conference on Computer Communications(INFOCOM)},
title={Service Placement and Request Scheduling for Data-intensive Applications in Edge Clouds},
year={2019},
volume={},
number={},
pages={1279-1287},
doi={10.1109/INFOCOM.2019.8737368}
}
@ARTICLE{resource,
author={Ahmed, Shakil and Chowdhury, MostafaZaman and Sabuj, SaifurRahman and Alam, MdImtiajul and
Jang, Yeong Min}, journal={IEEE Access}, title={Energy-Efficient UAV Relaying Robust Resource
Allocation in Uncertain Adversarial Networks}, year={2021}, volume={9}, number={}, pages={59920-
59934}, doi={10.1109/ACCESS.2021.3073015}}
@ARTICLE{resource2, author={Yang, Zhaohui and Pan, Cunhua and Wang, Kezhi and Shikh-Bahaei,
Mohammad}, journal={IEEE Transactions on Wireless Communications}, title={Energy Efficient Resource
Allocation in UAV-Enabled Mobile Edge Computing Networks}, year={2019}, volume={18}, number={9},
pages={4576-4589}, doi={10.1109/TWC.2019.2927313}}
@INPROCEEDINGS{offload2, author={Zhou, Fuhui and Wu, Yongpeng and Sun, Haijian and Chu, Zheng},
booktitle={2018 IEEE International Conference on Communications (ICC)}, title={UAV-Enabled Mobile
Edge Computing: Offloading Optimization and Trajectory Design}, year={2018}, volume={}, number={},
pages={1-6}, doi={10.1109/ICC.2018.8422277}}
@ARTICLE{trajectory, author={Wang, Kai and Zhang, Xiao and Duan, Lingjie and Tie, Jun},
journal={IEEE Transactions on Mobile Computing}, title={Multi-UAV Cooperative Trajectory for Servicing
Dynamic Demands and Charging Battery}, year={2021}, volume={}, number={}, pages={1-1},
doi={10.1109/TMC.2021.3110299}}
@article{edgeuncertainty,
author = {Xu, Xiaolong and Cao, Hao and Geng, Qingfan and Liu, Xihua and Dai, Fei and Wang, Chuanjian},
Page 28
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
title = {Dynamic resource provisioning for workflow scheduling under uncertainty in edge computing
environment},
journal = {Concurrency and Computation: Practice and Experience},
volume = {n/a},
number = {n/a},
pages = {e5674},
keywords = {edge computing, SDN, uncertainty, workflow scheduling},
doi = {https://doi.org/10.1002/cpe.5674}
}
@ARTICLE{edgeuav, author={Qu, Yuben and Dai, Haipeng and Wang, Haichao and Dong, Chao and Wu,
Fan and Guo, Song and Wu, Qihui}, journal={IEEE Journal on Selected Areas in Communications},
title={Service Provisioning for UAV-Enabled Mobile Edge Computing}, year={2021}, volume={39},
number={11}, pages={3287-3305}, doi={10.1109/JSAC.2021.3088660}}
@inproceedings{mobility,
title={UAV 3D Mobility Model Oriented to Dynamic and Uncertain Environment},
author={Na Wang and Nan Di and Fei Dai and Fangxin Liu},
booktitle={ICA3PP},
year={2018}
}
@ARTICLE{robust, author={Li, Bo and He, Qiang and Cui, Guangming and Xia, Xiaoyu and Chen, Feifei
and Jin, Hai and Yang, Yun}, journal={IEEE Transactions on Services Computing}, title={READ:
Robustness-oriented Edge Application Deployment in Edge Computing Environment}, year={2020},
volume={}, number={}, pages={1-1}, doi={10.1109/TSC.2020.3015316}}
Main.tex:
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\begin{document}
\begin{center}
\Large{\textbf{References Demo}}
\end{center}
\section{Introduction}
%\section{Related Work}
For disaster management, uncertainty handling is the main key problem. But, in Joint Service deployment and
Requests Allocation~(JSR) domain, research work mainly uses the approaches such as deterministic
optimization \cite{hardtoshare, multicell, bandwidth}, Lyapunov optimization \cite{dataintensive}, stochastic
optimization, replication of services to achieve high reliability, and forecasting of user requests using machine
learning without considering uncertainty. In deterministic optimization \cite{edgeuav}, request demand is
known before the run. However, in online optimization, time is divided into slots and performs optimization per
slot basis, which does not consider uncertain demand. Even if we used any probability distribution to model
demand, it does not provide the correct model/pattern to define the uncertain data \cite{edgeuncertainty}. Using
a replication approach to achieve high availability also incurs extra resource cost \cite{robust}. Using the
forecasting method also, we can not predict the impact of uncertain events on the requests, which may lead to
under-provisioning/over-provisioning resources to process the required tasks \cite{rsome}.
Page 29
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
\bibliographystyle{IEEEtran}
\bibliography{ref}
\end{document}
Page 30
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
A LaTeX script to create a document that consists of two paragraphs with a minimum of 10citations in it
and display the reference in the section has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 31
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to design a simple tree diagram or hierarchical structure in the document
withappropriate labels using the Tikz library
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{center}
\Large{\textbf{Hierarchy of Linux distributions}}
\end{center}
\begin{figure}[h]
\centering
\begin{tikzpicture} [every node/.style = {shape=rectangle, rounded corners, draw, align=center}]
\path [draw,thick,-]
node (root)[red] {GNU/Linux}
[sibling distance=45mm, level distance=25mm]
child {node [cyan] {Debian}
[sibling distance=25mm, level distance=25mm]
child { node [cyan] {Ubuntu} }
child { node [cyan] {Linux Mint} }
% child { node {Elementary} }
Page 32
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
}
child {node [magenta] {RedHat}
[sibling distance=25mm, level distance=25mm]
child { node [magenta] {Fedora} }
child { node [magenta] {OpenSuse} }
}
child {node [blue] {Arch}
[sibling distance=25mm, level distance=25mm]
child { node [blue]{Manjaro} }
child { node [blue]{EndeavourOS} }
};
\end{tikzpicture}
\caption{GNU/Linux Operating System Family}
\end{figure}
\end{document}
A LaTeX script to design a simple tree diagram or hierarchical structure in the document withappropriate
labels using the Tikz library has been developed
1.6 Remarks
FACULTY SIGNATURE
Page 33
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to present an algorithm in the document using algorithm /algorithmic/
algorithm2e library
\documentclass{article}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
\begin{document}
\section{Example Algorithm}
\begin{algorithm}[H]
\SetAlgoLined
\KwData{$i \gets 10$}
\KwResult{Updated value of $i$}
\eIf{$i \geq 5$}{
$i \gets i - 1$\;
}{
\If{$i \leq 3$}{
$i \gets i + 2$\;
}
}
\caption{Example Algorithm}
\end{algorithm}
\end{document}
Page 34
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
A LaTeX script to present an algorithm in the document using algorithm/algorithmic/algorithm2e library has been
developed
1.6 Remarks
FACULTY SIGNATURE
Page 35
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
Experiments
1.0 Experiment
TITLE: Develop a LaTeX script to create a simple report and article by using suitable commands and formats of
user choice.
\documentclass{report}
\usepackage[utf8]{inputenc} % To handle Unicode characters
\usepackage{amsmath} % Enhanced math environment
\usepackage{graphicx} % Enhanced support for graphics
\usepackage{hyperref} % For hyperlinks within the document
\title{Simple Report}
\author{Your Name}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
This is a brief abstract of the report. It provides a concise summary of the report's content.
\end{abstract}
Page 36
Lab Manual / Semester -
Computer Science and Engineering Department, Hirasugar Institute of Technology
\tableofcontents
\chapter{Introduction}
This is the introduction to the report. Here you provide an overview of the report's topic.
\chapter{Literature Review}
In this chapter, you review the existing literature related to your report's topic.
\chapter{Methodology}
This chapter describes the methods and procedures used in the research or study.
\chapter{Results}
Here, you present the results of your research or study.
\chapter{Discussion}
In this chapter, you discuss the implications of your results and how they relate to the literature review.
\chapter{Conclusion}
This is the conclusion of the report. Summarize the main findings and suggest possible future research
directions.
\begin{thebibliography}{9}
\bibitem{latex}
Leslie Lamport.
\textit{LaTeX: A Document Preparation System}.
Addison-Wesley, 1994.
\bibitem{example}
Author.
\textit{Example Book}.
Publisher, Year.
\end{thebibliography}
\end{document}
Page 37
Simple Report
Your Name
July 1, 2024
Abstract
1 Introduction 2
2 Literature Review 3
3 Methodology 4
4 5
5 Discussion 6
6 7
1
Chapter 1
Introduction
This is the introduction to the report. Here you provide an overview of the
report’s topic.
2
Chapter 2
Literature Review
In this chapter, you review the existing literature related to your report’s topic.
3
Chapter 3
Methodology
This chapter describes the methods and procedures used in the research or
study.
4
Chapter 4
Results
5
Chapter 5
Discussion
In this chapter, you discuss the implications of your results and how they relate
to the literature review.
6
Chapter 6
Conclusion
This is the conclusion of the report. Summarize the main findings and suggest
possible future research directions.
7
Bibliography
8
Lab Manual / Semester - 4th Computer Science and Engineering Department, Hirasugar Instit
1.6 Remarks
FACULTY SIGNATURE