CSSS 569 Visualizing Data and Models Lab 2: Intro to L A T EX with - - PowerPoint PPT Presentation

csss 569 visualizing data and models
SMART_READER_LITE
LIVE PREVIEW

CSSS 569 Visualizing Data and Models Lab 2: Intro to L A T EX with - - PowerPoint PPT Presentation

CSSS 569 Visualizing Data and Models Lab 2: Intro to L A T EX with Overleaf Kai Ping (Brian) Leung Department of Political Science, UW January 15, 2020 Intro to T EX and L A T EX EX is a typesetting engine 1 designed by Donald Knuth, a T


slide-1
SLIDE 1

CSSS 569 Visualizing Data and Models

Lab 2: Intro to L

AT

EX with Overleaf Kai Ping (Brian) Leung

Department of Political Science, UW

January 15, 2020

slide-2
SLIDE 2

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-3
SLIDE 3

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-4
SLIDE 4

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-5
SLIDE 5

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

◮ Typesetting journal articles, technical reports, books, and slides

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-6
SLIDE 6

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

◮ Typesetting journal articles, technical reports, books, and slides ◮ Control over large documents containing sectioning, cross-references, tables and figures

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-7
SLIDE 7

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

◮ Typesetting journal articles, technical reports, books, and slides ◮ Control over large documents containing sectioning, cross-references, tables and figures ◮ Typesetting of complex mathematical formulas

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-8
SLIDE 8

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

◮ Typesetting journal articles, technical reports, books, and slides ◮ Control over large documents containing sectioning, cross-references, tables and figures ◮ Typesetting of complex mathematical formulas ◮ Advanced typesetting of mathematics with AMS-LaTeX

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-9
SLIDE 9

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

◮ Typesetting journal articles, technical reports, books, and slides ◮ Control over large documents containing sectioning, cross-references, tables and figures ◮ Typesetting of complex mathematical formulas ◮ Advanced typesetting of mathematics with AMS-LaTeX ◮ Automatic generation of bibliographies and indexes

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-10
SLIDE 10

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

◮ Typesetting journal articles, technical reports, books, and slides ◮ Control over large documents containing sectioning, cross-references, tables and figures ◮ Typesetting of complex mathematical formulas ◮ Advanced typesetting of mathematics with AMS-LaTeX ◮ Automatic generation of bibliographies and indexes ◮ Multi-lingual typesetting

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-11
SLIDE 11

Intro to T EX and L

AT

EX

◮ T EX is a typesetting engine1 designed by Donald Knuth, a computer scientist and mathematician at Stanford

◮ For typesetting scientific text and mathematical formulas

◮ L

AT

EX is a document preparation system, or a macro package, built on top of the T EX engine, with features:

◮ Typesetting journal articles, technical reports, books, and slides ◮ Control over large documents containing sectioning, cross-references, tables and figures ◮ Typesetting of complex mathematical formulas ◮ Advanced typesetting of mathematics with AMS-LaTeX ◮ Automatic generation of bibliographies and indexes ◮ Multi-lingual typesetting ◮ See more here

1Modern extensions of the T

EX engines include pdfTeX, XeTeX, LuaTeX, etc.

slide-12
SLIDE 12

Intro to T EX and L

AT

EX

◮ Popular implementations, or distributions, of T EX/L

AT

EX

slide-13
SLIDE 13

Intro to T EX and L

AT

EX

◮ Popular implementations, or distributions, of T EX/L

AT

EX

◮ MacTeX for Mac OS: http://www.tug.org/mactex/

slide-14
SLIDE 14

Intro to T EX and L

AT

EX

◮ Popular implementations, or distributions, of T EX/L

AT

EX

◮ MacTeX for Mac OS: http://www.tug.org/mactex/ ◮ MiKTeX for Windows: https://miktex.org

slide-15
SLIDE 15

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

slide-16
SLIDE 16

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

slide-17
SLIDE 17

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

◮ WYSIWYG: What You See Is What You Get

slide-18
SLIDE 18

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

◮ WYSIWYG: What You See Is What You Get ◮ You interact with a user interface to control the document layout while typing text

slide-19
SLIDE 19

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

◮ WYSIWYG: What You See Is What You Get ◮ You interact with a user interface to control the document layout while typing text ◮ What is displayed on the screen resembles what will be printed

slide-20
SLIDE 20

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

◮ WYSIWYG: What You See Is What You Get ◮ You interact with a user interface to control the document layout while typing text ◮ What is displayed on the screen resembles what will be printed

◮ L

AT

EX

slide-21
SLIDE 21

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

◮ WYSIWYG: What You See Is What You Get ◮ You interact with a user interface to control the document layout while typing text ◮ What is displayed on the screen resembles what will be printed

◮ L

AT

EX

◮ You provide “L

A

T EX commands” to specify the layout, structure, and details of the document:

slide-22
SLIDE 22

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

◮ WYSIWYG: What You See Is What You Get ◮ You interact with a user interface to control the document layout while typing text ◮ What is displayed on the screen resembles what will be printed

◮ L

AT

EX

◮ You provide “L

A

T EX commands” to specify the layout, structure, and details of the document: ◮ \command[optional parameter]{parameter}

slide-23
SLIDE 23

Intro to T EX and L

AT

EX

◮ L

AT

EX vs. other word processors (e.g. Microsoft Word)

◮ Microsoft Word

◮ WYSIWYG: What You See Is What You Get ◮ You interact with a user interface to control the document layout while typing text ◮ What is displayed on the screen resembles what will be printed

◮ L

AT

EX

◮ You provide “L

A

T EX commands” to specify the layout, structure, and details of the document: ◮ \command[optional parameter]{parameter} ◮ And typeset the document using the T EX engine and compile the output

slide-24
SLIDE 24

Intro to T EX and L

AT

EX

◮ The input for L

AT

EX is a plain text file (.tex)

slide-25
SLIDE 25

Intro to T EX and L

AT

EX

◮ The input for L

AT

EX is a plain text file (.tex)

◮ You need a text editor!

slide-26
SLIDE 26

Intro to T EX and L

AT

EX

◮ The input for L

AT

EX is a plain text file (.tex)

◮ You need a text editor!

◮ Numerous popular text editors

slide-27
SLIDE 27

Intro to T EX and L

AT

EX

◮ The input for L

AT

EX is a plain text file (.tex)

◮ You need a text editor!

◮ Numerous popular text editors

◮ Specific: Texmaker, TeXShop, TeXstudio, TeXworks. . .

slide-28
SLIDE 28

Intro to T EX and L

AT

EX

◮ The input for L

AT

EX is a plain text file (.tex)

◮ You need a text editor!

◮ Numerous popular text editors

◮ Specific: Texmaker, TeXShop, TeXstudio, TeXworks. . . ◮ Generic: Emacs (Aquamacs), Vim, Sublime, Atom. . .

slide-29
SLIDE 29

Intro to T EX and L

AT

EX

◮ The input for L

AT

EX is a plain text file (.tex)

◮ You need a text editor!

◮ Numerous popular text editors

◮ Specific: Texmaker, TeXShop, TeXstudio, TeXworks. . . ◮ Generic: Emacs (Aquamacs), Vim, Sublime, Atom. . .

◮ A quick demonstration

slide-30
SLIDE 30

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . .

slide-31
SLIDE 31

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

slide-32
SLIDE 32

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

◮ An online L

AT

EX editor

slide-33
SLIDE 33

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

◮ An online L

AT

EX editor

◮ Integrated PDF preview pane

slide-34
SLIDE 34

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

◮ An online L

AT

EX editor

◮ Integrated PDF preview pane ◮ Quality of life features: auto-complete commands, auto-close brackets, keyboard shortcuts, etc.

slide-35
SLIDE 35

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

◮ An online L

AT

EX editor

◮ Integrated PDF preview pane ◮ Quality of life features: auto-complete commands, auto-close brackets, keyboard shortcuts, etc. ◮ Numerous templates: journal articles, books, CVs, slides, posters, etc.

slide-36
SLIDE 36

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

◮ An online L

