45
Darren Strash: Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics Institute of Theoretical Informatics – Algorithmics www.kit.edu KIT – University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz Association Template and Ipe Tutorial 24. April 2015 L A T E X Darren Strash

Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

  • Upload
    others

  • View
    13

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Institute of Theoretical Informatics – Algorithmics

www.kit.eduKIT – University of the State of Baden-Wuerttemberg andNational Laboratory of the Helmholtz Association

Template and Ipe Tutorial

24. April 2015LATEXDarren Strash

Page 2: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

LATEX class SNSEMINAR, same basic constructs as ARTICLEclass:

title, author, section, subsection, subsubsection, paragraphabstract, document environmentsamsmath and many custom theorems included

theoremprooflemmacorollarydefinitionexampleobservation

Write-up Template

1

Page 3: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Ipe Extensible Drawing Editor

Developed by Otfried Cheong (Professor at KAIST)

Tools for drawing vector graphicsDesigned for computational geometry book:

Conjecture: Ipe is the most-used graphics editor in algorithmsarticles.

2

Page 4: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Ipe Extensible Drawing Editor

Why use Ipe?

WYSIWYGDesigned for scientific publicationsCreates editable pdf filesSupports presentations (including this one)LATEX integrationSnapping and alignmentCustomizable style sheets and IpeletsIt’s free

Drawbacks

Cumbersome to install on non *nix machinesLearning curve

3

Page 5: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

A Note on Beamer

Beamer is another popular presentation tool

A LATEX packageThere are existing templates for KIT-style slides

Major drawback : It can be difficult to get images to align betweenslides.

I often see this:

4

Page 6: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

A Note on Beamer

Beamer is another popular presentation tool

A LATEX packageThere are existing templates for KIT-style slides

Major drawback : It can be difficult to get images to align betweenslides.

I often see this:

4

Page 7: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

A Note on Beamer

Beamer is another popular presentation tool

A LATEX packageThere are existing templates for KIT-style slides

Major drawback : It can be difficult to get images to align betweenslides.

I often see this:

4

Page 8: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

A Note on Beamer

Beamer is another popular presentation tool

A LATEX packageThere are existing templates for KIT-style slides

Major drawback : It can be difficult to get images to align betweenslides.

I often see this:The bounding box changed

4

Page 9: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

A Note on Beamer

Beamer is another popular presentation tool

A LATEX packageThere are existing templates for KIT-style slides

Major drawback : It can be difficult to get images to align betweenslides.

I often see this:The bounding box changed

This does not happen in Ipe!

4

Page 10: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Ipe Extensible Drawing Editor

Style sheets

Style sheets provide symbols (named drawable objects)Presentation—Frame title, titlepage

5

Page 11: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Ipe Extensible Drawing Editor

Style sheets

Style sheets provide symbols (named drawable objects)Presentation—Frame title, titlepageKIT colors—Full range of colors

5

Page 12: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Ipe Extensible Drawing Editor

This is a different boxYes it is

Style sheets

Style sheets provide symbols (named drawable objects)Presentation—Frame title, titlepageKIT colors—Full range of colors

Ipelets

presentation.lua → Boxes!

5

Page 13: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Style sheets

...

Style sheets

Written in Ipe’s XML formatLoad through Edit → Style sheetsSpecify colors, shapes, dashes, etc.Example: kit-slides.isy

6

Page 14: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Ipelets

Ipelets

Written as a Lua pluginPut in ~/.ipe/ipelets/, available in Ipelets menuExample: tools presentation.lua

7

Page 15: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Tools

Text tools:

Single-line textMath (inserts $...$around text)Multi-line text

Basic tools:

SelectTranslateRotateEditPanShred

8

Page 16: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Tools

Marks (Useful for graph nodes) Shapes

BoxLinePolylinesSplinesSplinegonArcsCirclesBrush

8

Page 17: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Tools

Snapping and grid options

Snap to vertexSnap to line, arcSnap to intersectionSnap to gridGrid sizeAngular snap (translate along angle)Auto snap

8

Page 18: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Built-in Ipelet: Align & Distribute

9

Page 19: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Built-in Ipelet: Align & Distribute

Align H Center

9

Page 20: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Built-in Ipelet: Align & Distribute

Distribute Vertically

9

Page 21: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Built-in Ipelet: Align & Distribute

Distribute Top to BottomTouching

9

Page 22: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Built-in Ipelet: Align & Distribute

Align Right

9

Page 23: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Built-in Ipelet: Align & Distribute

Align V Center

9

Page 24: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layers

Collection of objectsCan hide and show layersThe active layer is currently being editedNot necessarily in depth order

Layers

10

Page 25: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layers

Collection of objectsCan hide and show layersThe active layer is currently being editedNot necessarily in depth order

Layer 1

Layers

10

Page 26: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layers

Collection of objectsCan hide and show layersThe active layer is currently being editedNot necessarily in depth order

s

t

Layer 1

Layer 2

Layers

10

Page 27: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layers

Collection of objectsCan hide and show layersThe active layer is currently being editedNot necessarily in depth order

s

t

Layer 1

Layer 2

