aboutsummaryrefslogtreecommitdiff
path: root/default.latex
AgeCommit message (Collapse)AuthorFilesLines
2015-05-03Fix paragraph undefined problemNikolay Yakimov1-0/+4
2015-05-02latex template: use providecommand for tightlist.John MacFarlane1-1/+1
This avoids a conflict when the memoir class is used. Closes #94.
2015-04-17LaTeX template: Added `\tightlist` definition.John MacFarlane1-0/+2
See jgm/pandoc#1571.
2015-04-17Redefine (sub)paragraphs in default LaTeX templateNikolay Yakimov1-0/+6
This should make those behave more like sections, as per https://github.com/jgm/pandoc/issues/1658
2015-04-13LaTeX: include grffile when including graphics.John MacFarlane1-1/+1
This allows filenames with spaces etc. See jgm/pandoc#2074.
2015-04-01Add option for ToC colorKaixhin1-1/+1
2014-09-27LaTeX template: Add shorthands=off to babel options.John MacFarlane1-1/+1
This prevents special bindings of characters like " in Spanish.
2014-09-25Revert "Use biblatex-chicago instead of biblatex."Stefan Björk1-1/+1
This reverts commit a0ea58bc2ed43a09f6c349ad20a0b1ee2791a75b.
2014-09-24Use biblatex-chicago instead of biblatex.Stefan Björk1-1/+1
2014-09-24Fixed typo.Stefan Björk1-1/+0
2014-09-24Moved polyglossia/babel definitions to before biblatex; otherwise biblatex ↵Stefan Björk1-8/+9
fails with xetex.
2014-09-09Added \VerbatimFootnotes if there is verbatim in notes.John MacFarlane1-0/+1
See http://tex.stackexchange.com/questions/203/how-to-obtain-verbatim-text-in-a-footnote Closes jgm/pandoc#1616.
2014-08-20latex template: disable protrusion for typewriter font.John MacFarlane1-1/+4
Closes #1549. Thanks to lemzwerg.
2014-07-20Added `lot` and `lof` variables to latex template.John MacFarlane1-0/+6
lof = list of figures. lot = list of tables.
2014-06-09Fixed subtitle in latex template.John MacFarlane1-2/+1
See jgm/pandoc#1327.
2014-06-09LaTeX template: fix subtitles.John MacFarlane1-4/+2
The old code really requires scrartcl from koma-script. Closes #1327.
2014-06-01LaTeX/Beamer templates: Remove conditionalization around date.John MacFarlane1-2/+0
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.
2014-05-06latex template: Added linestretch variable that loads setspace.John MacFarlane1-0/+4
2014-05-06latex template: Added fontfamily variable.John MacFarlane1-0/+4
Thanks to tlvince for the patch. Closes #50.
2014-05-06latex template: conditionalize author and date.John MacFarlane1-0/+4
Thanks to ivoanjo for the patch. Closes #61.
2014-05-06Load upquote after fontenc in latex template.John MacFarlane1-2/+2
2014-04-11Use \setkeys{Gin}{} to set appropriate defaults for \includegraphics, ↵Yihui Xie1-16/+6
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
2014-04-11Revert "LaTeX template: Allow bibliography to be used in place of ↵John MacFarlane1-7/+2
biblio-files." This reverts commit 5f8d7968fe7c3d8da3363b7e3ff1a11914c081ae. I'll use a different approach, setting the biblio-files variable in the LaTeX writer. This will also work for beamer. See #42.
2014-04-11LaTeX template: Allow bibliography to be used in place of biblio-files.John MacFarlane1-2/+7
Closes #43. Thanks to nougad.
2014-02-20default.latex: include fontenc only if pdflatex engine is used.John MacFarlane1-1/+1
See pandoc #1164.
2013-12-11latex template: Put header includes after title.John MacFarlane1-3/+3
Closes pandoc#908.
2013-12-11Added abstract variable in latex template.John MacFarlane1-0/+5
2013-12-02LaTeX template: Add booktabs packageJose Luis Duran1-1/+1
2013-07-20LaTeX template: Added `biblio-style` variable.John MacFarlane1-1/+1
2013-07-17LaTeX/Beamer templates: Add classoption variable.John MacFarlane1-1/+1
This is intended for class options like `oneside`; it may be repeated with different options.
2013-07-04default.latex: Use tex-ansi mapping for monofont.John MacFarlane1-1/+1
This ensures that straight quotes appear as straight, rather than being treated as curly. See pandoc#889.
2013-06-24Merge pull request #31 from aaronwolen/masterJohn MacFarlane1-0/+1
Provide a variable to define citation color
2013-06-21Added subtitle to html and latex formats.John MacFarlane1-0/+3
2013-06-18Add citecolor variableAaron Wolen1-0/+1
2013-05-07default.latex: Use \ScaleIfNeeded w/ nicer def instead of \maxwidth.John MacFarlane1-3/+8
2013-05-07default.latex: Redefine includegraphics to allow custom options.John MacFarlane1-3/+7
Thanks to Bernhard Weichel. Now, literal \includegraphics commands with square-bracketed options will work properly. When no options are given, a default option limits images to the text width.
2013-04-25LaTeX template: Changes to make mathfont work with xelatex.John MacFarlane1-2/+4
We need the mathspec library, not just fontspec, for this. We also need to set options for setmathfont.
2013-02-26Load microtype after fonts.Douglas F. Calvert1-2/+2
Microtype needs to know what fonts are in use and it is suggested that it is aded after loading fonts.
2013-02-18LaTeX template: set secnumdepth to 5 if `--number-sections` specified.John MacFarlane1-0/+1
This yields behavior equivalent to the other writers, numbering level 4 and 5 headers too.
2013-01-21LaTeX template: Don't use monospace font for URLs.John MacFarlane1-0/+1
2013-01-19Added conditional import of upquote package.John MacFarlane1-0/+2
This fixes straight quotes in verbatim.
2013-01-05toc-level -> toc-depth.John MacFarlane1-1/+1
2013-01-05Added tocdepth to latex template.John MacFarlane1-0/+1
2012-09-16LaTeX, beamer templates: Don't require 'float' package.John MacFarlane1-1/+0
AS far as I can see, it isn't needed by anything pandoc does.
2012-09-16Beamer, LaTeX templates: removed enumerate package.John MacFarlane1-9/+0
2012-09-15LaTeX, beamer: Use longtable instead of ctable.John MacFarlane1-1/+1
2012-09-04papersize variable in the LaTeX templateRaphael1-1/+1
Adds a variable `papersize` in the LaTeX template which controls, surprise, paper size. Possible values are those the chosen `documentclass` allows.
2012-06-08LaTeX template: Separate `urlcolor` and `linkcolor` variables.John MacFarlane1-2/+2
2012-06-05LaTeX template: use ifxetex, ifluatex instead of iftex.John MacFarlane1-9/+8
iftex is not in debian.
2012-06-05Removed extra blank line.John MacFarlane1-1/+0