Introduction to L A TEX Part II

Similar documents
Introduction to L A TEX Part II

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

Introduction to LaTeX. Paul Fodor Stony Brook University

Become a L A TEX Guru

MATLAB for the Sciences

L A TEXcourse. Carmen Alonso Montes. 30th May-2nd June, 2016

David Helmbold, October 2005, Revised October 2007

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

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

L A T E X Tutorial. Wanmin Liu August. Department of Mathematics The Hong Kong University of Science and Technology

A Beginner s guide to L A TEX for CSCA67/MATA67. Kohilan Mohanarajan

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

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

Researcher Development Unit: Introduction to Latex

Tools for Scientific Writing with LAT E X. Johan Carlson

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

Appendix B: Latex survival guide

Mikkel Madsen

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

Very Short Introduction to LaTeX

LaTeX: Scientific Document Writing

Learn how to [learn] LATEX

Learning L A TEX. Patrick Lam

Assessments for CS students:

LaTeX. Information Literacy II EN(IL2) Course

An introduction to L A TEX for students

An Introduction to LATEX

The Name of the Game. An Introduction to LATEX. Why L A TEX? The Name of the Game

Math 235: Introduction to LaTeX

Learn LaTeX in 30 Minutes. A. LOTFI School of Science and Technology Nottingham Trent University

Introduction to L A TEX

Introduction to L A TEX

L A TEXday, morning session Discovering L A TEX

Latex Tutorial. CIS400 Senior Design 9/5/2013

Lecture 3-Introduction to Latex (II)

L A TEXInstallation and Introduction

Helen Cameron. A Brief Overview of LATEX

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

Helen Cameron. A Brief Overview of LATEX

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

Intro to LaTeX Workshop

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

Student Learning Service: Introduction to Latex

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

Mingxi Liu Energy & Resources Group University of California, Berkeley CONTENTS

Introduction to L A TEX

Introduction to LATEX

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

L A TEX incollaboration

Outline. A Sneak Peek

An Introduction to L A TEX

INTRODUCTION TO L A TEX

Latex Programs for Record

An Introduction to LATEX

Introduction to L A TEX

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

Getting Started with L A T E X for a Technical Document or Thesis

An introduction to LaTeX

Praktische Aspekte der Informatik. Moritz Mühlhausen Prof. Marcus Magnor

LearningLatex. % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials

An introduction to LATEX

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

PRISM Introduction to L A TEX

Presentation of Scientific Results

Lecture 1: Short summary of LaTeX basics

An Interactive Introduction to L A TEX

LAT E X Math Mode. RSI 2007 Staff

Using LAT E X for your master s thesis

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014

Getting Funky: Headers, Tables, Abstracts etc.

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

The Joys of L A T E X

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Introduction to Math in LaTeX

Tools for Scientific Writing with LAT E X. Johan Carlson

Introduction to LATEX

Abstract A quick intro by examples to the document preparation language L A TEX.

(Yet Another) Introduction to L A TEX 2ε (V3)

LATEX Seminar Week 2 Jonathan Blair & Evan Ott. Document classes, basic math formatting, basic pictures, tables and matrices

INTRODUCTION TO L A TEX WHAT IS L A TEX?

Introduction to L A TEX

VERY VERY SHORT GUIDE TO LATEX

The Joys of L A T E X

TEX users habits versus publishers requirements

Learning LaTeX: The Basics

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

Workshop: A Simple Introduction to L A TEX

Workshop on LATEX 2ε. Asst. Prof. Dr. Kemal Bagzibagli Department of Economics. 20 May 2015

Getting Started with L A TEX

Document Preparation Word Processors

Preparing Basic Manuscripts with L A TEX

Workshop on LaTeX. Outline. Muhammad Mostafa Monowar 11/13/2017

The Honours Dissertation Class for L A TEX2e. Cara MacNish

