-
Notifications
You must be signed in to change notification settings - Fork 2
Template Creation Tips
Most of the templates currently in existence use biber for bibliography generation, due to its support for Unicode. MultiMarkdown assumes bibtex will be used instead, requiring a few commands to extract the bibliography settings and convert them over. The current standard block in the document setup is as follows:
\ifx\bibliocommand\undefined
\else
\usepackage[
backend=biber,
natbib=true,
sorting=none
]{biblatex}
\renewcommand{\bibliography}[1]{\addbibresource{#1.bib}}
\bibliocommand
\fi
where the natbib and sorting flags are default options, but not required.
By default, many of the equations from MultiMarkdown convert to LaTeX's \[ ... \] format, which will not number equations as expected. This can be solved by including:
\renewcommand\[{\begin{equation}}
\renewcommand\]{\end{equation}}
to change over to the equation environment.
LaTeX packages must be introduced after the document class is defined, but before the document actually begins. The common pattern for allowing customization is to include:
\ifx\mypackages\undefined
\else
\input{\mypackages}
\fi
somewhere in the document configuration for per-document customization.