Main-Title

Sub-Title

by Authors Name

1. Markdown

1.1. General

Some markdown text.

A list:

  • something
  • something else

A numbered list

  1. something
  2. something else

non-ascii characters TODO

This is an abbreviated section of the document text, which we only want in a presentation

  • summary of document text

1.2. References and Citations

References to fig. 1, tbl. 1, =@eqn:example_sympy and code 3.

A latex citation.[Zelenyak et al, 2016.]

A html citation.(Kirkeminde, 2012)

1.3. Todo notes

Some text.

2. Text Output

This is some printed text,
with a nicely formatted output.

3. Images and Figures

Figure 1: A nice picture.

3.1. Displaying a plot with its code


Code 3: The plotting code for a matplotlib figure (fig. 2).
plt.scatter(np.random.rand(10), np.random.rand(10),
            label='data label')
plt.ylabel(r'a y label with latex $\alpha$')
plt.legend();
Figure 2: A matplotlib figure, with the caption set in the markdowncell above the figure.

4. Tables (with pandas)


Code 5: The plotting code for a pandas Dataframe table (tbl. 1).
df = pd.DataFrame(np.random.rand(3,4),columns=['a','b','c','d'])
df.a = ['$\delta$','x','y']
df.b = ['l','m','n']
df.set_index(['a','b'])
df.round(3)
Table 1: An example of a table created with pandas dataframe.
a b c d
0 $\delta$ l 0.583 0.279
1 x m 0.914 0.021
2 y n 0.333 0.116

5. Equations (with ipython or sympy)

$$ a = b+c $$

Code 8: The plotting code for a sympy equation (=@eqn:example_sympy).
y = sym.Function('y')
n = sym.symbols(r'\alpha')
f = y(n)-2*y(n-1/sym.pi)-5*y(n-2)
sym.rsolve(f,y(n),[1,4])
$$\left(\sqrt{5} i\right)^{\alpha} \left(\frac{1}{2} - \frac{2 i}{5} \sqrt{5}\right) + \left(- \sqrt{5} i\right)^{\alpha} \left(\frac{1}{2} + \frac{2 i}{5} \sqrt{5}\right)$$