Introduction to LaTeX NetWorkShop by Daniel Göhl.

Slides:



Advertisements
Similar presentations
1 Consumer Green Button Storyboard Smart Meter Texas Release 4.0 Requirements February 20, 2012 DRAFT.
Advertisements

Formal Representation and Harmonization of Open Government Data with Semantic Web Technologies Markus Ungersböck.
Author | Service-centric Networking | Place | Time
EVENT TITLE Month Date, Year | City, State Firstname M. Lastname
Full Scale PowerPoint Poster Template: 36" by 48" Layout
Kapi‘olani Community College, Honolulu, Hawai‘i
½ Scale PowerPoint Poster Template: 42" by 68" Layout
Company Name Company Name & address
Title Here.
Title of Talk Presenter Title Date.
Title of Talk Presenter Title Date.
Put your title here Here is one of your subtitles
©iStock.com/peterhowell
Put your title here Here is one of your subtitles
PowerPoint Backgrounds, PowerPoint Templates, Designs, PowerPoint Service, PowerPoint Agency, PowerPoint Agentur, PowerPoint Presentation.
Your Sub-Title goes here
Presenter name Presentation title - Excepteur sint obcaecat cupiditat non.
2017 公司/企业简介PPT模板 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
COMPANY NAME  PRIVACY & DATA SECURITY NEWSLETTER  FEBRUARY 2013
Novel Official PowerPoint Slide Style
A PowerPoint template for your book 8.5” X 11” Portrait format
PowerPoint Backgrounds, PowerPoint Templates, Designs, PowerPoint Service, PowerPoint Agency, PowerPoint Agentur, PowerPoint Presentation.
Novel Official PowerPoint Slide Style
Title Goes Here subtitle [Date Here], 2018.
Your Sub-Title goes here
Your Sub-Title goes here
EVENT TITLE Month Date, Year | City, State Company Name, Inc.
PowerPoint Backgrounds, PowerPoint Templates, Designs, PowerPoint Service, PowerPoint Agency, PowerPoint Agentur, PowerPoint Presentation.
Title Here subtitle [Date Here], 2018.
½ Scale PowerPoint 2007 Poster Template: 42" by 68" Layout
Full Scale PowerPoint Poster Template: 36" by 56" Layout
Title (Calibri bold 96 pt)
Presenter name Presentation title - Excepteur sint obcaecat cupiditat non.
Title (Calibri bold 96 pt)
Your Sub-Title goes here
Your Sub-Title goes here
Your Sub-Title goes here
Your Sub-Title goes here
Young Researchers Seminar 2019
Your Sub-Title goes here
2017 公司/企业简介PPT模板 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
Presenter name Presentation title - Excepteur sint obcaecat cupiditat non.
Your Sub-Title goes here
Your Sub-Title goes here
THE HIPAA HUB Text Message Use Among Providers Raises HIPAA Concerns
Bill G Media Full Scale Poster Template©: 38" by 44" Portrait
Your Sub-Title goes here
Full Scale PowerPoint Poster Template: 42" by 48" Layout
Your Sub-Title goes here
Full Scale PowerPoint Poster Template: 42" by 56" Layout
Title of Presentation Optional Subtitle Presenter 1.
Title Subtitle Your logo
Your Sub-Title goes here
Your Sub-Title goes here
Application for membership in the Cologne Game Incubator-Programm
Your Sub-Title goes here
Company Name Company Name & address
TITEL OF YOUR POSTER your name affiliation Birds in a changing world
Your Sub-Title goes here
Your Sub-Title goes here
Your Sub-Title goes here
Presenter name Presentation title - Excepteur sint obcaecat cupiditat non.
Projekttitel lang XXXXXXXXXXXXXXXXXXX
Welcome the University of …
This is the Great Title of Your Poster
This is the Great Title of Your Poster
Country – Titel of the presentation
Page de chapitre Sous-titre Modèles de graphiques.
Country – Titel of the presentation
Presentation transcript:

Introduction to LaTeX NetWorkShop by Daniel Göhl

Basics Required components \documentclass – tells LaTeX type of document \begin{document} \end{document} – in between this lines the text is written {} – required information article – document type [] – optional information 12pt – text size, a4paper – paper format \documentclass[12pt,a4paper]{article} \begin{document} Hello World \end{document}

Compile using TeXnicCenter Push here to compile the document Choose LaTeX => PDF

What happens? A program called pdflatex takes the document, interprets the source code and generates a PDF file. If references are used then pdflatex creates files to resolves these references

Packages Deliver more functions Packages – apacite – references in APA style – amsmath – Mathematical package – German german – old orthography rules ngerman – new orthography rules – Dutch dutch – dutch language support \usepackage{package}

Common commands \tableofcontents – creates the table of contents (TOC) \section and \subsection – Creates sections and subsections – for Index – Using a * behind section disables numbering for this section and section will not be shown in TOC – {} – Section heading – [] – Section heading in TOC \textbf{...} – bold text \textsl{...} - italics

