0% found this document useful (0 votes)
40 views31 pages

CSE499 L3 Research Writing Latex

Uploaded by

Faiza
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)
40 views31 pages

CSE499 L3 Research Writing Latex

Uploaded by

Faiza
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
You are on page 1/ 31

Introduction to Research Writing

How to write Research Paper using Latex

CSE 499: Senior Project Design


Summer 2024
Mohammad A Qayum, PhD
Department of Electrical and Computer Engineering
North South University
How to write Research Paper?

• Every conference or journal has specific formats


o MS word or LATEX templates
• Go to the conference or journal website for templates
• IEEE Conference:
https://www.ieee.org/conferences/publishing/templates.ht
ml
• IEEE overleaf template
https://www.overleaf.com/latex/templates/ieee-conferenc
e-template/grfzhhncsfqn
• Start from the original template and then edit your paper
according to the template
• Failure to format your paper according to the template
may result in your paper not being published
What is Latex?

● Essentially a Markup Language like


HTML or XML
● An extension to TeX system
● TeX written by Donald Knuth in 70´s
Latex vs. Word Processors
● Suitable for technical writing
● Easy to include math formulas
● Source file format is not bounded to a
particular OS or platform
● Latex implementations exists for all
platforms (Windows, Linux, MacOS)
● Latex is free
Latex vs. Word Processors
● De facto standard for scientific publishing
● Very few bugs
● Good for large documents
● Has lots of programmability
● Not very easy to learn
Creating Latex Files

Your Bibtex
Your Latex File
File
Latex compile x1

Bibtex compile x2

Latex compile x3

Dvips compile x4

Your Postscript File


Latex File Structure

● Document Class
Predefined Formats (article, report, book, research
paper..).
● Packages used
Added Functionality (graphics, reference style,...).
● Main Body
Text and Bibliography References.
The Basics

● Document Class
\documentclass[options]{class}
options = a4paper, 11pt, 12pt, 10pt, twocolumn,
landscape,...
class = article, report, book,...

● Packages
\usepackage{package name}
epsfig = insert PS pictures into the
document
fancyhdr = easy definition of footer and
header
Body of Text

● Start with \begin{document}


● End with \end{document}
● Typesetting Text
– \\ or \newline and \newpage
– Quotations
– Bold \textbf{……………} or \bf
– Italics \emph{…………} or \textit{………} or \it
– Underline \underline{…………} or \ul
Body of Text cont…
● Including Multiple Files
– \input{filename1.tex}
– \input{filename2.tex}
\input{filename2.tex}
Format

● Sections
– \section{…} = 1. Latex is Great
– \subsection{…} = 1.1 Why Latex is Great
– \subsubsection{…} = 1.1.1 Reason One
– \appendix - changes numbering scheme
– \chapter{…} - To be used with book and report
document classes
● Titles, Authors and others
– \title{…} \author{…}
– \footnote{…}
Format Contd.
● \maketitle - Display Title and Author
● \tableofcontents - generates TOC
● \listoftables - generates LOT
● \listoffigures - generates LOF
● Labels
– \label{marker} - Marker in document.
– \pageref{marker} - Displays page no. of marker.
– \ref{marker} - Displays section location of marker.
● Itemise
– Use either enumerate, itemize or description.
– see handout for example.
Lists
● Source
– \begin{itemize}
– \item Apple
– \item Orange
– \end{itemize}
● Result
– Apple
– Orange
Lists
● Enumerate instead of itemize gives
a numbered list
● Lists can be recursive
Environment
● Something between
– \begin{name}
– \end{name}
● Many command, for example \bf affect
the text until the end of environment
● Can be recursive
● Examples:
– itemize, center, abstract
Group
● Text between { and }
● Many commands work until the end of
the group
● Code
– put {one word \bf in bold} here
● Result
– put one word in bold here
Alignment
● Environments center, flushleft,
flushright
● Example
– \begin{flushright}
– Right aligned
– \end{flushright}
● Result
Right aligned
Font size
\tiny \scriptsize \footnotesize

