Presentation is loading. Please wait.

Presentation is loading. Please wait.

Vereniging voor Technische Physica workshop 2016.

Similar presentations


Presentation on theme: "Vereniging voor Technische Physica workshop 2016."— Presentation transcript:

1 Vereniging voor Technische Physica workshop 2016

2 WeCie Altijd up, altijd geil Typesetting with A workshop on the academic norm Wouter Hordijk | MSc physics student w.hordijk@student.tudelft.nl

3 Contents Introduction to LaTeX ●What is it? ●Why use it? Usage of LaTeX ●Obtaining LaTeX ●Code structure ●Example code Practical assignment

4 What is... and why would you want to use it? LaTeX looks good to people who don't know what it is, and it looks impressive to people who do know what it is. -- Isaac Newton --

5 ●Document markup language o Strong parallels with the principles of HTML and CSS ●Actively being developed since 1978 ●Widely used in academics, especially in sciences ●Steep learning curve A language rather than a program

6 What you see is what you get Markup code controls the output LaTeX is not a word processor

7 ●Professional looking document o Excellent handling of maths o Uniformity in style ●Focus on content ●Scalable ●Portable ●Free* ●Exceptional layout oWhere there's a will... Why use LaTeX? * Free ≠ easy to pirate: we actually mean legally free of charge here

8 Images provided by Eyolf Østrem and Dario Taraborelli Example: ligatures

9 Example: mathematics

10 Example: advanced mathematics

11 Example: inline mathematics

12 Overview and structure for large documents titlepage.tex chapter1.tex chapter2.texchapter3.texchapter4.texreferences.bib thesis.tex thesis.pdf \input Scalable and portable

13 How to get... and how to use it

14 Installation on MS Windows ●LaTeX distribution (includes compilers, converters and packages) http://miktex.org/ ●LaTeX editor (example) http://www.texstudio.org/ Obtaining LaTeX

15 Working with LaTeX

16 1.Preamble ●Choosing a document class ●Defining the general markup ●Defining language ●Packages for fancy stuff 2. Content ●Chapter / section structure 3. BibTeX ●References Code structure of a LaTeX document

17 Preamble

18 ●Choosing a document class defining the general markup style ●Packages for fancy stuff Example for an A4 sized report: \documentclass[a4paper]{report} \usepackage{amsmath,graphicx} \usepackage[dutch]{babel} \begin{document} Preamble

19

20 Content

21 \chapter{Chapter}... \section{Section}... \subsection{Subsection}... \section{Another section}... \subsection{Subsection}... Content

22 CommandLevelComment \part{part} Not in letters \chapter{chapter} 0Only books and reports \section{section} 1Not in letters \subsection{subsection} 2Not in letters \subsubsection{subsubsection} 3Not in letters \paragraph{paragraph} 4Not in letters \subparagraph{subparagraph} 5Not in letters Available structure types

23 Bibliography

24 References go in a separate.bib file, indicated with @ signs: @article{Doe1932, author = {John Doe}, title = {Title of the Article}, year = {1932}, journal = {Nature}, volume = {14}, number = {3}, pages = {342--351} } References and citing

25 Use internet shortcuts to get the BibTeX format. References and citing

26 ●Numbering is taken care of automagically ●Only cited references will appear in the bibliography Handles are used to cite sources in the content itself:... as proven by Author \cite{label}. References and citing

27 Environments

28 > Mathematics and images are put in their respective environments General environment: \begin[options]{environment} content \label{env:handle} \end{environment} Environments for specific typesetting

29 Isolated mathematics: Inline environment delimited by $ signs:... so $\lambda_1 = \sqrt{\frac{5}{2}}$... then it is found that: \begin{equation} \hat{H}\ket{\psi} = E\ket{\psi} \end{equation} Mathematics environments

30 The code used to typeset mathematics is (partially) included on the handout Typesetting matrices requires a matrix environment to be put inside a mathematics environment: \begin{equation} A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \end{equation} Environments within environments

31 Environment for tables: \begin{table} \caption{Awesome table} \label{tab:awesome_table} \begin{center} \begin{tabular}{c|cc} 1 & 2 & 3 \\ \hline a & b & c \end{tabular} \end{center} \end{table} Non-mathematics environments

32 Environment for images: \begin{figure} \begin{center} \includegraphics[width=\textwidth]{1.png} \end{center} \caption{Awesome image} \label{fig:awesome_image} \end{figure} Non-mathematics environments

33 Practical assignment learning by doing

34 Ask someone who knows: ●Your neighbourYour neighbour ●GoogleGoogle ●WikibooksWikibooks ●Stack ExchangeStack Exchange ●The WeCie!WeCie In doubt? WeCie Altijd up, altijd geil

35 Goal: typeset the provided document Get started: ●Download this presentation at http://ecie.vvtp.tudelft.nl/pslatex/ http://ecie.vvtp.tudelft.nl/pslatex/ ●Install MikTeX and TeXstudio ●Download the assignment ●Extract the zip file to a new folder ●Open assignment.tex in TeXstudio ●Follow the instructions Good luck and have fun Assignment: learning by doing


Download ppt "Vereniging voor Technische Physica workshop 2016."

Similar presentations


Ads by Google