Introduction to L A TEX beamer

Similar documents
Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math

L A TEX Overview. Jiayi Liu. January 31, Colorado School of Mines

Introduction Beamer Personalization Beamer by Examples Discussion. Beamer by Examples. Powerful Language for Typesetting and Presentation

An introduction to L A TEX for students

Introduction to LATEX

Introduction to Latex. A workshop by Dr. Ala Eshmawi

Using Beamer for Presentations

Introduction to LaTeX. Christoph Pickl

Beamer. Sandeep Kumar. July 23, Shaheed Bhagat Singh College (University of Delhi) Sandeep Kumar Beamer July 23, / 20

An Interactive Introduction to L A TEX

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010

Intro to LaTeX Workshop

Research Method and Report Writing Lecture 4: An Introduction to L A TEX

A Brief Introduction to LaTeX

Introduction to Beamer

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program

Mikkel Madsen

Basics. Options. Commands

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

عمادة البحث العلمي جامعة الملك سعود

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX

Latex Tutorial 1 L A TEX. 1.1 Text

Assessments for CS students:

An introduction. C.D. Emmery & M.M. van Zaanen. October 22, Tilburg University

Beamer By Example. Willie Dewit 1 Jessie May 2 David Griffiths 3. Conference on Tasteful Presentations, Subtitle: Frankfurt Theme

An Introduction to L A TEX

An Interactive Introduction to L A TEX. Part 3: Not Just Papers: Presentations & More. John Lees-Miller. writel A TEX

Exercises in LaTeX IDA on AAU

LAT E X week 2: Basics for Writing a Document

LaTeX A Tutorial. Mohsen Alimomeni, 2010

Dec. 27 th, 2010 University of Isfahan

Beamer By Example. Subtitle: Frankfurt Theme. Willie Dewit 1 Jessie May 2 David Griffiths 3. Conference on Tasteful Presentations, 2009

Learning L A TEX. Patrick Lam

Using L A TEX Tom Edgar

L A T E X Workshop. Bijulal D & Anu Thomas Industrial Engineering and Operations Research Indian Institute of Technology

L A T E X FOSSEE. Department of Aerospace Engineering IIT Bombay. FOSSEE (IIT Bombay) LAT E X 1 / 58

Become a L A TEX Guru

An Introduction to LATEX

This is the LYX Beamer Template

Basic L A TEX. what is LaTeX?

PRISM Introduction to L A TEX

Open Source for Academics: An Introduction to LaTeX and R

LaTeX. Information Literacy II EN(IL2) Course

Mikkel Madsen

Introduction to L A T E X Part III

Guide to using L A TEX

Introduction to L A TEX

Introduzione a LaTex. Fabrizio Messina

COMS 6100 Class note

Introduction to LaTeX. Paul Fodor Stony Brook University

Introduction to L A TEX

T E X and L A T E X Document preparation tools

Outline. A Sneak Peek

Helen Cameron. A Brief Overview of LATEX

An Interactive Introduction to L A TEX. Part 2: Structured Documents & More. Dr John D. Lees-Miller. writel A TEX.

Math 235: Introduction to LaTeX

Introduction to L A TEX

An Introduction to LATEX

1 Obtaining LyX and L A TEX

What is L A T E X? Dan Yasaki. June 4, 2018 REU at Elon University. UNC Greensboro. Dan Yasaki What is LAT E X? 1 / 22

MATLAB for the Sciences

My Full-Length Title

Learning LaTeX: The Basics

Lecture 1: Short summary of LaTeX basics

Lecture 3-Introduction to Latex (II)

Introduction to L A TEX

Introduction to LATEX

L A TEX 101. John Gardner and Alex Yuffa. May 2, How does L A TEX work? Exercise... 4

LYX with Beamer and Sweave

L A TEX examples. a b c a b c b b a c b c c b a. This table was typeset with the following commands.

Student Learning Service: Introduction to Latex

LaTeX. Information Literacy II EN(IL2) Course

Helen Cameron. A Brief Overview of LATEX

The basics of LaTeX. Cédric Buron. April 25, 2016

L A TEX Class Holiday Inn Fisherman s Wharf San Francisco, CA July Cheryl Ponchin Sue DeMerritt

LaTeX Workshop. While you re waiting, please make an account at

Introduction to LaTex 2ε. Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001

Introduction to L A TEX

OER Publishing with LaTeX and GitHub

NCSU Linguistics Eric Wilbanks & Jeff Mielke. November 21, An open-source typesetting language used for document mark-up

How does L A TEX work?

Workshop: A Simple Introduction to L A TEX

Introduction to LAT E X

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations

TUTORIAL 5: LIST ENVIRONMENTS. 1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R).