Pimp your thesis: a minimal introduction to L A T E X.

Tools Course: Part 2

How to get started in L A TEX

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

7/8. LaTex TeX -1 7/ LaTeX 7/10 2 7/11 EPS 7/12 IEEE

Using the Bard Project Style File for

Forschungskolleg / ACSE Exercise 2. Tools around LaTeX

Transcription:

Introduction to L A TEX Part II for MST Students Sascha Frank IFI 24.11.2011 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 1 / 33

1 Outline 2 Text footnote Reference Counting 3 Structure document lists BiB -TEX 4 math text, distance & brackets enviroments Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 2 / 33

Outline Basic Scientific Writing Usepackages, Presentation etc. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 3 / 33

footnotes Input Some seensless\footnote{in our view} Text. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 4 / 33

footnotes Input Some seensless\footnote{in our view} Text. Output Some seensless a Text. a In our view Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 4 / 33

footnotes Input Some seensless\footnote{in our view} Text. Output Some seensless a Text. a In our view Tables The default tabular enviroment don t support footnotes! Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 4 / 33

references within text Input Mark a text by a keyword \label{keyword}. Reference with \ref{keyword}. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 5 / 33

references within text Input Mark a text by a keyword \label{keyword}. Reference with \ref{keyword}. Output Mark a text by a keyword. Reference with 1. Here slide number. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 5 / 33

references within text Input Mark a text by a keyword \label{keyword}. Reference with \ref{keyword}. Output Mark a text by a keyword. Reference with 1. Here slide number. page reference Or the pagenumber with \pageref{keyword}. Or the pagenumber with 7. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 5 / 33

references within text Input Mark a text by a keyword \label{keyword}. Reference with \ref{keyword}. Output Mark a text by a keyword. Reference with 1. Here slide number. page reference Or the pagenumber with \pageref{keyword}. Or the pagenumber with 7. twice run L A TEX 2 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 5 / 33

counters What is counted? lists Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 6 / 33

counters What is counted? lists chapter, section, figure, table... Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 6 / 33

counters What is counted? lists chapter, section, figure, table... page Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 6 / 33

counters What is counted? lists chapter, section, figure, table... page equation Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 6 / 33

counters What is counted? lists chapter, section, figure, table... page equation footnote Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 6 / 33

counters What is counted? lists chapter, section, figure, table... page equation footnote enumerations Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 6 / 33

