Skip to content

Latest commit

 

History

History
152 lines (107 loc) · 3.2 KB

template.org

File metadata and controls

152 lines (107 loc) · 3.2 KB

My incredible presentation in org mode

Slides

Simple slide

Here you can write text in only one column

This is regular text, bold text, italic text

A list:

  • Hello
  • World

Double column

Here is an example of a 2 column slide.

Left block

  1. I can
  2. List
  3. Elements
  4. Here

Right block

./IMGs/emacs.png

And a picture can fit in this column

Features

Pictures

Here is a picture:

You can add pictures in your slides.

./IMGs/glacier.jpg

Intel Optane DCPMM performances

A table :

Left alignmentCenterRight alignment
Test 1Test 2Test 3
HelloWorld

Colors

Let’s add some color

This is red This is orange This is blue

You can specify colors using the following syntax :

[[color:red][This is red.]]

Code

A code snippet:

\fontsize{8pt}{10pt}

#include<stdlib.h>
#include<unistd.h>
#include<fcntl.h>

int main(){

  char *strs[7] = {"a", "b", "c", "d", "e", "f", "g"};
  int fd = open("testfile", O_CREAT|O_RDWR);

  for(int i=0; i<7; i++){
    write(fd, strs[i], 1);
  }
  fsync(fd);
  // =========> Persistence guarantee
  close(fd);
}

Units

Units can be used as in \LaTeX.

  • \SI{4}{\kibi\byte}
  • \SI{9.81}{\meter\per\second\square}
  • \SI{88}{mph}
  • \SI{2.21}{\giga\watt}

Misc

Exporting this presentation

To export:

  1. Open this file in emacs
  2. Press Ctrl+c Ctrl+e
  3. Press `l` (for \LaTeX)
  4. Press `P` (for PDF with Beamer)

Emacs config

Some of these features are set up with my emacs config file, available on github.

The End

End

Issues, forks, and pull requests are welcome!

/Contact :/ Rémi Dulong, remi.dulong@unine.ch