Skip to content
Stefano Zaghi edited this page Oct 30, 2014 · 1 revision

In the following some quick and dirty examples are reported. The examples may contain advanced features that are documented in other wiki pages: for now do not worry about them.

Your first 1-minute MaTiSSe.py presentation

Open with your preferred text editor a file name first_talk.md and type:

---metadata
title   = First Dirty Example
authors = ['John Doe']
---endmetadata

---theme_slide_content
background    = white
border-radius = 5%
padding       = 8%
---endtheme_slide_content

### My first slide

$slidetitle[font-size:220%]

Hello guys, this is your first step into the **MaTiSSe.py** world! 

My name is $authors[font-size:200%]

The title of this talk is

$title[font-size:220%;color:orange]

Save and give it to MaTiSSe.py:

MaTiSSe.py -i first_talk.md

Visualize the generated HTML presentation with your preferred browser:

chromium first_talk/index.html

You should see something similar to first_talk

Very simple, are you agree with me?

In this first dirty example you have seen some features:

  • a MaTiSSe.py presentation has its own metadata (title, subtitle, authors, etc...) that can be easily defined and used through the presentation, e.g. see the use of $slidetitle;
  • the theme of a MaTisse.py presentation can be easily customized, e.g. see the definition of the slide content theme ---theme_slide_content...: it is very easy to inject any valid CSS style options for customizing your theme;
  • a slide is easily created by defining a H3 heading ### Slide Title;
  • text styling (bold, italic, etc...) is easy by the easy-to-write markdown syntax, e.g. the bold-styled MaTiSSe.py is obtained by **MaTiSSe.py**.

More details on the above features can be found into the specific wiki pages.

Your second 2-minutes MaTiSSe.py presentation

Now, let us complicate the scenario. We want to create a more structured presentation with sections partitioning.

Open with your preferred text editor a file name second_talk.md and type:

---metadata
title   = Second Dirty Example
authors = ['John Doe']
---endmetadata

---theme_slide_content
background    = white
border-radius = 5%
padding       = 8%
---endtheme_slide_content

# First Section

### The first slide of first section

$slidetitle[font-size:220%]

Hello guys, this is your first **structured** talk!

My name is $authors[font-size:200%]

The title of this talk is

$title[font-size:220%;color:orange]

Use **right-arrow** to go to the second slide

# Second Section

### The first slide of second section

$slidetitle[font-size:220%]

Use **left-arrow** to come back to the first slide  

Save and give it to MaTiSSe.py:

MaTiSSe.py -i second_talk.md

Visualize the generated HTML presentation with your preferred browser:

chromium second_talk/index.html

You should see something similar to second_talk

Clone this wiki locally