Using LaTex and BibTex to Write Academic Documents. Ligang He Department of Computer Science University of Warwick

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz

A brief introduction to L A TEX

Paul Gartside. March 2, 2013

An Introduction to L A T E X

L A TEX Workshop. Don Brower

Introduction to. Research Seminar System Analysis. Florian Kragulj

VERY VERY SHORT GUIDE TO LATEX

L A TEXInstallation and Introduction

L A TEX for Psychological Researchers

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1

Researcher Development Unit: Introduction to Latex

1 Different Document Classes

An Introduction to L A TEX

Transcription:

Introduction to L A TEX beamer Lukas Block, Nadja Maraun University of Paderborn June, 2017

Abstract You will learn what L A TEX is and how to use it for presentations. 2/34

Summary Introduction: L A TEX Some helpful comments Opening credits Introduction: Beamer Slide structure Overlays Boxes Columns References Conclusion 3/34

4/34 Introduction: LATEX Lukas Block, Nadja Maraun Introduction to LAT X beamer Introduction: L A TEX What is LaTeX? L A TEX is a document markup language and document preparation system for the TEX typesetting program. You write your text and indicate which part is the title, the main text, a table, etc. L A TEX will do the layout for you.

4/34 Introduction: LATEX Lukas Block, Nadja Maraun Introduction to LAT X beamer Introduction: L A TEX What is LaTeX? L A TEX is a document markup language and document preparation system for the TEX typesetting program. You write your text and indicate which part is the title, the main text, a table, etc. L A TEX will do the layout for you. MS Word is What you see is what you get. L A TEX is What you mean is what you get.

4/34 Introduction: LATEX Lukas Block, Nadja Maraun Introduction to LAT X beamer Introduction: L A TEX What is LaTeX? L A TEX is a document markup language and document preparation system for the TEX typesetting program. You write your text and indicate which part is the title, the main text, a table, etc. L A TEX will do the layout for you. MS Word is What you see is what you get. L A TEX is What you mean is what you get. You have to compile your document (twice) before you see how it looks like.

5/34 Introduction: LATEX Lukas Block, Nadja Maraun Introduction to LAT X beamer Introduction: LaTeX LaTeX combines the work of a designer and typesetter. The author therefore needs to inform LaTeX by using commands what the program needs to do with the text. LaTeX then is able to design the text itself. Advantages: freeware use of mathematical equations is well supported platform independent only a few simple commands define the structure simple use of cross-references, the table of content and the bibliography Disadvantages: requires some practice bigger changes require greater effort within one layout

6/34 Introduction: LATEX Lukas Block, Nadja Maraun Introduction to LAT X beamer Some helpful comments Make sure that if you \begin something, you should also \end it. Everything you write down after % will not be shown in the document; use this if you want to make comments. Save all the files to be included in the file (BibTeX, figures, etc.) in the same folder. Make sure you are connected to the internet if you need to install extra packages automatically.

7/34 Introduction: LATEX Lukas Block, Nadja Maraun Introduction to LAT X beamer Opening credits The opening credits are necessary for every document, whether or not it is an article, book or presentation you are creating. Your document always starts with: \documentclass[options]{class} here: \documentclass[11pt]{beamer} The packages provide you with additional commands. Most of the packages you need for this course are already included in the template we provide you.

8/34 Introduction: Beamer Slides Once the opening credits are complete we start our document with \begin{document}. At the very end we also need to close the document with \end{document}. Now slides can be created with: \begin{frame}[t] \frametitle{title}... \end{frame} On the slide any text can be inserted.

9/34 Introduction: Beamer Titlepage A title page can easily be created by using the following command: \begin{frame}[t] \thispagestyle{empty} \titlepage \end{frame} All information about the title, author, date and institute you have to enter before: \title{ } \subtitle{ } \author{ } \institute{ } \date{ }

10/34 Introduction: Beamer Table of contents The table of contents is created automatically based on the \section{} and the \subsection{} you define in the text. \begin{frame}[t] \frametitle{structure} \tableofcontents \end{frame}

