Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Default support files for generating LaTeX documents with MMD 3.0 and 4.0

branch: master
Octocat-spinner-32 beamer update README; add beamer support files December 08, 2010
Octocat-spinner-32 letterhead add support for letterhead December 22, 2010
Octocat-spinner-32 Organizational Overview.graffle add a map of the connections between these documents November 08, 2012
Octocat-spinner-32 Organizational Overview.pdf add a map of the connections between these documents November 08, 2012
Octocat-spinner-32 README.md add envelope feature May 24, 2011
Octocat-spinner-32 mmd-article-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document} November 08, 2012
Octocat-spinner-32 mmd-article-header.tex Initialize support files December 08, 2010
Octocat-spinner-32 mmd-beamer-begin-doc.tex improve handling of date metadata April 22, 2012
Octocat-spinner-32 mmd-beamer-footer.tex multiple updates February 10, 2011
Octocat-spinner-32 mmd-beamer-header-11pt.tex add acronym support April 19, 2014
Octocat-spinner-32 mmd-beamer-header-widescreen.tex add acronym support April 19, 2014
Octocat-spinner-32 mmd-beamer-header.tex add acronym support April 19, 2014
Octocat-spinner-32 mmd-default-metadata.tex improve handling of date metadata April 22, 2012
Octocat-spinner-32 mmd-disable-natbib.tex add ability to disable natbib \citep \citet March 23, 2011
Octocat-spinner-32 mmd-envelope-begin-doc.tex improve handling of date metadata April 22, 2012
Octocat-spinner-32 mmd-equation-mode.tex add 'mmd-equation-mode' October 11, 2011
Octocat-spinner-32 mmd-letterhead-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document} November 08, 2012
Octocat-spinner-32 mmd-letterhead-footer.tex add support for letterhead December 22, 2010
Octocat-spinner-32 mmd-letterhead-header.tex add support for letterhead December 22, 2010
Octocat-spinner-32 mmd-load-ams.tex improve math support March 28, 2011
Octocat-spinner-32 mmd-manuscript-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document} November 08, 2012
Octocat-spinner-32 mmd-manuscript-header.tex add manuscript support February 11, 2011
Octocat-spinner-32 mmd-memoir-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document} November 08, 2012
Octocat-spinner-32 mmd-memoir-copyright.tex update management of copyright and keywords March 26, 2011
Octocat-spinner-32 mmd-memoir-footer.tex multiple updates February 10, 2011
Octocat-spinner-32 mmd-memoir-header.tex Initialize support files December 08, 2010
Octocat-spinner-32 mmd-memoir-layout-8.5x11.tex Initialize support files December 08, 2010
Octocat-spinner-32 mmd-memoir-packages.tex add acronym support April 19, 2014
Octocat-spinner-32 mmd-memoir-setup.tex Initialize support files December 08, 2010
Octocat-spinner-32 mmd-natbib-plain.tex add author-year suppression option for natbib March 31, 2011
Octocat-spinner-32 mmd-title.tex multiple updates February 10, 2011
Octocat-spinner-32 mmd-tufte-book-begin-doc.tex add book version of Tufte class; update memoir April 06, 2014
Octocat-spinner-32 mmd-tufte-book-footer.tex add book version of Tufte class; update memoir April 06, 2014
Octocat-spinner-32 mmd-tufte-book-header.tex add acronym support April 19, 2014
Octocat-spinner-32 mmd-tufte-footer.tex update README; add tufte-latex handout support files January 16, 2011
Octocat-spinner-32 mmd-tufte-handout-begin-doc.tex improve handling of date metadata April 22, 2012
Octocat-spinner-32 mmd-tufte-handout-header.tex add acronym support April 19, 2014
Octocat-spinner-32 shaded-figure.tex add shaded-figure feature March 03, 2011
Octocat-spinner-32 subscript.sty add subscript support for tufte April 06, 2014
README.md

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.

You are not limited to using these classes or templates. You can create your own template files, or just embed your LaTeX commands within comments in your MultiMarkdown document itself. If you find yourself creating similar documents over and over again, however, you may be better off creating a few templates you can simply call with the LaTeX Input metadata fields in MultiMarkdown.

These files were designed to handle some of the common metadata fields in a consistent way, an to implement some defaults that should prevent errors if you leave out important metadata (substituting Title, Author, etc).

Installation

These files need to go in your texmf folder, wherever that may be.

With MacTeX on Mac OS X:

~/Library/texmf/tex/latex/mmd

On most *nix accounts, you can use:

~/texmf/tex/latex/mmd

I don't remember off the top of my head where your texmf folder belongs in Windows.

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). You need to choose a value for this that fits with the way you organized your document.

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 Mode:         memoir  
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
LaTeX Mode:         beamer  
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

To create a letter on customized letterhead using MultiMarkdown:

latex input:        mmd-letterhead-header  
Title:              Test Letter  
Author:             John Doe  
email:              fletcher@example.net  
address:            123 Main St.  
                    Some City, ST  12345  
recipient:          Some Person  
Recipient Address:  321 Main St  
                    Some City, ST  54321  
phone:              (555) 555-5555  
Date:               December 15, 2007  
latex xslt:         custom-letterhead.xslt  
black and white:    true  
base header level:  2  
latex mode:         memoir  
latex footer:       mmd-letterhead-footer  
latex input:        mmd-letterhead-begin-doc  

If you want to create an envelope using the same document, simply change the last line of the metadata:

latex input:        mmd-envelope-begin-doc

Memoir

To create a "book" using memoir:

latex input:        mmd-memoir-header
Title:              Your Title
Base Header Level:  2
LaTeX Mode:         memoir  
latex input:        mmd-memoir-begin-doc
latex footer:       mmd-memoir-footer

Header levels are: h1 part, h2 chapter, h3 section, h4 subsection, h5 subsubsection, and h6 paragraph.

Something went wrong with that request. Please try again.