Presentations with LATEX: Tips and Tricks
Total Page:16
File Type:pdf, Size:1020Kb
Presentations with LATEX: Tips and Tricks Michael A. Saum Department of Mathematics The University of Tennessee, Knoxville October 10, 2007 Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 1/21 Outline 1 Introduction 2 Slides with LATEX 3 Using the beamer Package 4 Graphics 5 Summary Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 2/21 Introduction Presentations: Good and Bad Bad Presentations What makes a Bad Presentation? Not targeted to audience. Not well thought out. Time issues. Too much on each slide. Too many slides. Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 3/21 Introduction Presentations: Good and Bad Good Presentations What makes a Good Presentation? 1 Targeted to audience, keeps audience engaged. 2 Well thought out. 3 Conveys information. 4 Right on Time. Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 4/21 Slides with LATEX Why LATEX? Mathematicians use LATEX for papers. LATEX typesets mathematics much better than Powerpoint or Word. The LATEX system is free! Worry about the content, not font size, placement, etc. The LATEX system is FREE!! The end result is an Adobe PDF file, which is extremely portable and can be displayed on almost any platform. Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 5/21 Slides with LATEX Choices to Make Linux or Windows? Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 6/21 Slides with LATEX Choices to Make Linux or Windows? User Interface - Text editor? Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 6/21 Slides with LATEX Choices to Make Linux or Windows? User Interface - Text editor? Output Choices - Presentation or Handout? Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 6/21 Slides with LATEX LATEX Presentation Support - History foiltex seminar prosper beamer Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 7/21 Using the beamer Package Framed! One should generally use one frame per slide. A frame \begin{frame}{frame title} ... blah ... \end{frame} Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 8/21 Using the beamer Package More Choices Presentation Themes ◮ With/Without Navigation bars? ◮ Tree-like Navigation bar? ◮ Table of Contents sidebar? ◮ Mini-Frame Navigation? Outer Themes Inner Themes Color Themes Font Themes Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 9/21 Using the beamer Package Templates, I Setup %\documentclass[11pt]{beamer} \documentclass[dvips,11pt]{beamer} %\documentclass[handout,dvips,11pt,gray]{beamer} % Setup appearance: %\usetheme{Darmstadt} %\usetheme{Frankfurt} %\usetheme{Warsaw} \usetheme[secheader]{Boadilla} %\setbeameroption{hide notes} %\setbeameroption{show notes} %\setbeameroption{show only notes} \usefonttheme[onlylarge]{structurebold} \setbeamerfont*{frametitle}{size=\normalsize,series=\bfseries} \setbeamertemplate{navigation symbols}{} \setbeamertemplate{note page}[plain] Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 10/21 Using the beamer Package Templates, II Packages % Standard packages \usepackage[english]{babel} \usepackage[latin1]{inputenc} \usepackage{times} \usepackage[T1]{fontenc} \usepackage{pst-all} % PStricks \usepackage{graphicx} % Graphics formats %\usepackage{multimedia} %\usepackage{pgfpages} %\pgfpagesuselayout{4 on 1}[letterpaper,landscape,border shrink=5mm] %\logo{\includegraphics[width=0.05\textwidth]{utlogo.jpg}} \logo{\includegraphics[width=0.05\textwidth]{utlogo.eps}} % Author, Title, etc. \title[\LaTeX\ Tips and Tricks]{Presentations with \LaTeX: Tips and Tricks} \author[Saum]{ Michael A. Saum} \institute[Dept of Mathematics, UTK] {Department of Mathematics \\ The University of Tennessee, Knoxville} \date[10/10/07]{October 10, 2007} \begin{document} ... frames ... \end{document} Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 11/21 Using the beamer Package Handouts To print out a presentation (with notes) for handouts, I use the following: \documentclass[handout,dvips,11pt,gray]{beamer} \usetheme[secheader]{Boadilla} \setbeameroption{show notes} \usefonttheme[onlylarge]{structurebold} \setbeamerfont*{frametitle}{size=\normalsize,series=\bfseries} \setbeamertemplate{navigation symbols}{} \setbeamertemplate{note page}[plain] \usepackage[english]{babel} \usepackage[latin1]{inputenc} \usepackage{times} \usepackage[T1]{fontenc} \usepackage{pst-all} % PStricks \usepackage{pgfpages} \pgfpagesuselayout{4 on 1}[letterpaper,landscape,border shrink=5mm] Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 12/21 Using the beamer Package Getting output Windows If on windows using the winedt text editor, one should press the ”texify” (or pdf texify) button, depending on whether one is using postscript or not. Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 13/21 Using the beamer Package Getting output Windows If on windows using the winedt text editor, one should press the ”texify” (or pdf texify) button, depending on whether one is using postscript or not. Linux, postscript latex filename (twice) dvips filename -o ps2pdf13 filename Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 13/21 Using the beamer Package Getting output Windows If on windows using the winedt text editor, one should press the ”texify” (or pdf texify) button, depending on whether one is using postscript or not. Linux, postscript latex filename (twice) dvips filename -o ps2pdf13 filename Linux, pdf pdflatex filename (twice) Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 13/21 Graphics Type of Graphics Inserting graphics into a presentation is a good idea, i.e., sometimes a picture is really worth a thousand words. LATEX has available a number of packages which allow for simple drawings to be done within the LATEX document itself. LATEX also has available packages which allow for importing of external document files, such as .ps, .eps, .jpg, .gif, etc. beamer allows for inclusion of ”movies” in a presentation also. Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 14/21 Graphics Guidelines If one is including only external .ps or .eps files, then one should not use pdfLATEX. To include external graphics files, use the graphicx package and scale the included graphic by some fraction of the ”textwidth” variable. One should ensure that all external graphics files to be included are of the same type. If one is required to ”draw” simple diagrams, I recommend using the PStricks (postscript) or the pgf/TikZ (non-postscript) package. For graphs or charts, make sure the labels are readable. Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 15/21 Graphics Sample Drawing with PStricks Deposition Zone V 2L Simple Reel-to-Reel Processing System (side view) Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 16/21 Graphics Sample Inclusion of External Graphic BCF-AAKMC Comparison 2L = 6000, F = 0.25, 250 sec runs, ∆V = 0.5 1000 BCF N=(14,12) BCF N=(13,11) 800 1D AAKMC 600 0 δ 400 200 0 95 100 105 110 115 120 125 V (sites/sec) Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 17/21 Graphics Columns 4 3 2 1 0 1 1 0.8 0.8 Exact Solution 0.6 0.6 y0.4 0.4x 0.2 0.2 0 Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 18/21 Graphics Columns 4 3 2 1 0 1 1 0.8 0.8 Exact Solution 0.6 0.6 y0.4 0.4x 0.2 0.2 Computed Solution 0 Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 18/21 Graphics Movies f6d2a est – UNIX f6d2a est – Windoze Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 19/21 Summary Comments There are many different ways of accomplishing the same task with LATEX. Once one finds something that works, stick with it until one finds a better way of doing it. One should definitely explore different themes with beamer. Make extensive use of the references listed at the end. Putting too many fancy things into a presentation takes away from the purpose of the presentation, i.e., the content. Sometimes basic is better. With beamer flexibility is the key. Note that beamer provides a powerful alternative to using Microsoft Powerpoint. Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 20/21 Summary References beamer documentation ◮ /usr/share/texmf/tex/latex/beamer/doc ◮ /usr/share/texmf/tex/latex/beamer/examples ◮ /usr/share/texmf/tex/latex/beamer/solutions ◮ /usr/share/texmf/tex/latex/beamer/themes PStricks: http://tug.org/PSTricks/ pgf/TikZ: /usr/share/texmf/tex/latex/pgf/doc/generic/pgf LATEX Navigator: http://tex.loria.fr/ Saum (Dept of Mathematics, UTK) LATEX Tips and Tricks 10/10/07 21/21.