11/34 Introduction: Beamer Exercise Download the presentation template. Exercise 1: Search the internet for today s news (e.g. http://www.nytimes.com/) and choose an article to create a presentation about.

11/34 Introduction: Beamer Exercise Download the presentation template. Exercise 1: Search the internet for today s news (e.g. http://www.nytimes.com/) and choose an article to create a presentation about. Exercise 2: Open the L A TEX-template for the presentation and create your personal titlepage, a table of content with two sections and two more slides with text.

12/34 Introduction: Beamer Enumerations With the following command items with bullet-points are created: \begin{itemize} \item {This is my first bullet-point} \item {This is my second bullet-point} \end{itemize} This is my first bullet-point This is my second bullet-point By using the command enumerate, the items are numbered: \begin{enumerate} \item {Text number 1} \item {Text number 2} \end{enumerate} 1. Text number 1 2. Text number 2

13/34 Introduction: Beamer Tables Tables can be positioned on the top, bottom, a different page or where you are typing (t,b,p,h). Also the number of columns need to be defined, this is done with the commands center, left or right (c,r,l). To go to the next line, you need two backslash to indicate the end of the current line. \begin{table}[h] \begin{tabular}{cc} 1 & 2 \\ 3 & 4 \\\hline 5 & 6 \\ \end{tabular} \end{table} 1 2 3 4 5 6

14/34 Introduction: Beamer Graphics The graphic you like to include has to be saved in the same folder as the LaTeX-Document. The [ht] defines the place the graphic is included, (e.g. here, top). Also you have to include the command \centering, if you like to center the graphic on your slide. \begin{figure}[ht] \centering \includegraphics[scale=0.15]{bild.png} \caption{this is your caption} \label{label-bild} \end{figure} Figure: This is your caption

15/34 Introduction: Beamer Mathematics Creating mathematical formulas is really easy with L A TEX. Some special packages need to be used (you can find them in the template). Use $...$ and $$...$$ to indicate mathematical environment. For example, $$ a^2 + \alpha \cdot \frac{1}{2}$$ yields a 2 + α 1 2 For more information: http://en.wikibooks.org/wiki/latex/mathematics.

16/34 Introduction: Beamer Exercise Exercise 3: Please insert a graphic on the next slide. The graphic could be a picture of your article or you can simply google a nice graphic. Exercise 4: Please write down the equation and if you have still time left try a 2 1 + b2 = 1 c 2 n k = k=0 n(n + 1). 2

17/34 With Beamer even more animation options are possible. Some possibilities and examples are explained in the following slides. E.g. animation of a slide, boxes or columns.

18/34 Slide structure If you like to delay parts of the slide, the command \pause can be used. This command is well recommended for enumerations.

18/34 Slide structure If you like to delay parts of the slide, the command \pause can be used. This command is well recommended for enumerations. Example: Bullet points will be successively shown here:

18/34 Slide structure If you like to delay parts of the slide, the command \pause can be used. This command is well recommended for enumerations. Example: Bullet points will be successively shown here: Point 1 \pause

18/34 Slide structure If you like to delay parts of the slide, the command \pause can be used. This command is well recommended for enumerations. Example: Bullet points will be successively shown here: Point 1 \pause Point 2 \pause

18/34 Slide structure If you like to delay parts of the slide, the command \pause can be used. This command is well recommended for enumerations. Example: Bullet points will be successively shown here: Point 1 \pause Point 2 \pause Point 3

19/34 Exercise Exercise 5: Select five topics of your article or the newspaper and create a slide with bullet-points on it. Animate the bullet-points, so that they appear after each other.

19/34 Exercise Exercise 5: Select five topics of your article or the newspaper and create a slide with bullet-points on it. Animate the bullet-points, so that they appear after each other. Exercise 6: Copy the same text onto the next slide and highlight some words with the commands \textbf{...}, \emph{...} or \alert{...}.

20/34 Overlays 1/4 Overlays allocate Latex items to the slides, which appear consecutively. The space for the non-visible items is reserved.

20/34 Overlays 1/4 Overlays allocate Latex items to the slides, which appear consecutively. The space for the non-visible items is reserved. Example 1: Overlays can be use as an alternative to \pause. After the command \begin{itemize} the command [<+->] has to be inserted: Point 1

20/34 Overlays 1/4 Overlays allocate Latex items to the slides, which appear consecutively. The space for the non-visible items is reserved. Example 1: Overlays can be use as an alternative to \pause. After the command \begin{itemize} the command [<+->] has to be inserted: Point 1 Point 2

20/34 Overlays 1/4 Overlays allocate Latex items to the slides, which appear consecutively. The space for the non-visible items is reserved. Example 1: Overlays can be use as an alternative to \pause. After the command \begin{itemize} the command [<+->] has to be inserted: Point 1 Point 2 Point 3

21/34 Overlays 2/4 By using overlays the slide structure can be specified even more.

21/34 Overlays 2/4 By using overlays the slide structure can be specified even more. Example 2: By using \item<2,4> this sentence only appears on slide number 2 and 4.

21/34 Overlays 2/4 By using overlays the slide structure can be specified even more. Example 2: By using \item<3-5> this sentence appears from slide number 3 to 5.

21/34 Overlays 2/4 By using overlays the slide structure can be specified even more. Example 2: By using \item<2,4> this sentence only appears on slide number 2 and 4. By using \item<3-5> this sentence appears from slide number 3 to 5. By using \item<4-> this sentence appears from slide number 4 up to the end.

21/34 Overlays 2/4 By using overlays the slide structure can be specified even more. Example 2: By using \item<3-5> this sentence appears from slide number 3 to 5. By using \item<4-> this sentence appears from slide number 4 up to the end. By using \item<5> this sentence only appears on slide 5.

22/34 Overlays 3/4 Overlays can also be used for other commands.

22/34 Overlays 3/4 Overlays can also be used for other commands. Example 3:

22/34 Overlays 3/4 Overlays can also be used for other commands. Example 3: With \textbf<4->{...} this sentence is printed in bold type from page 4 on. This sentence is emphasized with \emph<5>{...} only on page 5. With \alert<4-5>{...} this sentence is stressed on slide 4 and 5.

22/34 Overlays 3/4 Overlays can also be used for other commands. Example 3: With \textbf<4->{...} this sentence is printed in bold type from page 4 on. This sentence is emphasized with \emph<5>{...} only on page 5. With \alert<4-5>{...} this sentence is stressed on slide 4 and 5.

22/34 Overlays 3/4 Overlays can also be used for other commands. Example 3: With \textbf<4->{...} this sentence is printed in bold type from page 4 on. This sentence is emphasized with \emph<5>{...} only on page 5. With \alert<4-5>{...} this sentence is stressed on slide 4 and 5.

23/34 Overlays 4/4 By using the command \only the structure of the slide can be determined as well, however the space for the non-visible items is not reserved.

23/34 Overlays 4/4 By using the command \only the structure of the slide can be determined as well, however the space for the non-visible items is not reserved. Example 4: This sentence will be replaced by an other sentence on the next slide.

23/34 Overlays 4/4 By using the command \only the structure of the slide can be determined as well, however the space for the non-visible items is not reserved. Example 4: It is important that no blank spaces are allowed between the \only-instructions. For this slide the commands \only<2>{...} and \only<3>{...}had been used.

24/34 Exercise Exercise 7: On the next slide we like you to use overlays for the text you wrote in exercise two; after this please use the second slide and use overlays and the command \only.

25/34 Boxes Boxes can be used to divide or to emphasize some parts of the slide. Title of the box Here, you can see a standard box. \begin{block}{title of the box}... \end{block} Example Here, you can see an example box. \begin{exampleblock}{example}... \end{exampleblock}

26/34 Boxes Alert box Here, you can see an alert box. \begin{alertblock}{alert box}... \end{alertblock}

27/34 Exercise Exercise 8: The following slide(s) should contain three boxes: one main box, one example box and one alert box.

28/34 Columns Slides can also be divided into columns with the command \begin{columns}[t]... \end{columns}. Therefore you need to enter the width of the column in percent.

28/34 Columns Slides can also be divided into columns with the command \begin{columns}[t]... \end{columns}. Therefore you need to enter the width of the column in percent. Example: With the command \begin{column}{0.6\textwidth}... \end{column} the text of column 1 is 60% of the total text width. The text in column 2 is 30% of the total width.

29/34 Columns Complete example: \begin{columns}[t] \begin{column}{0.5 \textwidth}... \end{column} \begin{column}{0.3 \textwidth}... \end{column} \end{columns}

30/34 References Results and References If you want to cite a book or an article you should use a BibTex file. Each entry there has a n identifier you can use in your text. By using \cite{njf1950} together with the.bib-file you can get for example Nash (1950). Theorem 1 (Myerson (1984)) Theorems can be displayed with the command \begin{theorem}[\cite{mrb1984}]... \end{theorem}

31/34 References Exercise Exercise 9: Finally create a new entry in the literature.bib-file of the article A Strategic Model of Social and Economic Networks by Jackson and Wolinski (1996). Afterwards cite the article by using \cite{...} in your presentation. Hint: Most publishers (or jstor) offer the possibility to download the citation information. You can search using google to find the publisher s page for the article (Elsevier/ScienceDirect). Then download the bibtex-information by looking for a citation export (in BibTeX).

32/34 Conclusion Conclusion We hope you all are now able to create really nice presentations without becoming desperate over MS PowerPoint.

32/34 Conclusion Conclusion We hope you all are now able to create really nice presentations without becoming desperate over MS PowerPoint. Good luck for your next presentation!

Thank you very much for your attention.

34/34 References References Myerson, R. B. (1984). Two-person bargaining problems with incomplete information. Econometrica, 52(2):pp. 461 488. Nash, John F., J. (1950). The bargaining problem. Econometrica, 18(2):pp. 155 162.