mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-19 06:17:51 +00:00
Added an example on how to generate beamer slides.
This commit is contained in:
parent
da2d36e804
commit
b38f9e4d79
52
examples/beamer/beamer.md
Normal file
52
examples/beamer/beamer.md
Normal file
@ -0,0 +1,52 @@
|
||||
---
|
||||
title: "Example PDF"
|
||||
author: [Author]
|
||||
date: "2019-06-16"
|
||||
subject: "Markdown"
|
||||
keywords: [Markdown, Example]
|
||||
lang: "en"
|
||||
...
|
||||
|
||||
# Vinaque sanguine metuenti cuiquam Alcyone fixus
|
||||
|
||||
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
|
||||
esse, obstat gravitate.
|
||||
|
||||
```java
|
||||
public class Example implements LoremIpsum {
|
||||
public static void main(String[] args) {
|
||||
if(args.length < 2) {
|
||||
System.out.println("Lorem ipsum dolor sit amet");
|
||||
}
|
||||
} // Obscura atque coniuge, per de coniunx
|
||||
}
|
||||
```
|
||||
|
||||
# Obscura atque coniuge, per de coniunx
|
||||
|
||||
- Vertitur iura tum nepotis causa motus.
|
||||
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>This is the title of the page.</title>
|
||||
</head>
|
||||
<body>
|
||||
<img src="./image.jpg" alt="This is an image.">
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
# Scyrumve spiro subitusque mente
|
||||
|
||||
```{.sql caption="Pallas nuper longusque cratere habuisse sepulcro pectore fertur."}
|
||||
CREATE TYPE person_t AS (
|
||||
firstName VARCHAR(50) NOT NULL,
|
||||
lastName VARCHAR(50) NOT NULL
|
||||
);
|
||||
|
||||
CREATE Or REPLACE FUNCTION getFormattedName(person) RETURNS text AS
|
||||
$$ SELECT 'P: ' || initcap($1.firstName); $$
|
||||
LANGUAGE SQL;
|
||||
```
|
BIN
examples/beamer/beamer.pdf
Normal file
BIN
examples/beamer/beamer.pdf
Normal file
Binary file not shown.
BIN
examples/beamer/beamer.png
Normal file
BIN
examples/beamer/beamer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 176 KiB |
@ -11,6 +11,10 @@ echo "- basic-example"
|
||||
pandoc "basic-example/basic-example.md" -o "basic-example/basic-example.pdf" --from markdown --template "../eisvogel.latex" --listings
|
||||
pdftoppm -r 150 -png "basic-example/basic-example.pdf" > "basic-example/basic-example.png"
|
||||
|
||||
echo "- beamer"
|
||||
pandoc "beamer/beamer.md" -o "beamer/beamer.pdf" --from markdown --to beamer --template "../eisvogel.latex" --listings
|
||||
pdftoppm -r 150 -png "beamer/beamer.pdf" > "beamer/beamer.png"
|
||||
|
||||
echo "- custom-titlepage"
|
||||
pandoc "custom-titlepage/custom-titlepage.md" -o "custom-titlepage/custom-titlepage.pdf" --from markdown --template "../eisvogel.latex" -V "logo=custom-titlepage/logo-inverted.pdf" --listings
|
||||
pdftoppm -r 150 -png "custom-titlepage/custom-titlepage.pdf" > "custom-titlepage/custom-titlepage.png"
|
||||
|
Loading…
Reference in New Issue
Block a user