Layer 3

Layers

10

Page 28: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layers

Collection of objectsCan hide and show layersThe active layer is currently being editedNot necessarily in depth order

s

t

Layer 1

Layer 2

Layer 3

Active

Layers

10

Page 29: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

A view is...

a collection of visible layershelpful for presentationsused to create animationsassociated with one page in the PDF

Views

11

Page 30: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

A view is...

a collection of visible layershelpful for presentationsused to create animationsassociated with one page in the PDF

Layer 1

Layer 2

Layer 3

Layer 4

Layer 5

Layer 6

View 1

Views

11

Page 31: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

A view is...

a collection of visible layershelpful for presentationsused to create animationsassociated with one page in the PDF

Layer 1 Layer 3 Layer 5

View 2

Views

11

Page 32: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

A view is...

a collection of visible layershelpful for presentationsused to create animationsassociated with one page in the PDF

Layer 1

Layer 2

View 3

Views

11

Page 33: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

A page is...

a collection of viewsone or more pages in the PDF outputeach slide of a presentation

Pages

12

Page 34: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layer 1

Layer 2

Layer 3

Layer 4

Layer 5

Layer 6

View 1

A page is...

a collection of viewsone or more pages in the PDF outputeach slide of a presentation

Pages

/ Page 1

12

Page 35: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layer 1 Layer 3 Layer 5

View 2

A page is...

a collection of viewsone or more pages in the PDF outputeach slide of a presentation

Pages

/ Page 1

12

Page 36: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Layers, Views, & Pages

Layer 1

Layer 2

View 3

A page is...

a collection of viewsone or more pages in the PDF outputeach slide of a presentation

Pages

/ Page 1

12

Page 37: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

KIT/ITI Template

Setup

Move ipelets to ~/.ipe/ipelets/Start by opening an existing presentation (included)Load style sheets (KIT colors, transparency)

Presentation elements

Most are stored as symbols, to be cloned :Ipelets → Symbols → Clone Symbol

Title page: Clone TitlepageFrame title: Clone FrameTitleFrame subtitle: Clone FrameSubtitleFrame numbers:

Presentation Tools → update frame numbers

Getting Started

13

Page 38: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

KIT/ITI Template

Setup

Move ipelets to ~/.ipe/ipelets/Start by opening an existing presentation (included)Load style sheets (KIT colors, transparency)

Presentation elements

Most are stored as symbols, to be cloned :Ipelets → Symbols → Clone Symbol

Title page: Clone TitlepageFrame title: Clone FrameTitleFrame subtitle: Clone FrameSubtitleFrame numbers:

Presentation Tools → update frame numbers

Getting Started

13

Page 39: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

KIT/ITI Template

Setup

Move ipelets to ~/.ipe/ipelets/Start by opening an existing presentation (included)Load style sheets (KIT colors, transparency)

Presentation elements

Most are stored as symbols, to be cloned :Ipelets → Symbols → Clone Symbol

Title page: Clone TitlepageFrame title: Clone FrameTitleFrame subtitle: Clone FrameSubtitleFrame numbers:

Presentation Tools → update frame numbers

Getting Started

13

Page 40: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

KIT/ITI TemplateBoxes

KIT Boxes

Tabbed BoxIpelets → Presentation → Tabbed Box

Ipelets → Presentation Tools → create KIT Box *

Box: Ipelets → Presentation → Box It

14

Page 41: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

QuirksSelection

Selecting a single object

Need to click the boundary of an objectHard to select marks (use space to select from multipleobjects)

*click*

15

Page 42: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Quirks

Selecting multiple objects

Selection box must contain the items completely!Makes it hard to select a few objects that overlap other objectsSolution: Use layers to hide objects you don’t want to select

Selection

Selecting a single object

Need to click the boundary of an objectHard to select marks (use space to select from multipleobjects)

*click* *click*

drag

*release*

15

Page 43: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Quirks

Pasting from other Ipe files

Make sure you have the same style sheetsIf missing colors, etc., objects will not look the sameCan be difficult to troubleshoot. Wait for the planets to align...

Display

16

Page 44: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

Quirks

Object properties

UI elements don’t match the current selectionUI always shows the last property pickedRecommendation: Make similar objects together

Fill color displayed: Selected:

Pasting from other Ipe files

Make sure you have the same style sheetsIf missing colors, etc., objects will not look the sameCan be difficult to troubleshoot. Wait for the planets to align...

Display

16

Page 45: Template and Ipe Tutorial - KITalgo2.iti.kit.edu/.../template_ipe_presentation.pdf · Template and Ipe Tutorial Institute of Theoretical Informatics Algorithmics KIT/ITI Template

Darren Strash:Template and Ipe Tutorial

Institute of Theoretical InformaticsAlgorithmics

More Resources

17

Download and open this presentation in Ipe!See the Ipe manual[http://ipe7.sourceforge.net/manual/manual.pdf]Examples, walk-throughs, and guides on the ITI webpage[http://i11www.iti.uni-karlsruhe.de/information/scripts]Ipe showcase [http://sourceforge.net/p/ipe7/wiki/Home/#showcase]