Permalink
Browse files

update README; add beamer support files

  • Loading branch information...
1 parent 66ecf47 commit e4cf55b24d4a3c939e9495b322c217e997c684e5 @fletcher committed Dec 9, 2010
View
@@ -0,0 +1,80 @@
+Title: LaTeX support files for peg-multimarkdown
+
+
+# Introduction #
+
+[peg-multimarkdown] is a program to convert plain text into HTML or LaTeX.
+This project includes some default template files that can be used to create
+certain types of documents using LaTeX.
+
+
+# Default Metadata Types #
+
+Several MultiMarkdown metadata keys are used in these files, and are fairly
+self-explanatory:
+
+* Title --- Specify the title of the document
+
+* Author --- Specify the author of the document
+
+* Date --- Specify a date
+
+* Base Header Level --- Specify the maximum organizational level for the document (e.g. part, chapter, section, subsection)
+
+Metadata is used in order, so the order and placement of the `LaTeX Input`
+metadata fields is important.
+
+
+# Article #
+
+To create a document using the memoir article class, you need the following
+basic metadata:
+
+
+ latex input: mmd-article-header
+ Title: Whatever Title You Like
+ Base Header Level: 2
+ latex input: mmd-article-begin-doc
+ latex footer: mmd-memoir-footer
+
+
+# Beamer #
+
+To create a pdf slideshow presentation using beamer:
+
+ latex input: mmd-beamer-header
+ Title: Your Title
+ Subtitle: Some optional subtitle
+ Author: Your Name
+ Affiliation: Your institution, web site, whatever
+ base header level: 3
+ Theme: keynote-gradient
+ latex input: mmd-beamer-begin-doc
+ latex footer: mmd-beamer-footer
+
+There are several beamer themes included that are derived from various keynote
+themes --- keynote-gradient, keynote-vintage, keynote-portfolio. I tweaked
+these themes to work with MultiMarkdown, but they were originally created by
+others (see the source files for details).
+
+The header levels are set so that `h1` is a part, `h2` is a section, `h3` is a
+slide, and `h4` is used to designate text that will print in a handout, but
+not in the actual slideshow.
+
+
+# Letterhead #
+
+Still in progress.
+
+
+# Memoir #
+
+To create a "book" using memoir:
+
+ latex input: mmd-memoir-header
+ Title: Your Title
+ Base Header Level: 2
+ latex input: mmd-memoir-begin-doc
+ latex footer: mmd-memoir-footer
+
+Header levels are: `h1` part, `h2` chapter, `h3` section, `h4` subsection, `h5` subsection.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,55 @@
+% Originally by Shawn Lankton
+% <http://www.shawnlankton.com/2008/02/beamer-and-latex-with-keynote-theme/>
+% Modified by Fletcher Penney
+% <http://fletcherpenney.net/>
+
+
+\renewcommand\sfdefault{phv}
+\renewcommand\familydefault{\sfdefault}
+\usetheme{default}
+\usepackage{color}
+\useoutertheme{default}
+%\usepackage{texnansi}
+\usepackage{marvosym}
+\definecolor{bottomcolour}{rgb}{0.32,0.3,0.38}
+\definecolor{middlecolour}{rgb}{0.08,0.08,0.16}
+\definecolor{mycolor}{rgb}{0.4,0.4, 0.4}
+\setbeamerfont{title}{size=\Huge}
+\setbeamercolor{structure}{fg=bottomcolour}
+\setbeamercolor{section in toc}{fg=white} % Changed by FTP for visibility
+\setbeamertemplate{frametitle}[default]%[center]
+\setbeamercolor{normal text}{bg=black, fg=white}
+\setbeamertemplate{background canvas}[vertical shading]
+[bottom=bottomcolour, middle=middlecolour, top=black]
+\setbeamertemplate{items}[circle]
+\setbeamerfont{frametitle}{size={\fontsize{14}{16}}}
+
+\setbeamertemplate{navigation symbols}{} % no nav symbols
+\setbeamercolor{titlelike}{parent=structure,fg=white} % no box on titlepage
+\setbeamertemplate{footline}[frame number]{} % remove bottom bars
+\setbeamertemplate{headline}{} % remove top bars
+% Ensure bibliography items can be read
+\setbeamercolor{bibliography entry author}{parent=structure,fg=white}
+
+% from http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2008-11/msg00945.html
+
+\newenvironment{changemargin}[2]{%
+\begin{list}{}{%
+\setlength{\topsep}{0pt}%
+\setlength{\leftmargin}{#1}%
+\setlength{\rightmargin}{#2}%
+\setlength{\listparindent}{\parindent}%
+\setlength{\itemindent}{\parindent}%
+\setlength{\parsep}{\parskip}%
+}%
+\item[]}{\end{list}}
+
+
+\newcommand{\maxFrameImage}[1]{
+\begin{changemargin}{-1cm}{-1cm}
+\begin{center}
+\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]
+{#1}
+\end{center}
+\end{changemargin}
+}
@@ -0,0 +1,18 @@
+% By Ed Long
+% http://www.ucl.ac.uk/~ucbpeal/latexposter.html
+
+\usetheme{default}
+\usepackage{mathpazo}
+\setbeamertemplate{background canvas}{\includegraphics
+ [width=\paperwidth]{Portfolio.png}}
+\setbeamercolor{structure}{fg=white}
+\setbeamerfont{structure}{family = \rmfamily}
+\setbeamerfont{title}{size = \Huge}
+\usefonttheme{structuresmallcapsserif}
+\usefonttheme{serif}
+\setbeamercolor{normal text}{fg=white}
+
+\setbeamertemplate{navigation symbols}{} % no nav symbols
+\setbeamercolor{titlelike}{parent=structure,fg=white} % no box on titlepage
+\setbeamertemplate{footline}[page number]{} % remove bottom bars
+\setbeamertemplate{headline}{} % remove top bars
@@ -0,0 +1,34 @@
+% By Ed Long
+% http://www.ucl.ac.uk/~ucbpeal/latexposter.html
+
+\usetheme{default}
+%\usepackage{texnansi}
+%\usepackage{gtamacdidot}
+
+\definecolor{textcolour}{rgb}{0.37,0.34,0.27}
+
+\setbeamertemplate{background canvas}{\includegraphics
+ [width=\paperwidth]{Vintage.png}}
+\setbeamercolor{structure}{fg=textcolour}
+\setbeamertemplate{items}[circle]
+\setbeamerfont{structure}{family = \rmfamily}
+
+\setbeamertemplate{frametitle}
+{
+\begin{centering}
+\vspace{0.3cm}
+\huge
+\insertframetitle
+\par
+\end{centering}
+}
+
+\setbeamerfont{title}{size = \Huge}
+\usefonttheme{structuresmallcapsserif}
+\usefonttheme{serif}
+\setbeamercolor{normal text}{fg=textcolour}
+
+\setbeamertemplate{navigation symbols}{} % no nav symbols
+\setbeamercolor{titlelike}{parent=structure,fg=textcolour} % no box on titlepage
+\setbeamertemplate{footline}[page number]{} % remove bottom bars
+\setbeamertemplate{headline}{} % remove top bars

0 comments on commit e4cf55b

Please sign in to comment.