aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.latex
AgeCommit message (Collapse)AuthorFilesLines
2018-10-04LaTeX template: add variable hyperrefoptions(#4925)Mathias Walter1-1/+1
Introduce a new variable `hyperrefoptions` to pass to the hyperref package. This allows us (for example) to specify `hyperrefoptions: linktoc=all` in a YAML block.
2018-08-25Add support for $toc-title$ to LaTeX (and PDF). (#4853)Wandmalfarbe1-0/+3
2018-08-16LaTeX writer/template: be sensitive to `filecolor` variable.John MacFarlane1-0/+1
`linkcolor` only affects internal links, and `urlcolor` only affects linked URLs. For external links, the option to use is `filecolor`. Closes #4822.
2018-08-15Support "toc-title" in the beamer template. (#4835)Cyril Roelandt1-0/+3
It is a bit awkward to have a title for every frame, but not for the one that holds the table of contents. Allow users to specify a title if they wish.
2018-07-21Moved some beamer code in default.latex template.John MacFarlane1-37/+35
This change allows beamer themes to change the template and font (as Metropolis does). Closes #4450.
2018-04-26Add background-image variable to default.latex (#4601)John Muccigrosso1-0/+5
New variable with same name as comparable variable in (proposed) reveal.js template, so that background images can indicated for both presentation formats with one variable.
2018-03-30Add -V beameroption variable (#4359)Étienne BERSAC1-0/+4
* LaTeX template: Use `pgfpages` package; this is needed for notes on second screen in beamer * LaTeX template: Add `beameroption` variable in template
2018-03-17Provide `bidi` package's option using `\PassOptionsToPackage` (#4357).Václav Haisman1-6/+3
* Provide `bidi` package's option using `\PassOptionsToPackage`. This avoid clash when `polyglossia` loads it first and then it is loaded again for XeLaTeX when `latex-dir-rtl` defined. * Adjust test suite for LaTeX template change.
2017-12-13Update latex template to work with recent versions of beamer.John MacFarlane1-6/+18
The old template produced numbered sections with some recent versions of beamer. Thanks to Thomas Hodgson.
2017-12-11Added support for LaTeX pagestyle variable (#4135)Thomas Hodgson1-0/+3
* Add pagestyle support * Add pagestyle option to MANUAL.txt * Moved mention of pagestyle to the section on variables
2017-11-14LaTeX template: include natbib/biblatex after polyglossia.John MacFarlane1-10/+10
Otherwise we seem to get an error; biblatex wants polyglossia language to be defined. Closes #4073.
2017-09-12Move 'tables in footnotes' fix out of beamer part of default.latex.John MacFarlane1-2/+3
This caused an error in beamer. Footnotes already work in tables in beamer, without this code.
2017-09-08Write euro symbol directly in LaTeXAndrew Dunning1-6/+1
The textcomp package allows pdfLaTeX to parse `€` directly, making the \euro command unneeded. Closes #3801.
2017-09-08Use starred versions of xcolor namesAndrew Dunning1-1/+1
Prevents changes to documents defined using the dvipsnames list (e.g. `Blue` gives a different result with svgnames enabled).
2017-09-08Merge branch 'master' into patch-1Andrew Dunning1-9/+9
2017-09-07LaTeX template: load polyglossia after header-includes.John MacFarlane1-9/+9
It needs to be loaded as late as possible. Closes #3898.
2017-09-07Use xcolor for colorlinks optionAndrew Dunning1-2/+5
Beamer loads `xcolor` rather than `color`, and thus the `dvipsnames` option doesn't take effect. This also provides a wider range of colour selections with the `svgnames` option. Closes #3877.
2017-08-26Combine LaTeX/Beamer templatesAndrew Dunning1-1/+97
All conditionals use the `beamer` variable set by the writer. Closes #3878.
2017-08-25Allow setting Japanese fonts when using LuaLaTeX (#3873)Václav Haisman1-0/+13
...by using the `luatexja-fontspec` and `luatexja-preset` packages. Use existing `CJKmainfont` and `CJKoptions` template variables. Add `luatexjafontspecoptions` for `luatexja-fontspec` and `luatexjapresetoptions` for `luatexja-preset`.
2017-08-14Fix hyperref options clash (#3847)Andrew Dunning1-5/+7
Avoids an options clash when loading a package (e.g. `tufte-latex`) that uses `hyperref` settings different from those in the template (introduced in <https://github.com/jgm/pandoc-templates/commit/feffd7c64abab863abd3f6458d1c445d6bfe7fc4>).
2017-06-28LaTeX template: added `natbiboptions` variable.John MacFarlane1-1/+1
Closes #3768.
2017-06-20latex template: fix typo in fix for notes in tables.John MacFarlane1-1/+1
See https://github.com/jgm/pandoc-templates/commit/1475299c9aebfe3e47c135d6653202db3b2f6696#diff-c7c27b8e99f898fde7715afd9ae8cd02R126 However, this is not a complete fix: https://github.com/jgm/pandoc-templates/pull/208#issuecomment-309631622 Thanks to zeeMonkeez. See #2378.
2017-05-18modified template.latex to fix XeLaTex being used with tables (#3661)lwolfsonkin1-14/+15
- reordered `lang` variable handling to immediately before `bidi`
2017-05-09LaTeX: Load `parskip` before `hyperref`. (#3654)Václav Haisman1-9/+9
* LaTeX: Load `parskip` before `hyperref`. According to `hyperref` package's `README.pdf`, page 22, `hyperref` package should be loaded after `parskip` package. * Adjust tests for previous change.
2017-05-08Fix links inside captions in LaTeX output with links-as-notes.Václav Haisman1-1/+1
Declare our redefined `\href` robust. Fixes #3651. (#3652)
2017-04-29LaTeX writer: Fix problem with escaping in lstinline.John MacFarlane1-0/+1
Previously the LaTeX writer created invalid LaTeX when `--listings` was specified and a code span occured inside emphasis or another construction. This is because the characters `%{}\` must be escaped in lstinline when the listinline occurs in another command, otherwise they must not be escaped. To deal with this, adoping Michael Kofler's suggestion, we always wrap lstinline in a dummy command `\passthrough`, now defined in the default template if `--listings` is specified. This way we can consistently escape the special characters. Closes #1629.
2017-02-20Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'John MacFarlane1-0/+288