commands about counting \newcounter{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} \arabic{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} \arabic{name} \alph{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} \arabic{name} \alph{name} \Alph{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} \arabic{name} \alph{name} \Alph{name} \fnsymbol{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} \arabic{name} \alph{name} \Alph{name} \fnsymbol{name} \addtocounter{name}{value} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} \arabic{name} \alph{name} \Alph{name} \fnsymbol{name} \addtocounter{name}{value} \stepcounter{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

commands about counting \newcounter{name} \setcounter{name}{new value} forms of numbers \roman{name} \arabic{name} \alph{name} \Alph{name} \fnsymbol{name} \addtocounter{name}{value} \stepcounter{name} \value{name} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 7 / 33

abstract and appendix abstract \begin{abstract} An abstract. \end{abstract} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 8 / 33

abstract and appendix abstract \begin{abstract} An abstract. \end{abstract} appendix \appendix \section{figures} \section{tables} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 8 / 33

abstract and appendix abstract \begin{abstract} An abstract. \end{abstract} appendix \appendix \section{figures} \section{tables} appendix Appendix use capital letters for counting. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 8 / 33

structure no plain text Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 9 / 33

structure no plain text use \input{name} to include single TEX files Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 9 / 33

structure no plain text use \input{name} to include single TEX files example Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 9 / 33

structure no plain text use \input{name} to include single TEX files example \begin{document} \input{chapter1} \input{chapter2} \end{document} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 9 / 33

structure no plain text use \input{name} to include single TEX files example \begin{document} \input{chapter1} \input{chapter2} \end{document} alternative \include{file} but better use input Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 9 / 33

lists of... table of contens \tableofcontents Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 10 / 33

lists of... table of contens \tableofcontents list of figures \listoffigures Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 10 / 33

lists of... table of contens \tableofcontents list of figures \listoffigures list of tables \listoftables Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 10 / 33

lists of... table of contens \tableofcontents list of figures \listoffigures list of tables \listoftables list of references Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 10 / 33

structure headings \part{bla} \chapter{bla} \section{bla} \subsection{bla} and \subsubsection{bla} \paragraph{bla} and \subparagraph{bla} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 11 / 33

structure headings \part{bla} \chapter{bla} \section{bla} \subsection{bla} and \subsubsection{bla} \paragraph{bla} and \subparagraph{bla} table of contents \tableofcontents headings were automatically included Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 11 / 33

structure headings \part{bla} \chapter{bla} \section{bla} \subsection{bla} and \subsubsection{bla} \paragraph{bla} and \subparagraph{bla} table of contents \tableofcontents headings were automatically included implementation \headingcommand{heading} \headingcommand[short form]{heading} \headingcommand*{heading} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 11 / 33

figure package graphicx Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 12 / 33

figure package graphicx format eps, pdf, jpg Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 12 / 33

figure package graphicx format eps, pdf, jpg command \includegraphics(options: draft, scale, angle) Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 12 / 33

figure package graphicx format eps, pdf, jpg command \includegraphics(options: draft, scale, angle) example \includegraphics[scale=0.5, angle=90]{logo} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 12 / 33

lists of figures \begin{figure} \includegraphics[scale=0.1]{logo-sf} \caption{what ever} \end{figure} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 13 / 33

lists of figures \begin{figure} \includegraphics[scale=0.1]{logo-sf} \caption{what ever} \end{figure} file type pdflatex jpg, pdf, png... Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 13 / 33

lists of tables \begin{table} \begin{tabular}{ c c c } \hline A & B & C\\ 1 & 2 & 3\\ \hline \end{tabular} \caption{simple example} \end{table} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 14 / 33

lists of tables \begin{table} \begin{tabular}{ c c c } \hline A & B & C\\ 1 & 2 & 3\\ \hline \end{tabular} \caption{simple example} \end{table} A B C 1 2 3 Table: simple example Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 14 / 33

BiB - TEX overview name literatur.bib Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 15 / 33

BiB - TEX overview name literatur.bib quote with \cite{kurz2} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 15 / 33

BiB - TEX overview name literatur.bib quote with \cite{kurz2} sources Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 15 / 33

BiB - TEX overview name literatur.bib quote with \cite{kurz2} sources include Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 15 / 33

example entry @TechReport{RePEc:pra:mprapa:5765, author={frank, Sascha and Rehm, Jan}, title={an unnoted fair bet in german state run lotteries, a short notice}, year=2007, month=nov, institution={university Library of Munich, Germany}, type={mpra Paper}, url={http://ideas.repec.org/p/pra/mprapa/5765.html}, number={5765}, abstract={}, keywords={} } Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 16 / 33

place and style place \bibliography{literatur} style \bibliographystyle{unsrtdin} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 17 / 33

must and can Different source have different can and must fields must and can fields: Book (author,editor,title, publisher, year, series, edition,... ) Article (author, title, journal,year, key, volume,... ) PhdThesis (author, title, school, year, address, month, note,... ) TechReport(author, title, journal, year, key, type,... ) Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 18 / 33

must and can Different source have different can and must fields must and can fields: Book (author,editor,title, publisher, year, series, edition,... ) Article (author, title, journal,year, key, volume,... ) PhdThesis (author, title, school, year, address, month, note,... ) TechReport(author, title, journal, year, key, type,... ) problems for example ä etc. or & will cause some problems Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 18 / 33

how to run 1 pdflatex seminar.tex Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 19 / 33

how to run 1 pdflatex seminar.tex 2 pdflatex seminar.tex Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 19 / 33

how to run 1 pdflatex seminar.tex 2 pdflatex seminar.tex 3 bibtex seminar Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 19 / 33

how to run 1 pdflatex seminar.tex 2 pdflatex seminar.tex 3 bibtex seminar 4 pdflatex seminar.tex Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 19 / 33

how to run 1 pdflatex seminar.tex 2 pdflatex seminar.tex 3 bibtex seminar 4 pdflatex seminar.tex 5 pdflatex seminar.tex Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 19 / 33

how to run 1 pdflatex seminar.tex 2 pdflatex seminar.tex 3 bibtex seminar 4 pdflatex seminar.tex 5 pdflatex seminar.tex 6 acroread seminar.pdf Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 19 / 33

text example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 20 / 33

text example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 20 / 33

text example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 better Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 20 / 33

text example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 better example If $a,b \in R, \textrm{then}\, (a+b)^{2} = a^{2} + 2ab + b^{2}$\\ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 20 / 33

text example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 better example If $a,b \in R, \textrm{then}\, (a+b)^{2} = a^{2} + 2ab + b^{2}$\\ Output If a, b R, then (a + b) 2 = a 2 + 2ab + b 2 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 20 / 33

text amsmath example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 21 / 33

text amsmath example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 21 / 33

text amsmath example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 better Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 21 / 33

text amsmath example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 better example If $a,b \in R, \text{then}\, (a+b)^{2} = a^{2} + 2ab + b^{2}$\\ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 21 / 33

text amsmath example If $a,b \in R, then (a+b)^{2} = a^{2} + 2ab + b^{2} $\\ Output If a, b R, then(a + b) 2 = a 2 + 2ab + b 2 better example If $a,b \in R, \text{then}\, (a+b)^{2} = a^{2} + 2ab + b^{2}$\\ Output If a, b R, then (a + b) 2 = a 2 + 2ab + b 2 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 21 / 33

distance & brackets distance $x y$ xy $x\,y$ x y $x\quad y$ x y Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 22 / 33

distance & brackets distance $x y$ xy $x\,y$ x y $x\quad y$ x y brackets instead (x + \sum_{i=0}^{n} y^{i^{2}}) (x + n i=0 y i 2 ) better ( \left(x + \sum_{i=0}^{n} y^{i^{2}} \right) x + n i=0 y i 2) Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 22 / 33

normal stuff Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 23 / 33

normal stuff exponents and indices $e^{i \phi}$ e iφ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 23 / 33

normal stuff exponents and indices $e^{i \phi}$ $a_{i}$ a i e iφ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 23 / 33

normal stuff exponents and indices $e^{i \phi}$ $a_{i}$ a i e iφ root $\sqrt{2}$ 2 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 23 / 33

normal stuff exponents and indices $e^{i \phi}$ $a_{i}$ a i e iφ root $\sqrt{2}$ $\sqrt[3]{2}$ 2 3 2 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 23 / 33

normal stuff exponents and indices $e^{i \phi}$ $a_{i}$ a i e iφ root $\sqrt{2}$ $\sqrt[3]{2}$ 2 3 2 frac $\frac{1}{a}$ 1 a Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 23 / 33

normal stuff exponents and indices $e^{i \phi}$ $a_{i}$ a i e iφ root $\sqrt{2}$ $\sqrt[3]{2}$ 2 3 2 frac $\frac{1}{a}$ 1 a $\frac{1}{\frac{a}{b}}$ 1 a b Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 23 / 33

normal stuff 2 SPI Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

normal stuff 2 SPI $\sum_{i=1}^{n} a_{i}$ n i=1 a i Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

normal stuff 2 SPI $\sum_{i=1}^{n} a_{i}$ $\prod_{i=1}^{n} a_{i}$ n i=1 a i n i=1 a i Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

normal stuff 2 SPI $\sum_{i=1}^{n} a_{i}$ $\prod_{i=1}^{n} a_{i}$ $\int x \ dx $ n i=1 a i n i=1 a i x dx Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

normal stuff 2 SPI $\sum_{i=1}^{n} a_{i}$ $\prod_{i=1}^{n} a_{i}$ $\int x \ dx $ n i=1 a i n i=1 a i x dx SPI Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

normal stuff 2 SPI $\sum_{i=1}^{n} a_{i}$ $\prod_{i=1}^{n} a_{i}$ $\int x \ dx $ n i=1 a i n i=1 a i x dx SPI $\sum\limits_{i=1}^{n} a_{i}$ n a i i=1 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

normal stuff 2 SPI $\sum_{i=1}^{n} a_{i}$ $\prod_{i=1}^{n} a_{i}$ $\int x \ dx $ n i=1 a i n i=1 a i x dx SPI $\sum\limits_{i=1}^{n} a_{i}$ $\prod\limits_{i=1}^{n} a_{i}$ n a i i=1 n a i i=1 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

normal stuff 2 SPI $\sum_{i=1}^{n} a_{i}$ $\prod_{i=1}^{n} a_{i}$ $\int x \ dx $ n i=1 a i n i=1 a i x dx SPI $\sum\limits_{i=1}^{n} a_{i}$ $\prod\limits_{i=1}^{n} a_{i}$ $\int\limits_{-\infty }^{\infty} x \ dx$ n a i i=1 n a i i=1 x dx Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 24 / 33

remarks & braces remarks \dots... Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 25 / 33

remarks & braces remarks \dots... \vdots. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 25 / 33

remarks & braces remarks \dots... \vdots.. \ddots.. Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 25 / 33

remarks & braces remarks \dots... \vdots.. \ddots.. under... $\underbrace{a+\dots+a}_{\textrm{n-times}} = na $ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 25 / 33

remarks & braces remarks \dots... \vdots.. \ddots.. under... $\underbrace{a+\dots+a}_{\textrm{n-times}} = na $ } a + {{ + a } = na n-times Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 25 / 33

remarks & braces remarks \dots... \vdots.. \ddots.. under... $\underbrace{a+\dots+a}_{\textrm{n-times}} = na $ } a + {{ + a } = na n-times over... $\overbrace{a+\dots+a}^{\textrm{n-times}} = na $ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 25 / 33

remarks & braces remarks \dots... \vdots.. \ddots.. under... $\underbrace{a+\dots+a}_{\textrm{n-times}} = na $ } a + {{ + a } = na n-times over... $\overbrace{a+\dots+a}^{\textrm{n-times}} = na $ n-times {}}{ a + + a = na Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 25 / 33

in line $ Input $ x-y \leq 0 \, \forall \, x \leq y $ $ \sum_{i=0}^{n} a_{i}$ Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 26 / 33

in line $ Input $ x-y \leq 0 \, \forall \, x \leq y $ $ \sum_{i=0}^{n} a_{i}$ $ Output x y 0 x y n i=0 a i Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 26 / 33

displaymath Input \begin{displaymath} x-y \leq 0 \, \forall \, x \leq y \sum_{i=0}^{n} a_{i} \end{displaymath} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 27 / 33

displaymath Input \begin{displaymath} x-y \leq 0 \, \forall \, x \leq y \sum_{i=0}^{n} a_{i} \end{displaymath} Output x y 0 x y n i=0 a i Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 27 / 33

displaymath Input \begin{displaymath} x-y \leq 0 \, \forall \, x \leq y \sum_{i=0}^{n} a_{i} \end{displaymath} Output x y 0 x y n i=0 a i Input displaymath short \[ x-y \leq 0 \, \forall \, x \leq y \] Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 27 / 33

displaymath Input \begin{displaymath} x-y \leq 0 \, \forall \, x \leq y \sum_{i=0}^{n} a_{i} \end{displaymath} Output x y 0 x y n i=0 a i Input displaymath short \[ x-y \leq 0 \, \forall \, x \leq y \] Output displaymath short x y 0 x y Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 27 / 33

equation Input \begin{equation} x-y \leq 0 \, \forall \, x \leq y \end{equation} \begin{equation} \sum_{i=0}^{n} a_{i} \end{equation} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 28 / 33

equation Input \begin{equation} x-y \leq 0 \, \forall \, x \leq y \end{equation} \begin{equation} \sum_{i=0}^{n} a_{i} \end{equation} Output x y 0 x y (1) n a i (2) i=0 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 28 / 33

eqnarray Input eqnarray \begin{eqnarray} x-y & \leq & 0 \, \forall \, x \leq y \\ \sum_{i=0}^{n}a_{i}&\geq&0\, \forall \,a_{i}\geq0 \end{eqnarray} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 29 / 33

eqnarray Input eqnarray \begin{eqnarray} x-y & \leq & 0 \, \forall \, x \leq y \\ \sum_{i=0}^{n}a_{i}&\geq&0\, \forall \,a_{i}\geq0 \end{eqnarray} Output eqnarray x y 0 x y (1) n a i 0 a i 0 (2) i=0 Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 29 / 33

eqnarray 2 \begin{eqnarray} \sin^{ } &=& \cos(x) \\ \cos^{ } &=& - \sin(x) \\ \sin^{ } &=& - \sin(x) \\ \sin^{ } &=& - \cos(x) \\ \sin^{ } &=& \sin(x) \\ \end{eqnarray} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 30 / 33

eqnarray 2 \begin{eqnarray} \sin^{ } &=& \cos(x) \\ \cos^{ } &=& - \sin(x) \\ \sin^{ } &=& - \sin(x) \\ \sin^{ } &=& - \cos(x) \\ \sin^{ } &=& \sin(x) \\ \end{eqnarray} sin = cos(x) (1) cos = sin(x) (2) sin = sin(x) (3) sin = cos(x) (4) sin = sin(x) (5) (6) Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 30 / 33

eqnarray 2 \begin{eqnarray} \sin^{ } &=& \cos(x) \\ \cos^{ } &=& - \sin(x) \\ \sin^{ } &=& - \sin(x) \\ \sin^{ } &=& - \cos(x) \\ \sin^{ } &=& \sin(x) \end{eqnarray} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 31 / 33

eqnarray 2 \begin{eqnarray} \sin^{ } &=& \cos(x) \\ \cos^{ } &=& - \sin(x) \\ \sin^{ } &=& - \sin(x) \\ \sin^{ } &=& - \cos(x) \\ \sin^{ } &=& \sin(x) \end{eqnarray} sin = cos(x) (1) cos = sin(x) (2) sin = sin(x) (3) sin = cos(x) (4) sin = sin(x) (5) Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 31 / 33

eqnarray 2 better 2 \begin{eqnarray} \sin^{ } &=& \cos(x) \\ \cos^{ } &=& - \sin(x) \nonumber \\ \sin^{ } &=& - \sin(x) \\ \sin^{ } &=& - \cos(x) \end{eqnarray} Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 32 / 33

eqnarray 2 better 2 \begin{eqnarray} \sin^{ } &=& \cos(x) \\ \cos^{ } &=& - \sin(x) \nonumber \\ \sin^{ } &=& - \sin(x) \\ \sin^{ } &=& - \cos(x) \end{eqnarray} sin = cos(x) (1) cos = sin(x) sin = sin(x) (2) sin = cos(x) (3) Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 32 / 33

without numbers example \begin{eqnarray*} \sin^{ } &=& \cos(x) \\ \cos^{ } &=& - \sin(x) \\ \end{eqnarray*} sin = cos(x) cos = sin(x) Sascha Frank (IFI) Introduction to LATEX Part II 24.11.2011 33 / 33