Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

wip: Added a beamerdefs.txt file for easily adding Latex to rst2beamer

  • Loading branch information...
commit e7ebb40f7bac8c776bffb113e95a0db8e51ac37b 1 parent 0045348
@whiteinge authored
Showing with 75 additions and 0 deletions.
  1. +75 −0 beamerdefs.txt
View
75 beamerdefs.txt
@@ -0,0 +1,75 @@
+.. Helper substitutions for getting Beamer one-off constructs into
+.. presentations run through rst2beamer.py
+.. Many thanks to Amjith <http://github.com/amjith>
+
+.. generic substitutions {{{1
+.. ...........................................................................
+
+.. Generic close block used by most of the following
+.. |>| raw:: latex
+
+ }
+
+.. inline substitutions {{{1
+.. ...........................................................................
+.. Usage:
+.. x |small<| This is small |>|
+
+.. |title<| raw:: latex
+
+ \frametitle{
+
+.. |subtitle<| raw:: latex
+
+ \framesubtitle{
+
+.. |small<| raw:: latex
+
+ {\small
+
+.. block substitutions {{{1
+.. ...........................................................................
+.. Usage:
+.. x |block<| This is a block title |>|
+.. x This is the block content
+.. x |end_block|
+
+.. |frame| raw:: latex
+
+ \begin{frame}
+
+.. |end_frame| raw:: latex
+
+ \end{frame}
+
+.. |center| raw:: latex
+
+ \begin{center}
+
+.. |end_center| raw:: latex
+
+ \end{center}
+
+.. |block<| raw:: latex
+
+ \begin{block}{
+
+.. |end_block| raw:: latex
+
+ \end{block}
+
+.. |example<| raw:: latex
+
+ \begin{exampleblock}{
+
+.. |end_example| raw:: latex
+
+ \end{exampleblock}
+
+.. |alert<| raw:: latex
+
+ \begin{alertblock}{
+
+.. |end_alert| raw:: latex
+
+ \end{alertblock}
Please sign in to comment.
Something went wrong with that request. Please try again.