Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Default support files for generating LaTeX documents with MMD 3.0 and 4.0
TeX
branch: master
Failed to load latest commit information.
beamer update README; add beamer support files
letterhead add support for letterhead
Organizational Overview.graffle add a map of the connections between these documents
Organizational Overview.pdf add a map of the connections between these documents
README.md add envelope feature
mmd-article-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document}
mmd-article-header.tex Initialize support files
mmd-beamer-begin-doc.tex improve handling of date metadata
mmd-beamer-footer.tex multiple updates
mmd-beamer-header-11pt.tex add acronym support
mmd-beamer-header-widescreen.tex add acronym support
mmd-beamer-header.tex add acronym support
mmd-default-metadata.tex improve handling of date metadata
mmd-disable-natbib.tex add ability to disable natbib \citep \citet
mmd-envelope-begin-doc.tex improve handling of date metadata
mmd-equation-mode.tex add 'mmd-equation-mode'
mmd-letterhead-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document}
mmd-letterhead-footer.tex add support for letterhead
mmd-letterhead-header.tex add support for letterhead
mmd-load-ams.tex improve math support
mmd-manuscript-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document}
mmd-manuscript-header.tex add manuscript support
mmd-memoir-begin-doc.tex \VerbatimFootnotes needs to be after \begin{document}
mmd-memoir-copyright.tex update management of copyright and keywords
mmd-memoir-footer.tex multiple updates
mmd-memoir-header.tex Initialize support files
mmd-memoir-layout-8.5x11.tex Initialize support files
mmd-memoir-packages.tex add acronym support
mmd-memoir-setup.tex Initialize support files
mmd-natbib-plain.tex add author-year suppression option for natbib
mmd-title.tex multiple updates
mmd-tufte-book-begin-doc.tex add book version of Tufte class; update memoir
mmd-tufte-book-footer.tex add book version of Tufte class; update memoir
mmd-tufte-book-header.tex add acronym support
mmd-tufte-footer.tex update README; add tufte-latex handout support files
mmd-tufte-handout-begin-doc.tex improve handling of date metadata
mmd-tufte-handout-header.tex add acronym support
shaded-figure.tex add shaded-figure feature
subscript.sty add subscript support for tufte

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.