Lecture1-5_LatexMatlab
Lecture1-5_LatexMatlab
Research Methodologies
March 29th, 2021
Dr. Kamran Usman
What is LaTeX?
• LaTeX is pronounced “lay-tech” or “lah-tech,”
not “la-teks.”
• LaTeX is a document preparation system for
high-quality typesetting.
• LaTeX is most often used to produce technical
or scientific documents, but it can be used for
almost any form of publishing.
Why Use LaTeX?
• Designed by academics and easily accommodates academic
use.
\label{fg:lasertest} %Label name for the figure, use this to reference it later.
\end{figure}
Including Equations
• Including equations
\begin{align}
\end{align}
TABLES
• The code looks complicated
\centering
\begin{tabular}{||l|cr|}
\hline
\hline
\hline
1 & 3 & 5 \\
2 & 4 & 6 \\
\hline
\end{tabular}
\caption{Table Caption}
\label{tab:table_label}
\end{table}
In the Back Matter
• Don’t forget bibliography{filename}
– Make sure that the bibtex file is saved in the same
location where the main tex file is saved.
• Don’t forget end{document}
Common Mistakes
• Often times, you make a mistake when
creating a document. You will notice the log
file reporting a problem.
• There are some common mistakes:
– “end” doesn’t follow “begin”
– $ doesn’t follow $
– Using commands from packages lot defined in the
preamble
– Don’t forget “\”s.
Other Resources
• Books
– Leslie Lampert. 1994. LaTeX: A Document Preparation
System.
– Helmut Kopta and Patrick W. Daly. 2004.Guide to
LaTex
– Frank Mittelbach et al. 2004. The LaTeX Companion
• Online Guides
– http://en.wikibooks.org/wiki/LaTeX
– CV and dissertation templates are available on line
Plotting in Matlab
Research Methodologies
March 15th, 2021
Dr. Kamran Usman
Basic Overview
Legends
Subplots
Subplots
Loading data files