latex/slides.tex
author Puneeth Chaganti <punchagan@fossee.in>
Sun, 06 Feb 2011 17:57:03 +0530
changeset 157 3174d4803cd5
parent 134 73012a0eb878
permissions -rw-r--r--
latex: Changes to slides and handout before and after class.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     1
\documentclass{beamer}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     2
\usepackage[latin1]{inputenc}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     3
\usepackage[T1]{fontenc}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     4
\usepackage{fixltx2e}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     5
\usepackage{graphicx}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     6
\usepackage{longtable}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     7
\usepackage{float}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     8
\usepackage{wrapfig}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
     9
\usepackage{soul}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    10
\usepackage{textcomp}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    11
\usepackage{marvosym}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    12
\usepackage{wasysym}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    13
\usepackage{latexsym}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    14
\usepackage{amssymb}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    15
\usepackage{hyperref}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    16
\tolerance=1000
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    17
\usepackage[english]{babel} \usepackage{ae,aecompl}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    18
\usepackage{mathpazo,courier,euler} \usepackage[scaled=.95]{helvet}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    19
\usepackage{listings}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    20
\lstset{
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    21
  language=TeX,
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    22
  basicstyle=\ttfamily\bfseries,
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    23
  commentstyle=\ttfamily\color{blue},
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    24
  stringstyle=\ttfamily\color{orange},
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    25
  showstringspaces=false,
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    26
  breaklines=true,
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    27
  postbreak = \space\dots
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    28
}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    29
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    30
\newcommand{\typ}[1]{\lstinline{#1}}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    31
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    32
\mode<presentation>
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    33
{
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    34
  \usetheme{Warsaw}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    35
  \useoutertheme{infolines}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    36
  \setbeamercovered{transparent}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    37
}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    38
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    39
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    40
\title{\LaTeX}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    41
\author[FOSSEE] {FOSSEE}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    42
\institute[IIT Bombay] {Department of Aerospace Engineering\\IIT
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    43
  Bombay}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    44
\date{}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    45
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    46
%% Delete this, if you do not want the table of contents to pop up at
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    47
%% the beginning of each subsection:
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    48
\AtBeginSubsection[]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    49
{
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    50
  \begin{frame}<beamer>
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    51
    \frametitle{Outline}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    52
    \tableofcontents[currentsection,currentsubsection]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    53
  \end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    54
}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    55
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    56
\AtBeginSection[]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    57
{
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    58
  \begin{frame}<beamer>
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    59
    \frametitle{Outline}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    60
    \tableofcontents[currentsection,currentsubsection]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    61
  \end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    62
}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    63
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    64
\begin{document}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    65
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    66
% Document title
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    67
\begin{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    68
  \maketitle  
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    69
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    70
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    71
\section{Introduction}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    72
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    73
\begin{frame}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    74
  \frametitle{{\LaTeX} - Introduction}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    75
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    76
  \item Typesetting program
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    77
    \begin{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    78
    \item What is typesetting?
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    79
    \end{itemize}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    80
  \item Excellently Typeset Documents - specially Math
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    81
  \item Anything from one page articles to huge books
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    82
  \item Pronounced \emph{Lah-tech} or \emph{Lay-tech}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    83
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    84
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    85
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    86
\begin{frame}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    87
  \frametitle{Why \LaTeX?}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    88
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    89
  \item Excellent visual quality! 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    90
  \item Handles the typesetting; Lets you focus on content
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    91
  \item Makes writing math extremely simple
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    92
  \item It is a standard -- widely used in Scientific community
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    93
  \end{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    94
  \begin{block}{}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    95
    \[\tilde{N}_{\mathbf{x}}\times \mathbf{r}(\mathbf{x}) f_{1k}(\mathbf{x},t) - \frac{1}{2} \tilde{N} \tilde{N}:\mathbf{BB}^{T}P(\mathbf{x},t) = -m_{k}f_{1k}(\mathbf{x},t) + 2 \mathop{\mathbf{\aa}}_{j=1}^{K} f_{1j}(\mathbf{x},t)m_{j}P_{k|j} \]
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    96
  \end{block}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    97
\end{frame}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    98
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
    99
\begin{frame}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   100
  \frametitle{Course Outline}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   101
  \begin{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   102
  \item Look at Sample document - \typ{sample.pdf}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   103
    \begin{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   104
    \item Title, Author, Date
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   105
    \item Abstract
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   106
    \item Sections \& Subsections
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   107
    \item Appendix
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   108
    \item References/Bibliography
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   109
    \item Tables
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   110
    \item Figures
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   111
    \item Math
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   112
    \end{itemize}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   113
  \item The document will be produced by the end of the course. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   114
  \item First Hour - Basic Structure
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   115
  \item Second Hour - Text, Tables, Figures, References
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   116
  \item Third Hour - Math, Bibliography, Presentations
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   117
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   118
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   119
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   120
\begin{frame}[fragile]{{\LaTeX}{is awesome}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   121
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   122
  \item {\LaTeX} is a document based mark-up
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   123
  \item Mark-up --- a system of annotating text, adding extra
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   124
    information to specify structure and presentation of text
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   125
  \item Document based markup $\rightarrow$ you don't have to worry
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   126
    about each element individually 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   127
  \item Allows you to focus on content, rather than appearance.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   128
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   129
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   130
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   131
\begin{frame}[fragile]
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   132
  \frametitle{Typesetting a minimal document}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   133
  \begin{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   134
  \item Write the sample code  code into the file \typ{draft.tex}\\
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   135
      {\tiny See \typ{hg} rev0 of draft}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   136
  \item   To compile, (in terminal) \\
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   137
    \begin{lstlisting}[language=bash]
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   138
      $ pdflatex draft.tex
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   139
    \end{lstlisting} %%$
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   140
  \item This produces the output file \typ{draft.pdf} 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   141
  \item \alert{Note:} \typ{latex} vs. \typ{pdflatex} 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   142
  \end{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   143
\end{frame}  
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   144
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   145
\begin{frame}[fragile]
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   146
  \frametitle{Commands \& Environments}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   147
  \begin{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   148
  \item {\LaTeX} is case sensitive
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   149
  \item Commands begin with a \typ{\\}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   150
  \item Environments have a \typ{\\begin} and \typ{\\end} 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   151
  \item Any content after the \typ{\\end\{document\}} is ignored
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   152
  \end{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   153
\end{frame}  
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   154
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   155
\newline \\
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   156
\newpage 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   158
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   159
\begin{frame}[fragile]
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   160
  \frametitle{Comments \& Special Characters}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   161
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   162
  \item Anything that follows a \typ{\%} symbol till end of the line
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   163
    is a comment 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   164
  \item Special characters (\typ{\~ \# \$ \^ \& \_ \{ \}}) are escaped by a
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   165
    \typ{\\} 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   166
  \item \typ{\\} symbol is inserted using \typ{\\textbackslash}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   167
    command
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   168
  \end{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   169
\end{frame}  
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   170
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   171
\begin{frame}[fragile]
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   172
  \frametitle{Spacing}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   173
  \begin{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   174
  \item \typ{\\\\} inserts a new line in the output
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   175
  \item An empty line marks the beginning of a new paragraph
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   176
  \item Multiple spaces (or empty lines) are equivalent to a single
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   177
    space (or empty line)
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   178
  \end{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   179
\end{frame}  
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   180
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   181
\section{Adding Structure}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   182
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   183
\begin{frame}[fragile]
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   184
  \frametitle{\typ{documentclass}}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   185
  \begin{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   186
  \item Used to select the \emph{class} of our document
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   187
  \item Some available classes - \typ{article}, \typ{proc},
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   188
    \typ{report}, \typ{book}, \typ{slides}, \typ{letter}.
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   189
   \item For example:
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   190
    \typ{\\documentclass\[12pt,a4paper,draft\]\{report\}}\\
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   191
    The parameters within \typ{\[ \]} are optional.
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   192
    \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   193
    \item \typ{12pt} -- sets the font size of main font and others are
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   194
      relatively, adjusted. \typ{10pt} is the default. 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   195
    \item \typ{a4paper} -- specify paper size
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   196
    \item \typ{draft} -- marks hyphenation and justification problems in
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   197
      typesetting with a square in the margin
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   198
    \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   199
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   200
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   201
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   202
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   203
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   204
  \frametitle{Top Matter}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   205
  Let's add the title, author's name and the date.
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   206
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   207
  \item Add title, author and date. 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   208
  \item Compile. 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   209
  \item Nothing changes.
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   210
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   211
  {\tiny See \typ{hg} rev1 of draft.}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   212
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   213
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   214
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   215
  \frametitle{Top Matter \ldots}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   216
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   217
  \item \lstinline{\maketitle} command inserts the top-matter.
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   218
  \item Add the command to the document \& compile again. 
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   219
  \item If no date is specified, today's date is automatically
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   220
    inserted.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   221
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   222
  \tiny{See \typ{hg} rev2 of draft.}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   223
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   224
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   225
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   226
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   227
  \frametitle{Abstract}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   228
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   229
  \item \typ{\\abstract} environment inserts abstract.
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   230
  \item Place it at the location where you want your abstract. 
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   231
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   232
  \tiny See rev3 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   233
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   234
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   235
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   236
  \frametitle{Sectioning}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   237
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   238
  \item \lstinline{\section}, \lstinline{\subsection}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   239
    \lstinline{\subsubsection}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   240
  \item Auto numbered sections!
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   241
  \item \typ{*} to prevent numbering of a section
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   242
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   243
  \tiny See rev4 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   244
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   245
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   246
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   247
  \frametitle{Sectioning \ldots}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   248
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   249
  \item Longer documents, use \lstinline{report} or \lstinline{book}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   250
    class
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   251
  \item Chapter can be added using \lstinline{\chapter}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   252
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   253
  \begin{lstlisting}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   254
    \documentclass{report}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   255
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   256
    \chapter{One}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   257
  \end{lstlisting}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   258
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   259
  \item subsections do not get numbering
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   260
  \item Change \lstinline{secnumdepth}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   261
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   262
  \begin{lstlisting}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   263
    \setcounter{secnumdepth}{3}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   264
  \end{lstlisting}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   265
   \tiny See rev5 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   266
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   267
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   268
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   269
  \frametitle{Appendices}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   270
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   271
  \item \lstinline{\appendix} command indicates the beginning of
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   272
    Appendices. 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   273
  \item Any content after \lstinline{\appendix}, will be added to the
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   274
    appendix 
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   275
  \item Use sectioning commands to add sections
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   276
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   277
  \tiny See rev7 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   278
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   279
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   280
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   281
  \frametitle{Table of Contents [TOC]}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   282
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   283
  \item Our document is short, but let's learn to add a TOC.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   284
  \item Add \lstinline{\tableofcontents} where you want TOC to
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   285
    appear.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   286
  \item Compile. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   287
  \item Only headings appear. No page numbers. 
134
73012a0eb878 Minor edits to LaTeX material.
Puneeth Chaganti <punchagan@fossee.in>
parents: 105
diff changeset
   288
  \item A \lstinline{.toc} file is generated. 
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   289
  \item Re-compile.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   290
  \item Any numbered section/block automatically appears
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   291
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   292
  \tiny See rev8 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   293
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   294
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   295
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   296
  \frametitle{TOC \ldots}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   297
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   298
  \item Un-numbered sections are added to TOC using
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   299
    \lstinline{\addcontentsline}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   300
  \item For instance,  \lstinline+\addcontentsline{toc}{section}{Intro}+
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   301
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   302
  \tiny See rev9 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   303
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   304
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   305
\begin{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   306
  \frametitle{Bibliography}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   307
  We shall look at Bibliographies, later in the course. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   308
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   309
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   310
\section{Typesetting Text}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   311
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   312
  \frametitle{Quotation Marks}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   313
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   314
  \item Use \`~ (accent) for left quote
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   315
  \item Use \'~ (apostrophe) for right quote
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   316
  \item For double quotes, use them twice
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   317
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   318
  \tiny See rev11 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   319
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   320
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   321
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   322
  \frametitle{Fonts - Emphasis, Fixed width, \ldots}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   323
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   324
  \item \lstinline{\emph} gives emphasized or italic text
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   325
  \item \typ{flushleft} to have text left aligned
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   326
  \item \typ{flushright}, \typ{center}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   327
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   328
  \tiny See rev12 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   329
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   330
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   331
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   332
  \frametitle{Fonts - Emphasis, Fixed width, \ldots}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   333
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   334
  \item \lstinline{\texttt} gives fixed width font
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   335
  \item \lstinline{\textbf} bold face font
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   336
  \item \lstinline{--} en dash (--); \lstinline{---} em dash (---). 
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   337
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   338
  \tiny See rev13 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   339
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   340
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   341
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   342
  \frametitle{Lists}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   343
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   344
  \item \lstinline{enumerate} environment is used for numbered lists
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   345
  \item \lstinline{itemize} environment gives un-numbered lists
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   346
  \item Each item in the list is specified using \lstinline{\item}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   347
  \item Nested lists are also easily handled, as expected
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   348
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   349
  \tiny See rev14 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   350
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   351
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   352
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   353
  \frametitle{Footnotes}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   354
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   355
  \item \typ{\\footnote} command adds a footnote
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   356
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   357
  \tiny See rev15 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   358
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   359
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   360
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   361
  \frametitle{Labels and References}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   362
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   363
  \item \lstinline+\label{labelname}+ is used to label an element
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   364
  \item \lstinline+\ref{labelname}+ is used to refer to that element
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   365
  \item Compile twice
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   366
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   367
  \tiny See rev15 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   368
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   369
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   370
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   371
  \frametitle{Including code}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   372
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   373
  \item Instead of using \lstinline{\texttt} we could use
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   374
    \lstinline{\verbatim} 
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   375
  \item \lstinline+\lstinline{listings}+ is a powerful package
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   376
  \item \lstinline+\usepackage{listings}+ needs to be added 
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   377
  \item Tell {\LaTeX} the language to be used, using \typ{\\lstset}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   378
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   379
  \tiny See rev16 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   380
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   381
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   382
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   383
  \frametitle{Including code}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   384
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   385
  \item Use \lstinline+\lstlisting+ for a block of code
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   386
  \item \typ{\\lstinline} for inline code
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   387
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   388
  \tiny See rev16 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   389
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   390
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   391
\section{Figures, Tables \& Floats}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   392
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   393
  \frametitle{Figures}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   394
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   395
  \item The \typ{graphicx} package allows us to insert graphics
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   396
  \item \lstinline+\usepackage{graphicx}+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   397
  \item To add a graphic, use \lstinline{\includegraphics} command
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   398
  \item Use relative path to the image
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   399
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   400
  \tiny See rev17 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   401
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   402
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   403
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   404
  \frametitle{\lstinline{includgraphics}}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   405
  It takes following optional arguments
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   406
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   407
  \item \lstinline+scale+ --- specifies the factor by which to scale
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   408
    the image 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   409
  \item \lstinline+height+, \lstinline+width+ --- If only one of them
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   410
    is specified, aspect ratio is maintained 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   411
  \item \lstinline+keepaspectratio+ --- boolean value to keep aspect
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   412
    ratio or not 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   413
  \item \lstinline+angle+ --- specify by what angle the image should
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   414
    be rotated 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   415
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   416
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   417
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   418
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   419
  \frametitle{Floats}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   420
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   421
  \item Graphics (\& Tables) are special because they cannot be broken
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   422
    across pages 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   423
  \item They are ``floated'' to the next page, if they don't fit in
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   424
    the current page 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   425
  \item Enclose graphic within \lstinline+figure+ environment to make
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   426
    it float 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   427
  \item Figure environment takes additional parameter for location of
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   428
    float 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   429
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   430
  \begin{table}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   431
    \caption{Permission Specifiers}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   432
    
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   433
    \begin{tabular}{|c|c|}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   434
      Specifier & Permission\\\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   435
      t & Top of page\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   436
      b & Bottom of page\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   437
      p & Separate page for floats\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   438
      h & here (the same place where command appears in source)\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   439
      ! & override \LaTeX's internal parameters for good position
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   440
    \end{tabular}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   441
  \end{table}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   442
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   443
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   444
\begin{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   445
  \frametitle{Captions and References}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   446
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   447
  \item Figure environment allows us add a caption
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   448
  \item To place the image in the center we enclose it in the
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   449
    \lstinline+center+ environment 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   450
  \item We can label images too
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   451
  \item label should be added after the caption command
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   452
  \item Figures are auto numbered
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   453
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   454
  \tiny See rev17 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   455
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   456
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   457
\begin{frame}[frame]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   458
  \frametitle{Tables}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   459
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   460
  \item \lstinline+tabular+ is used to typeset a table
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   461
  \item It is enclosed in a \lstinline+table+ environment to make it a
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   462
    float 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   463
  \item \lstinline+table+ environment also gives captions, auto
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   464
    numbering  
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   465
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   466
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   467
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   468
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   469
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   470
  \frametitle{\lstinline+tabular+}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   471
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   472
  \item tabular takes formatting of each column as argument
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   473
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   474
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   475
  \begin{table}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   476
    \caption{tabular environment}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   477
    
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   478
    \begin{tabular}{|l|l|}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   479
      \lstinline+l+ & left justified column content\\\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   480
      \lstinline+r+ & right justified column content\\\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   481
      \lstinline+c+ & centered column content\\\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   482
      \lstinline+|+ & produces a vertical line\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   483
    \end{tabular}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   484
  \end{table}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   485
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   486
  \item also takes an optional parameter for specifying position of
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   487
    table 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   488
  \item \lstinline+t+ for top, \lstinline+b+ for bottom, \lstinline+c+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   489
    for center 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   490
  \item each column of table is separated by \&
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   491
  \item each row is separated by newline \lstinline{\\}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   492
  \item \lstinline+\hline+ give a horizontal line between two rows
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   493
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   494
  \tiny See rev18 of \typ{hg}
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   495
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   496
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   497
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   498
  \frametitle{List of Tables, Figures}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   499
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   500
  \item \lstinline+\listoftables+ -- to add a list of tables
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   501
  \item \lstinline+\listoffigures+ -- to add a list of figures
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   502
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   503
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   504
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   505
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   506
\section{Typesetting Math}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   507
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   508
  \frametitle{Math in \LaTeX}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   509
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   510
  \item Math is enclosed in a pair of \lstinline{$} signs of %%$
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   511
    \lstinline+\(  \)+ 
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   512
  \item Used for typesetting inline Math. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   513
  \item \lstinline+\usepackage{amsmath}+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   514
  \item Let's now move on to matrices. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   515
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   516
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   517
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   518
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   519
  \frametitle{Matrices}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   520
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   521
  \item \lstinline+\bmatrix+ is used to typeset the matrix A
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   522
  \item It works similar to ta tabular environment
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   523
  \item \lstinline+&+ for demarcating columns
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   524
  \item \lstinline+\\+ for demwarcating rows
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   525
  \item Other matrix environments
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   526
  \begin{table}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   527
    \center
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   528
    \begin{tabular}{c|c}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   529
      \lstinline+matrix+  &  none\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   530
      \lstinline+pmatrix+ &  \lstinline+(+\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   531
      \lstinline+Bmatrix+ &  \lstinline+{+\\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   532
        \lstinline+vmatrix+ &  \lstinline+|+\\  
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   533
        \lstinline+Vmatrix+ &  \lstinline+||+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   534
    \end{tabular}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   535
  \end{table}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   536
  \end{itemize}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   537
  \tiny See rev19 of \typ{hg}    
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   538
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   539
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   540
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   541
  \frametitle{Superscripts \& Subscripts}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   542
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   543
  \item \lstinline+^+ for superscripts
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   544
  \item \lstinline+_+ for subscripts
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   545
  \item Enclose multiple characters in \lstinline+{ }+
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   546
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   547
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   548
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   549
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   550
  \frametitle{Summation \& integration}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   551
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   552
  \item \lstinline+\sum+ command gives the summation symbol
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   553
  \item The upper and lower limits are specified using the
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   554
    \lstinline+^+ and \lstinline+_+ symbols. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   555
  \item Similarly the integral symbol is obtained using
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   556
    \lstinline+\int+ command. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   557
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   558
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   559
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   560
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   561
  \frametitle{\lstinline+displayed+ math}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   562
  \begin{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   563
  \item Display equations are the other type of displaying math
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   564
  \item \LaTeX~ or \lstinline+amsmath+ has a number of environments
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   565
    for ``displaying'' equations, with minor differences. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   566
  \item In general, enclose math in \lstinline+\[+ and \lstinline+\]+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   567
    to get displayed math. 
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   568
  \item \lstinline+\begin{equation*}+ is equivalent to this.
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   569
  \item Use \lstinline+\begin{equation}+ to get numbered
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   570
    equations. %%\end{equation} 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   571
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   572
  \tiny See rev20 of \typ{hg}    
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   573
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   574
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   575
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   576
  \frametitle{Groups of equations}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   577
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   578
  \item The \lstinline+equation+ environment allows typesetting of
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   579
    just 1 equation. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   580
  \item \lstinline+eqnarray+ allows typesetting of multiple equations 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   581
  \item It is similar to the \lstinline+table+ environment
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   582
  \item The parts of the equation that need to be aligned are
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   583
    indicated using \& symbol.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   584
  \item Each equation is separated by a \lstinline+\newline+ command
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   585
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   586
  \tiny See rev21, 22 of \typ{hg}    
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   587
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   588
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   589
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   590
  \frametitle{Fractions \& Surds}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   591
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   592
  \item Fractions are typeset using \lstinline+\frac+ command 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   593
  \item \lstinline+\frac{numerator}{denominator}+ is typeset as
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   594
    $\frac{numerator}{denominator}$
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   595
  \item Surds are typeset using \lstinline+\sqrt[n]+ command
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   596
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   597
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   598
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   599
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   600
  \frametitle{Greek characters \& Spacing}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   601
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   602
  \item Typesetting Greek characters is simple
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   603
  \item \lstinline+\alpha+, \lstinline+\beta+, \lstinline+\gamma+,
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   604
    \ldots \lstinline+\Alpha+, \lstinline+\Beta+, \lstinline+\Gamma+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   605
    \ldots 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   606
  \item To get additional spacing in Math environments ---
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   607
\begin{center}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   608
\begin{tabular}{|l|l|l|}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   609
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   610
 Abbrev. & Spelled out & Example  \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   611
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   612
 \lstinline+\,+ & \lstinline+\thinspace+ & $A\,B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   613
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   614
 \lstinline+\:+ & \lstinline+\medspace+ & $A\:B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   615
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   616
 \lstinline+\;+ & \lstinline+\thickspace+ & $A\;B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   617
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   618
   & \lstinline+\quad+ & $A \quad B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   619
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   620
   & \lstinline+\qquad+ & $A \qquad B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   621
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   622
 \lstinline+\!+ & \lstinline+\negthinspace+ & $A!B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   623
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   624
   & \lstinline+\negmedspace+ & $A \negmedspace B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   625
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   626
   & \lstinline+\negthickspace+ & $A \negthickspace B$ \\
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   627
\hline
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   628
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   629
\end{tabular}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   630
\end{center}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   631
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   632
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   633
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   634
\section{Bibliography}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   635
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   636
  \frametitle{Bibliography}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   637
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   638
  \item \lstinline+thebibliography+ environment provides a clean and
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   639
    simple way to add a bibliography to \LaTeX documents. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   640
  \item \lstinline+\begin{thebibliography}+ takes as argument the
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   641
    maximum with of the label that references will have. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   642
  \item Each item of the Bibliography is similar to an item in a
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   643
    list. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   644
  \item \lstinline+\bibitem[label]{name}+ followed by the actual
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   645
    reference info. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   646
  \item label replaces auto enumeration numbers 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   647
  \item \lstinline+\cite{name}+ is used to \lstinline+cite+ the
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   648
    \lstinline+bibitem+ 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   649
  \item You will need to compile twice. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   650
  \end{itemize}
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   651
  \tiny See rev23 of \typ{hg}    
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   652
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   653
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   654
\section{Presentations - Beamer}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   655
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   656
  \frametitle{Beamer}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   657
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   658
  \item Use beamer since your report's \LaTeX~ would be re-usable.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   659
  \item It is recommended to start with on of the beamer templates.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   660
  \item Let's look at speaker introduction template.
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   661
  \item \lstinline+\documentclass{beamer}+ tells \LaTeX~ to start a
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   662
    beamer presentation. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   663
  \item A beamer document is very similar to any other \LaTeX~
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   664
    document except that content is divided into slides. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   665
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   666
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   667
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   668
\begin{frame}[fragile]
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   669
  \frametitle{Beamer \ldots}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   670
  \begin{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   671
  \item \lstinline+\usetheme+ command is used to specify the theme of the
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   672
    presentation. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   673
  \item \lstinline+\usecolortheme+ command is used to specify the color
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   674
    theme. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   675
  \item The content of a slide is enclosed within
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   676
    \lstinline+\begin{frame}{Title}{Subtitle}+ and
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   677
    \lstinline+\end{frame}+ 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   678
  \item If the slide contains \lstinline+verbatim+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   679
    \lstinline+lstlisting+ environments, the \lstinline+\begin{frame}+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   680
    should be passed an additional argument \lstinline+[fragile]+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   681
  \item Overlays can be achieved using the \lstinline+\pause+
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   682
    command. 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   683
  \item To achieve more with beamer, it is highly recommended that you
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   684
    look at the \texttt{beameruserguide} 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   685
  \end{itemize}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   686
\end{frame}
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   687
157
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   688
\begin{frame}[fragile]
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   689
  \frametitle{}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   690
  \begin{center}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   691
    \Huge{Thank You!}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   692
  \end{center}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   693
\end{frame}
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   694
3174d4803cd5 latex: Changes to slides and handout before and after class.
Puneeth Chaganti <punchagan@fossee.in>
parents: 134
diff changeset
   695
105
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   696
\end{document} 
bba1ae4ef1ae Added slides for LaTeX.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
   697