Math (amsmath package) Environments \begin{equation} a = b \end{equation} \begin{equation} a = b \end{equation} \begin{equation*} a = b \end{equation*} \begin{equation*} a = b \end{equation*} \begin{align} a &= b \\ b &= c \\ c &= d \notag \end{align} \begin{align} a &= b \\ b &= c \\ c &= d \notag \end{align} The factor $ \rho $ describes the discount rate

Math (amsmath package) Operators &2^{2} = 4 \\ &2_{a} \\ &\sum_{i=0}^{n} i \\ &\int_{0}^{\infty} a + 10 \\ &\lim_{n \rightarrow \infty} \frac{1}{x} &2^{2} = 4 \\ &2_{a} \\ &\sum_{i=0}^{n} i \\ &\int_{0}^{\infty} a + 10 \\ &\lim_{n \rightarrow \infty} \frac{1}{x}

References math - input Taken from last years Productivity assignment. In this task the following equation, \begin{equation} U = \int^{\infty}_0 U(t)e^{-\rho t} \,dt \label{u} \end{equation} was given. It models the lifetime utility $U$. From this utility function one can see that inhabitants of our model economy prefer current consumption over future consumption. The factor $\rho$ describes the discount rate which describes people's time preference. For large values of $\rho$ the term $e^{-\rho t}$ approaches zero, thus the lifetime utility will become also zero. For this reason people prefer to consume now in order to maximze their utility. \\ In equation \ref{u} it is assumed that the lifetime is infinit. This assumption is sounds rather exceptional, but by taking a close look at equation \ref{u} one can see its point. Taken from last years Productivity assignment. In this task the following equation, \begin{equation} U = \int^{\infty}_0 U(t)e^{-\rho t} \,dt \label{u} \end{equation} was given. It models the lifetime utility $U$. From this utility function one can see that inhabitants of our model economy prefer current consumption over future consumption. The factor $\rho$ describes the discount rate which describes people's time preference. For large values of $\rho$ the term $e^{-\rho t}$ approaches zero, thus the lifetime utility will become also zero. For this reason people prefer to consume now in order to maximze their utility. \\ In equation \ref{u} it is assumed that the lifetime is infinit. This assumption is sounds rather exceptional, but by taking a close look at equation \ref{u} one can see its point.

References math - output

Getting references Use EBSCO & co to download BibTex references Import to author = {Carr, Peter and Linetsky, Vadim}, title = {A Jump to Default Extended CEV Model: An Application of Bessel Processes}, journal = {Finance and Stochastics}, year = {2006}, volume = {10}, pages = {p }, number = {3}, issn = { }, keywords = {Asset Pricing; Trading volume; Bond Interest Rates G120}, url = { author = {Carr, Peter and Linetsky, Vadim}, title = {A Jump to Default Extended CEV Model: An Application of Bessel Processes}, journal = {Finance and Stochastics}, year = {2006}, volume = {10}, pages = {p }, number = {3}, issn = { }, keywords = {Asset Pricing; Trading volume; Bond Interest Rates G120}, url = { }

JabRef – create new DB

JabRef – add Article

JabRef

JabRef – include Bibtex

References author - input Use JabRef to define your reference DB, be sure to have the file in the same directory as your source. \usepackage[longnamesfirst]{natbib} \bibliographystyle{apalike} \begin{document} Bibliography Example \\ Lorem ipsum dolor sit \citet{Carr} amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna \citep{Carr} aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea \bibliography{example} \usepackage[longnamesfirst]{natbib} \bibliographystyle{apalike} \begin{document} Bibliography Example \\ Lorem ipsum dolor sit \citet{Carr} amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna \citep{Carr} aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea \bibliography{example}

References author - output \citet \citep

Tips and tricks \\ - linebreak \pagebreak – self explaining Include pictures – Create pngs Separate the file – \input{filename} – includes filename.tex \begin{figure} \centering \includegraphics[scale=0.5]{I:/path/to/pic/p.png} \label{fig:consumption} \end{figure} \begin{figure} \centering \includegraphics[scale=0.5]{I:/path/to/pic/p.png} \label{fig:consumption} \end{figure}

Recreate these math formulas with references to the authors Romer 1990 “Endogenous Technological change” Mankiw, Romer, Weil 1992 “A Contribution to the Empirics of Economic Growth”

Documentation Amsmath – ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf LaTeX English – LaTeX Deutsch – ftp://ftp.fernuni-hagen.de/pub/pdf/urz- broschueren/broschueren/a026.pdf ftp://ftp.fernuni-hagen.de/pub/pdf/urz- broschueren/broschueren/a026.pdf – ftp://ftp.fernuni-hagen.de/pub/pdf/urz- broschueren/broschueren/a pdf ftp://ftp.fernuni-hagen.de/pub/pdf/urz- broschueren/broschueren/a pdf

Thank you for your attention! Visit