Commit Graph

61 Commits

Author SHA1 Message Date
Salim B
43140ba043 Improve formatting of footnotes. (#107)
- improve footnote formatting using package `footmisc`
- make the references from the footnotes at the bottom of the page into links back to the occurence of the footnotes in the main text and introduce an option `disable-footnote-backlinks` to disable this new behaviour.
- load pkg footnotebackref after pkg footnotehyper
- make footnote prettifying optional using template var
2019-10-03 20:20:22 +03:00
Wandmalfarbe
a24f339d6c Closes #123, #17: Added the variable code-block-font-size to change the font size for code blocks via the supplied LaTeX command. 2019-09-30 23:14:09 +02:00
Wandmalfarbe
be52c88c08 Added support for background images on the title page. 2019-08-04 17:48:52 +02:00
Wandmalfarbe
86bf7c0d97 Issue #29: Disable striped tables per default. Enable them with the option table-use-row-colors: true. 2019-08-04 16:47:49 +02:00
Wandmalfarbe
0afdba6c59 Update listings definition for Java which is the default language when using listings. 2019-08-04 16:30:09 +02:00
Wandmalfarbe
537bf1c794 Support additional keyword colors when using listings for syntax highlighting.
The support depends on the used language. Some languages like `motorola68k`, `x86masm`, `inform`, `llvm`, `lua`, `metapost`, `mupad`, `ocl`, `python`, `verrilog`, `basic`, `cil`, `fortran` and `hansl` will have additional colors for some keywords.
2019-07-01 21:38:48 +02:00
Wandmalfarbe
b33b1ab395 Fixed #2: Long lines in code blocks wrap automatically. 2019-07-01 20:42:58 +02:00
Wandmalfarbe
542ca6c4ca Deleted trailing whitespace. 2019-06-16 13:52:34 +02:00
Wandmalfarbe
da2d36e804 Fixed #99: Beamer document did not compile with pandoc when including the package titling. The generated LaTeX however did compile with an external LaTeX editor. 2019-06-16 13:38:52 +02:00
Wandmalfarbe
a02de6a670 Fixed #99: Don't fail when converting to LaTeX beamer.
I've never paid attention to the output of the template when converting to beamer. It compiles now but uses the default style.
2019-06-16 13:16:12 +02:00
Wandmalfarbe
f192e92134 Fixed: #91, #98: Code blocks were too close to the text above.
I introduced the wrong spacing in commit 5046ee08cd which fixed a very large margin between code blocks and the text above. As it turns out this was likely caused by an upstream bug in some package or the TeX distribution. It only existed in Tex Live 2018.
2019-06-12 22:57:25 +02:00
Wandmalfarbe
50a425addb Fixed #95: The default float placement of figures can be changed with the variable float-placement-figure. 2019-05-03 23:05:20 +02:00
Wandmalfarbe
8b22496ba8 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2019-05-01 14:28:15 +02:00
Juan Grigera
f99c6bd921 PR #87: Support custom values for secnumdepth and toc-depth.
Removed obsolete section "TOC depth and section numbering deph". The defined default values can now be overridden with the variables `$toc-depth$` and `$secnumdepth$`.
2019-04-09 22:13:44 +02:00
Wandmalfarbe
e019477a81 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2019-04-09 21:47:13 +02:00
Wandmalfarbe
45573f78ff Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex 2019-03-10 15:36:39 +01:00
Wandmalfarbe
5046ee08cd Changed the top and bottom spacing of listings. 2019-03-10 15:24:58 +01:00
Wandmalfarbe
22d2949ad2 Moved listing colors to the listings block in the template. 2019-03-10 14:15:57 +01:00
Wandmalfarbe
9f931f7e3b Removed unused \captionsetup[longtable]. The caption position is already set with tablecaptionabove from KOMA-Script. 2019-03-10 13:45:10 +01:00
Wandmalfarbe
445d0604ff Removed double inclusion of package xcolor and cleaned up some comments. 2019-03-10 13:33:03 +01:00
Wandmalfarbe
dfaf889910 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2019-03-02 16:05:22 +01:00
Andrew Hodgkinson
fc6fb9974e Fixed #79: Curly quotes present in code listings under XeTeX engine
* Used non-curly quotes in listings (`U+0022`) with XeTeX engine instead of `U+201D`.
* Updated example Markdown and example PDF to emphasise smart-vs-dumb quotes.
* Added comment that a fix for this workaround is already available but not released.
2019-03-02 15:35:14 +01:00
Wandmalfarbe
4c98497e5e Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2019-02-17 19:57:54 +01:00
Wandmalfarbe
c1d4c2fc38 Issue #77: Defined a default pagestyle to make it easier to change the pagestyle on certain pages or define a custom one. 2019-02-17 13:26:25 +01:00
Wandmalfarbe
dbd166f601 Updated copyright year. 2019-01-07 21:55:32 +01:00
Daniels Umanovskis
35aa4eac9e Add support for first-chapter variable in case it's desirable for the book not to begin with chapter 1 2018-12-20 21:32:04 +01:00
Pascal Wagler
bec1b56658
Merge pull request #67 from wollanup/master
Add option to avoid page break in listings
2018-11-30 19:42:14 +01:00
Wandmalfarbe
1b1c6537f6 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. 2018-11-04 17:20:07 +01:00
wollanup
c6b0a871f5
Update eisvogel.tex 2018-11-02 11:30:55 +01:00
Wandmalfarbe
a4dae56070 Fix #64: Include setspace before hyperref to fix broken footnote links. 2018-10-12 14:49:04 +02:00
Wandmalfarbe
7f36404e0b Issue 61: Added support for a logo on the title page. 2018-09-25 20:37:47 +02:00
Philipp Dargel
61f64fcaac add book option 2018-09-09 16:42:40 +02:00
Wandmalfarbe
23a97eaf0d Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. Rebuild the examples. 2018-08-25 23:03:14 +02:00
Carsten Gips
154bc35e22 Book: Distinguish even/odd pages in header with twoside
fixes https://github.com/Wandmalfarbe/pandoc-latex-template/issues/56
2018-08-08 17:29:51 +02:00
Wandmalfarbe
540173c741 It is now possible to change the text in the header and footer. 2018-07-24 15:57:29 +02:00
Wandmalfarbe
fe3e3d1475 Fix #40: Header and footer can be disabled with the option disable-header-and-footer. 2018-07-24 13:44:08 +02:00
Wandmalfarbe
18a84f4f0f Issue #44: Line numbers in listings are enabled by default and can be disabled with the option "listings-disable-line-numbers". 2018-07-20 13:04:38 +02:00
Wandmalfarbe
e27058c5d4 Fix #48: No error when using undefined color "Maroon" in template with the option "colorlinks". 2018-07-20 12:37:24 +02:00
Wandmalfarbe
3be44920f6 Merge branch 'master' of https://github.com/Wandmalfarbe/pandoc-latex-template 2018-07-20 12:24:05 +02:00
Wandmalfarbe
cb9af84189 Renamed non-standard metadata field "tags" to "keywords". 2018-07-20 12:22:46 +02:00
qjqqyy
324880a388
Fix alternating row colors in array/matrix.
Prevent `\rowcolors` in longtable from contaminating array/matrix environments in math mode.
2018-07-02 03:44:28 +08:00
Wandmalfarbe
40b00f3002 Fix #36: No option clash for package xcolor. 2018-05-06 11:58:41 +02:00
Wandmalfarbe
20c7cdd7b2 Fixed #28 2018-05-02 20:52:07 +02:00
Andre
cddcb0a360 Added custom variable toc-own-page 2018-05-02 19:10:58 +02:00
Wandmalfarbe
f9b234f151 Changed author capitalization on the title page. 2018-03-20 14:02:54 +01:00
Wandmalfarbe
e85e08e489 Updated copyright year. 2018-03-11 12:41:37 +01:00
Wandmalfarbe
c4b5397ad4 Merged changes from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. Changed color of the green title page. 2018-02-22 19:49:23 +01:00
Wandmalfarbe
70b79bfa02 Issue #26: The default line spacing can be changed via the option linestretch. 2018-01-16 14:24:37 +01:00
Wandmalfarbe
3e6e082b5f Issue #25: Default font can be changed via the font options (mainfont, sansfont, ...). 2018-01-16 14:20:45 +01:00
Werner Robitza
86ff9de440 add setting for caption justifications
Allows setting the caption justification, as the default is to center
figures but left-align captions.
2017-12-13 14:36:44 +01:00