Skip to content

Instantly share code, notes, and snippets.

@twlz0ne
Last active September 10, 2017 10:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twlz0ne/794ad369a1fb16a85af4f49c294d1ede to your computer and use it in GitHub Desktop.
Save twlz0ne/794ad369a1fb16a85af4f49c294d1ede to your computer and use it in GitHub Desktop.
Beamer + Pandoc
title subtitle author date theme toc toc-depth secnumdepth
TITLE
subtitle
author
yyyy-mm-dd
Frankfurt
true
3
3

Section, Frame & Navigation

Frame

We don't need SubSection, Frame is good.

Frame 2

Note the symbols \alert{ooo} of the Navigation Bar

Markdown & TeX

Code block {.fragile}

Surround \alert{Markdown} code block with \TeX{} block

\T{\begin{block}{Code block}}

    int main()
    {
        printf("Hello World!\n");
        return 0;
    }

\T{\end{block}}

Alert {.fragile}

\begin{onlyenv}<1-2> Display until Item 3 appear \end{onlyenv}

\alert<2->{Alert} when Item 2 appear

  • \alert<1>{Item 1}
  • \alert<2>{Item 2}
  • \alert<3>{Item 3}

\begin{frame}[fragile]{Raw Tex Frame}

\large This Frame Created by Raw \TeX{}

\begin{block}{Tex Code} \begin{verbatim} ##

\begin{frame}{Raw Tex Frame}
\large This Frame Created by Raw \TeX{}
\end{frame}

\end{verbatim} \end{block}

\end{frame}

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment