intro to latex - jacobs school of...
TRANSCRIPT
![Page 1: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/1.jpg)
Intro to LaTeXWinter 2018
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 2: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/2.jpg)
Who am I?
• David P. Larson
• PhD Candidate, MAE and CER
• Coimbra Research Group
• Affiliated with IDEA Student Center
• ENG 10 instructor: eng10.ucsd.edu ieng6.ucsd.edu/~dplarson/
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 3: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/3.jpg)
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 4: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/4.jpg)
LaTeX = LAH-tek
⌧✏� TeX
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 5: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/5.jpg)
Why use LaTeX?
• Open-source/free
• The standard for writing technical documents
• Separates content from formatting
• Many useful features (e.g. auto re-numbering of
citations, figures, etc.)
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 6: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/6.jpg)
SetupOpen up a LaTeX editor:
• TeX Live (local install)
• ShareLaTeX (website)
• Overleaf (website) (what we’ll use today)
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 7: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/7.jpg)
overleaf.com
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 8: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/8.jpg)
Workflow
1. Edit source file (.tex)
2. Typeset source file to produce .pdf
3. Repeat
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 9: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/9.jpg)
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 10: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/10.jpg)
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 11: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/11.jpg)
\documentclass{article}
\title{Intro to LaTeX}
\author{Bob Smith}
\begin{document}
\maketitle
\section{Introduction}
Words go here!
\end{document}
setup}
} content
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 12: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/12.jpg)
\documentclass{article}
\title{Intro to LaTeX}
\author{Bob Smith}
\begin{document}
\maketitle
\section{Introduction}
Words go here!
\end{document}
document style
title and author data
insert the title section
insert a section
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 13: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/13.jpg)
\documentclass{article}
\title{Intro to LaTeX}
\author{Bob Smith}
\begin{document}
\maketitle
\section{Introduction}
Words go here!
\end{document}
Intro to LaTeX
Bob Smith
January 29, 2016
1 Introduction
Words go here!
1
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 14: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/14.jpg)
Equations
\begin{equation}
f(x) = a x + b
\end{equation}
f(x) = ax+ b
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 15: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/15.jpg)
Greek symbols
\begin{equation}
y = \alpha x + \beta
\end{equation}
y = ↵x+ �
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 16: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/16.jpg)
Math symbols
\begin{equation}
z(x, y) = \int x^2 dx + e^y
\end{equation}
z(x, y) =
Zx
2dx+ e
y
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 17: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/17.jpg)
Labels and cross-referencing
\begin{equation}
L(x, y) = \int_a^b f(x) dx
\label{eq:integral}
\end{equation}
Equation \ref{eq:integral} shows...
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 18: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/18.jpg)
In-line equations
...where $\gamma = 0.1$ and $x_0 = 57.3$.
We assume there exists a linear mapping
$f : R^n \mapsto R$ such that...
...with $L(x, \lambda, \nu)$ defined as...
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 19: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/19.jpg)
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson
![Page 20: Intro to LaTeX - Jacobs School of Engineeringjacobsschool.ucsd.edu/idea/programs/docs/talks/Winter...\title{Intro to LaTeX} \author{Bob Smith} \begin{document} \maketitle \section{Introduction}](https://reader030.vdocuments.us/reader030/viewer/2022041118/5f2d9dc6939ef752b8304a6c/html5/thumbnails/20.jpg)
Questions?
© 2018 David P. Larson © 2018 David P. Larson ©
2018 David P. Larson © 2018 David P. Larson