aboutsummaryrefslogtreecommitdiff
path: root/templates/latex.template
AgeCommit message (Collapse)AuthorFilesLines
2011-07-10Improved LaTeX tables.John MacFarlane1-4/+2
* Use ctable package, which allows footnotes and provides additional options. * Made cell alignments work in multiline tables. * Closes #272.
2011-01-28Add possibility to use listings package for code blocks andJosef Svenningsson1-0/+3
inline code in the LaTeX writer.
2011-01-21latex template: move special treatment of \sout.John MacFarlane1-2/+2
It needs to be inside the if(strikeout) condition, after the ulem package is imported; otherwise we try to renewcommand{\sout} when \sout isn't yet defined.
2011-01-19Fixed problem with strikout in LaTeX headers with hyperref.John MacFarlane1-0/+2
Added a command to the latex template to disable \sout inside pdf strings. Thanks to Joost Kremers for the fix.
2010-12-15Use top-level header at end as bibliography title for natbib and biblatex ↵Nathan Gass1-5/+12
output.
2010-12-13Disabled colored boxes around cites in latex template.Nathan Gass1-1/+1
2010-12-13Added support to write natbib or biblatex citations in latex output.Nathan Gass1-0/+18
2010-12-11Removed deprecated -C/--custom-header option.John MacFarlane1-4/+0
Use --template instead.
2010-10-24Added fontsize variable to default latex template.John MacFarlane1-1/+1
This makes it easy to set the font size using markdown2pdf or pandoc: markdown2pdf -V fontsize=12pt input.txt
2010-07-20Added amssymb to default latex template.John MacFarlane1-1/+1
Resolves github Issue 1.
2010-04-10Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke1-0/+9
2010-03-13Use template variables for include-before/after.fiddlosopher1-0/+8
* These options now imply -s; previously they worked also in fragment mode. * Users can now adjust position of include-before and include-after text in the templates. * Default position of include-before moved back (as it originally was) before table of contents. * Resolves Issue #217. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1883 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-01LaTeX template: redefine labelwidth when using enumerate package.fiddlosopher1-0/+6
Otherwise the list labels (numbers) often extend past the left margin, which looks bad. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1858 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-05LaTeX template: always include hyperref package.fiddlosopher1-5/+3
It is used not just for links but for toc, section heading bookmarks, footnotes, etc. Also added unicode=true on hyperref options. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1795 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-02Latex template: only show \author if there are some...fiddlosopher1-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1789 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-02Improved xetex part of latex.template.fiddlosopher1-1/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1776 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31LaTeX writer: Only require listings package if needed.fiddlosopher1-0/+2
That is, if literate Haskell code is used. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1759 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Modified latex template to include bare minimum of packages.fiddlosopher1-1/+21
Packages will be included only if they are needed, given what is in the document. So if you never use strikeout, you don't need to install the ulem package. Also moved amsmath to the top of the package list, made \maketitle conditional on a title being present, and adjusted spacing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1738 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added --xetex option to pandoc and markdown2pdf.fiddlosopher1-7/+6
If --xetex is specified, pandoc produces latex suitable for processing by xelatex, and markdown2pdf uses xelatex to create the PDF. Resolves Issue #185. This seems better than using latex packages to detect xetex, since not all latex installations will have these. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1737 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Use $for$ for multiple authors in context, latex, markdown.fiddlosopher1-3/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1723 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Use $for$ for header-includes.fiddlosopher1-2/+2
Put variables in right order. We've specified that if they use -A, -B, -H multiple times, the text appears in the same order as on the command line. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1722 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Tweaked templates and tests.fiddlosopher1-0/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1711 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Fixed spacing in latex, context templates.fiddlosopher1-1/+0
Minor fixes in latex, context tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1707 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Removed spurious linebreak in latex template.fiddlosopher1-1/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1704 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Fixed up LaTeXMathML module not to use TH.fiddlosopher1-0/+2
Instead, we read the script in pandoc.hs, and pass it via variables. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1702 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Restored writerIncludeBefore, writerIncludeAfter.fiddlosopher1-10/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1700 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added 'standalone' variable, use in templates.fiddlosopher1-0/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1697 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added templates/ directory.fiddlosopher1-0/+61
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1687 788f1e2b-df1e-0410-8736-df70ead52e1b