author: Moritz Siegel
shortauthor: M
title: Linux Primer
institute: VSC Vienna
date:\today
%theme: Vienna
a very short introduction
markdown + pandoc + latex = pdf
compilation
mwe:
$ pandoc --to=beamer --output=readme.pdf readme.md
or go ahead using the makefile:
$ make
$ make readme
$ make all
new slide
a section: block text
| The limerick packs laughs anatomical | In space that is quite economical. | But the good ones I've seen | So seldom are clean | And the clean ones so seldom are comical
normal list
- first
- second
- first
- second
- third
- sub 1
- sub 2
- Ninth
- Tenth
- Eleventh i. subone ii. subtwo iii. subthree
lists
Pandoc will start a new list each time a different type of list marker is used. So, the following will create three lists:
(2) Two (5) Three
- Four
- Five
- an unchecked task list item
- checked item
incremental slide
incremental list:
- first
- second
- third
- fourth
styles
something italic and something fat
This is * not emphasized *, and *neither is this*.
This is deleted text.
H2O is a liquid. 2^10^ is 1024.
Block quotations
This is a block quote.
A block quote within a block quote.
- This is a list inside a block quote.
- Second item.
code
without highlighting
some code
with highlighting (shell)
echo "hello world"
fortran code
!! seed cities
open(unit=10, file='city.dat')
do i = 1,ncity
city(i,1) = int( xmax * rand() + 1 )
city(i,2) = int( xmax * rand() + 1 )
if ( i .gt. 1 ) path = path + norm2( real( city(i,:) - city(i-1,:) ) )
write(10,'(3i5)') city(i,:)
end do
close(unit=10)
py code
import numpy as np
## set up comms protocol with arduino
def query (question):
arduino.write(str.encode(question))
ld("question: %s", question)
while True: # awaits & prints arduinos answer
raw = arduino.readline()
answer = raw.decode()
if answer:
ld("answer: %s", answer)
return answer
columns
::: columns
:::: column left ::::
:::: column right ::::
:::