\small \normalsize
\large \Large
\LARGE \huge
\Huge
Example of Latex document
\documentclass{article}
\title{Simple Example}
\author{Andrei Gurtov}
\date{March 2000}
\begin{document}
\maketitle
Hello world!
\end{document}
Tabular

● Columns Two Columns


– \begin{tabular}{|…|…|} l = automatically adjust
size, left justify
– \end{tabular} r = automatically adjust
size, right justify
● Rows p = set size
e.g p{4.7cm}
– & - Split text into columns c = centre text
– \\ - End a row
– \hline - Draw line under row
– e.g. 123123 & 34.00\\ \hline
Example of table
\begin{tabular}{|l|r|c} \hline
Date & Price & Size \\ \hline
Yesterday & 5 & big \\ \hline
Today & 3 & small \\ \hline
\end{tabular}
Floating Bodies

● Floating bodies can stop splitting of tables and


images over pages.

\begin{figure}[options]
\begin{table}[options]
Options (recommendations)
h = place table here
t = place at top of page
b = place at bottom of page

● They will now appear in the LOF and LOT.


Example of floating figure
● \begin{figure}[ht]
● \centering\epsfig{file=uni.ps,
width=5cm}
● \caption{University of Helsinki}
● \label{uni}
Figure~\ref{uni}
● \end{figure} shows...
Images

● Use epsfig package


● \usepackage{epsfig}
● Including images in main body
● \epsfig{file=filename.eps, width=10cm,
height=9cm, angle=90}
● Creating EPS - Use xv and/or xfig.
● MS Power Point, save as GIF and convert to
EPS.
Bibliography by hand
\begin{thebibliography}{}
\bibitem[Come95]{Come95} Comer,
D. E., {\it Internetworking with TCP/IP:
Principles, Protocols and Architecture},
volume 1, 3rd edition. Prentice-Hall,
1995.
\end{thebibliography}
Bibliography using Bibtex
● Bibliography information is stored in a
*.bib file, in Bibtex format.
● Include chicago package
– \usepackage{chicago}
● Set referencing style
– \bibliographystyle{chicago}
● Create reference section by
– \bibliography{bibfile with no extension}
Bibliography using Bibtex
@book{Come95,
author=“D. E. Comer”,
title={Internetworking with TCP/IP:
Principles, Protocols and Architecture},
publisher=“Prentice-Hall”,
year=1995,
volume=1,
edition=“Third”}
Bibliography contd.

● Citing references in text


– \cite{cuc98} = (Cuce 1998)
– \citeN{cru98} = Crud (1998)
– \shortcite{tom98} = (Tom, et. al. 1998)
● Creating Bibtex Files
– Use Emacs with extensions.
– or copy Bibtex entries from bibliography
database.
Some Math

\begin{center}
{\large
$$ y=\frac{a^3+2c_{x}}{1+\sqrt{b_{x}}} $$
\\
\vspace{0.2in}
$$
Q=\sum_{i=1}^{j}\int_{\mu}^{\infty}f(x_
{j})dx $$ \\
\vspace{0.2in}
$$ \Psi = \oint_{-
\infty}^{\infty}f_{xy}({\frac{\partial
Qx}{\partial Qy}})^{\Im_{\pi}^ \prime} $$ \\
}
Tools
PC based Latex:
– TexMaker, Lyx, TexStudio, TexWorks

Cloud based Latex:


– Overleaf, cloudlatex, authorea

A member can create a latex paper and


share with others with edit permit using
overleaf
Conclusions

● Mathematical Formulae are easy.


● Avoid GUI latex creators. (Lyx, Klyx,
Scientific Word).
● Use the bibtex search engine:
http://www.cs.monsh.edu.au/mirrors/bibliography

● Look at the compiled pdf file for


formatting and correction frequently in
overleaf

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy