Short Example Page
Showing how some elements come out in the Hugo theme “Brutalist-Minimalist”.
We’ll be showing:
- Code blocks.
- Inline math.
- Display math.
Here is the function main
of Hello World. But first a bit of
blind text: Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin
quam nisl, tincidunt et, mattis eget, convallis nec, purus.
#include <stdio.h>
int main(){
printf("%s\n", "hello world");
}
Then there is math, like [$ \psi^2 > a^2 $]. But we’re adding some blind text here first, so the overall layout looks nicer. Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio. Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. Sed bibendum. Aliquam posuere. Nunc aliquet, augue nec adipiscing interdum, lacus tellus malesuada massa, quis varius mi purus non odio.
[$$ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) $$]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus.