diff --git a/examples/beamer/beamer.md b/examples/beamer/beamer.md new file mode 100644 index 0000000..3c1f569 --- /dev/null +++ b/examples/beamer/beamer.md @@ -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 + + + + This is the title of the page. + + + This is an image. + + +``` + +# 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; +``` \ No newline at end of file diff --git a/examples/beamer/beamer.pdf b/examples/beamer/beamer.pdf new file mode 100644 index 0000000..0a3fbdb Binary files /dev/null and b/examples/beamer/beamer.pdf differ diff --git a/examples/beamer/beamer.png b/examples/beamer/beamer.png new file mode 100644 index 0000000..f3eab3d Binary files /dev/null and b/examples/beamer/beamer.png differ diff --git a/examples/build-examples.sh b/examples/build-examples.sh index 9a99a88..0d8dbbb 100644 --- a/examples/build-examples.sh +++ b/examples/build-examples.sh @@ -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"