AT

EX editor

◮ Integrated PDF preview pane ◮ Quality of life features: auto-complete commands, auto-close brackets, keyboard shortcuts, etc. ◮ Numerous templates: journal articles, books, CVs, slides, posters, etc. ◮ Easy collaboration

slide-37
SLIDE 37

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

◮ An online L

AT

EX editor

◮ Integrated PDF preview pane ◮ Quality of life features: auto-complete commands, auto-close brackets, keyboard shortcuts, etc. ◮ Numerous templates: journal articles, books, CVs, slides, posters, etc. ◮ Easy collaboration ◮ Integrated with Zotero and Mendeley for bibliography management

slide-38
SLIDE 38

Intro to L

AT

EX with Overleaf

◮ All the above sound pretty complicated. . . ◮ Overleaf: https://www.overleaf.com/

◮ An online L

AT

EX editor

◮ Integrated PDF preview pane ◮ Quality of life features: auto-complete commands, auto-close brackets, keyboard shortcuts, etc. ◮ Numerous templates: journal articles, books, CVs, slides, posters, etc. ◮ Easy collaboration ◮ Integrated with Zotero and Mendeley for bibliography management ◮ Integrated with Git for version control

slide-39
SLIDE 39

Intro to L

AT

EX with Overleaf

◮ Before we dive in, useful resources

slide-40
SLIDE 40

Intro to L

AT

EX with Overleaf

◮ Before we dive in, useful resources

◮ The Not So Short Introduction to L

AT

EX2ε (Oetiker et al., 2018)

slide-41
SLIDE 41

Intro to L

AT

EX with Overleaf

◮ Before we dive in, useful resources

◮ The Not So Short Introduction to L

AT

EX2ε (Oetiker et al., 2018)

◮ Learn L

A

T EX in 139 pages / minutes

slide-42
SLIDE 42

Intro to L

AT

EX with Overleaf

◮ Before we dive in, useful resources

◮ The Not So Short Introduction to L

AT

EX2ε (Oetiker et al., 2018)

◮ Learn L

A

T EX in 139 pages / minutes

◮ ‘Overleaf‘ documentation

slide-43
SLIDE 43

Intro to L

AT

EX with Overleaf

◮ Before we dive in, useful resources

◮ The Not So Short Introduction to L

AT

EX2ε (Oetiker et al., 2018)

◮ Learn L

A

T EX in 139 pages / minutes

◮ ‘Overleaf‘ documentation

◮ Contains intro to basic L

A

T EX, Overleaf, and many practical guides

slide-44
SLIDE 44

Intro to L

AT

EX with Overleaf

◮ Before we dive in, useful resources

◮ The Not So Short Introduction to L

AT

EX2ε (Oetiker et al., 2018)

◮ Learn L

A

T EX in 139 pages / minutes

◮ ‘Overleaf‘ documentation

◮ Contains intro to basic L

A

T EX, Overleaf, and many practical guides

◮ T EX at StackExchange

slide-45
SLIDE 45

Intro to L

AT

EX with Overleaf

◮ Some useful templates:

slide-46
SLIDE 46

Intro to L

AT

EX with Overleaf

◮ Some useful templates:

◮ Thesis: here

slide-47
SLIDE 47

Intro to L

AT

EX with Overleaf

◮ Some useful templates:

◮ Thesis: here ◮ Academic journal: here

slide-48
SLIDE 48

Intro to L

AT

EX with Overleaf

◮ Some useful templates:

◮ Thesis: here ◮ Academic journal: here ◮ Presentation slides (Beamer): here and here

slide-49
SLIDE 49

Intro to L

AT

EX with Overleaf

◮ Some useful templates:

◮ Thesis: here ◮ Academic journal: here ◮ Presentation slides (Beamer): here and here ◮ Poster: here

slide-50
SLIDE 50

Intro to L

AT

EX with Overleaf

◮ Some useful templates:

◮ Thesis: here ◮ Academic journal: here ◮ Presentation slides (Beamer): here and here ◮ Poster: here ◮ Graphs, trees, diagrams (TikZ): here