pandoc/data/templates
Andrew Dunning 666bf8ac5c LaTeX template: Prevent scaling of main font (#5212)
When `Scale=MatchLowercase` is set as a default font option, this scales `mainfont` against the old default, meaning that it resizes whatever is set as the main font to match the metrics of Latin Modern. This can result, for example, in a document set to 12pt appearing in 11pt or 13pt. Setting this option for individual families allows everything to scale against the main font, and permits the user to override the setting if desired. Note that it is not necessary to specify `Ligatures=TeX`, as this is already set by default for the appropriate families. See the `fontspec` manual: <https://ctan.org/pkg/fontspec>.

Those who specify font-options in metadata may need to add `Scale=MatchLowercase`, which will now only be provided if `(roman|sans|math|mono)fontoptions` aren't given explicitly.
2019-01-10 11:24:27 -08:00
..
.github
default.asciidoc Asciidoc template: add :lang: to title header is lang is set in metadata. 2018-11-19 12:02:25 -08:00
default.commonmark Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.context new Greek fallback typeface (would fix #4405) (#4605) 2018-05-01 21:22:56 -07:00
default.docbook4
default.docbook5 Small improvement to #3855 - move lang attribute up. 2017-08-21 21:16:55 -07:00
default.dokuwiki
default.dzslides Remove unnecessary type="text/css" on style and link for HTML5. 2018-12-14 11:29:35 -08:00
default.epub2 HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
default.epub3 Remove unnecessary type="text/css" on style and link for HTML5. 2018-12-14 11:29:35 -08:00
default.haddock
default.html4 HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
default.html5 Remove unnecessary type="text/css" on style and link for HTML5. 2018-12-14 11:29:35 -08:00
default.icml
default.jats JATS template: always include <back> element even if empty. 2017-03-31 15:15:34 +02:00
default.latex LaTeX template: Prevent scaling of main font (#5212) 2019-01-10 11:24:27 -08:00
default.man
default.markdown Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.mediawiki
default.ms Ms template: Fix date. 2018-04-25 17:49:01 -07:00
default.muse Add Muse writer (#3489) 2017-03-10 10:16:27 +01:00
default.opendocument Remove unnecessary indenting of TOC title (#4869) 2018-09-04 09:48:39 -07:00
default.opml
default.org
default.plain Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.revealjs Add zoomKey config to default.revealjs. 2019-01-08 11:43:07 -08:00
default.rst RST writer: use titleblock instead of title variable for title block 2018-08-01 12:32:16 -07:00
default.rtf Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.s5 HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
default.slideous HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
default.slidy HTML writer: Use br elements in line blocks... 2017-12-26 08:40:33 -08:00
default.tei TEI template: improve publicationStmt. 2018-08-16 21:19:03 -07:00
default.texinfo Texinfo writer: use @sup and @sub instead of custom macros 2018-06-25 03:14:04 +03:00
default.textile
default.zimwiki
README.markdown Update copyright notices to include 2018 2018-01-05 20:39:12 +01:00

The pandoc-templates repository contains default templates for pandoc.

If you use custom templates, we recommend forking this repository, so that you can integrate changes to the default templates in future pandoc releases.

This repository is a subtree of pandoc; it will be updated each time there is a new pandoc release. However, changes to templates are made first in pandoc; thus, issues and pull requests should be made pandoc's issue tracker rather than here.

All of the templates in this repository are dual licensed, under both the GPL (v2 or higher, same as pandoc) and the BSD 3-clause license (included below).

Copyright (c) 2014--2018, John MacFarlane

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of John MacFarlane nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.