Age | Commit message (Collapse) | Author | Files | Lines |
|
Adding ability to define custom font families. Needed for correct `polyglossia` operation with Cyrillic fonts and perhaps can find some other usages. Example usage in YAML metadata:
```
fontfamilies:
- name: \cyrillicfont
font: Liberation Serif
- name: \cyrillicfonttt
options: Scale=MatchLowercase
font: Liberation Mono
```
|
|
see https://github.com/jgm/pandoc-templates/issues/206#issuecomment-236158334
|
|
Closes #207.
I believe these lines were removed in error.
@adunning if you think otherwise, please comment here.
|
|
Addresses https://github.com/jgm/pandoc-templates/issues/201
|
|
|
|
Moved header-includes to before setting of title etc.
|
|
Moved themes after fonts
|
|
Biblatex options
|
|
|
|
|
|
|
|
This matches default.latex
|
|
If themes are loaded after fonts then they can override fonts. Otherwise, what the themes set will be overridden by the fallback loading of lmodern.sty.
|
|
Implements the change made for LaTeX in <https://github.com/jgm/pandoc-templates/commit/e45a3fac77e5bd876b20a6b8a0dcbf54f5aa12ab>.
|
|
Valid values are empty (default), frame, vertical, horizontal.
|
|
ConTeXt/LaTeX/Beamer clean-up
|
|
This will matter, in pracitce, only when `allowframebreaks` is used.
It is especially helpful for bibliography slides.
Closes #2442. Thanks to Nick Bart for the solution.
|
|
Natbib (and presumably biblatex) bibliography commands create
their own section. Since these are in frame environments,
we have an incompatibility with the `\AtBeginSection` macro
which creates a special frame when a new section occurs.
(We can't have a frame inside another frame.)
This change disables `\AtBeginSection` inside bibliography
slides.
This supersedes #145. See discussion tehre.
|
|
Also makes minor improvements to spacing. Adds indenting option to ConTeXt and multiple header/footer texts.
|
|
LaTeX template: add babel-otherlangs and babel-newcommands
|
|
Use Ligatures=TeX for fontspec.
|
|
|
|
This avoids the ‘use `Ligatures=TeX` instead of `Mapping=tex-text`’
warning when using LuaTeX. The manual clarifies: “for consistency
`Ligatures=TeX` will perform the same function as `Mapping=tex-text`.”
|
|
`fontenc` allows for a different encoding: closes #112.
`indent` and `subparagraph` allow the default Pandoc overrides for
these features to be disabled.
|
|
Adds new language and bidi variables; removes duplicated
`\VerbatimFootnotes`.
The standard `fontspec` variables, previously omitted, are now
included. Beamer defaults to the font set as `sansfont`. If `mainfont`
is set, the `serif` font theme will also be used, which uses this for
the slide text (does not have to be a serif font per se).
The paragraph indentation and use of the `url` package seem to have had
no visible effect, and have been removed.
|
|
Closes #128.
|
|
|
|
|
|
|
|
Just as it is provided the default.latex template.
Pandoc-1.14 expexts this command.
|
|
Also use `\addbibresource` instead of `\bibliography` for biblatex.
See jgm/pandoc#1661.
|
|
This restores the old behavior, where no date was printed
if no date was specified. If the `\date` command is removed
entirely, standard document classes will print today's date.
Closes #1321.
Partially reverts fc5229df167aa61cdbcf14ce24581b36bb0a5b90.
See #61.
|
|
|
|
otherwise single quotes in verbatim environments will be in trouble; see an example at http://stackoverflow.com/a/12852815/559676
|
|
instead of entirely redefining this command.
Note we also consider the height of images; if an image is too high, 0.8\textheight will be used for beamer slides, and \textheight is used for articles (see http://tex.stackexchange.com/q/11954/9128).
If the user has explicitly provided the width/height options in \includegraphics[], our defaults will be overwritten, and this approach is better than the check `\@ifnextchar[` after \includegraphics because the latter approach simply gives up everything once it sees [, whereas \setkeys{Gin} can keep the good defaults unless they are explicitly overwritten in [].
closes #30, closes #28, and closes #26
|
|
Beamer template: Consistent styles for figure and table captions
|
|
|
|
Closes #1200.
|
|
Unicode support
|
|
|
|
|
|
|
|
|
|
Add font theme option to choose one of the sets of structural fonts
that come predefined with Beamer.
|
|
This is intended for class options like `oneside`; it may
be repeated with different options.
|
|
|
|
|
|
In the old solution there was no way to use a LaTeX image where only the
height was used to scale the image -- the width was always implicitly
set as well leading to wrong aspect ratios.
Provide a command \Oldincludegraphics which does just what
\includegraphics would do in the LaTeX template. That we the same input
markup could be used for beamer and LaTeX templates.
|
|
Thanks to Joost Kremers.
|
|
AS far as I can see, it isn't needed by anything pandoc does.
|