aboutsummaryrefslogtreecommitdiff
path: root/default.latex
AgeCommit message (Collapse)AuthorFilesLines
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
2012-06-05LaTeX: Use blank \date{} if no date specified.John MacFarlane1-4/+0
This way we don't get a date unless a date is explicitly specified.
2012-06-05Use iftex instead of ifluatex, ifxetex. Simplified template.John MacFarlane1-28/+17
2012-06-05LaTeX: Use fontenc [T1] and lmodern fonts.John MacFarlane1-0/+2
This gives better behavior for accented characters.
2012-06-05LaTeX: Make TOC links black.John MacFarlane1-1/+3
2012-06-05Added links-as-notes variable to print links as footnotesJohn MacFarlane1-2/+4
2012-06-05LaTeX: added linkcolor variableJohn MacFarlane1-2/+2
2012-06-03LaTeX template: Use black for internal links.John MacFarlane1-18/+12
This ensures that the table of contents will not be colored. Also added commented-out code to use footnotes for internal links (for print purposes).
2012-04-26Add option `urlcolor=blue` to package hyperrefPaul Vorbach1-0/+2
2012-04-21LaTeX and Beamer: Use fixltx2e package for \textsubscript.John MacFarlane1-3/+1
2012-04-03LaTeX template: only include eurosym if the document uses a euro symbol.John MacFarlane1-0/+2
2012-03-25Include PDF metadata (author, title) in latex template.John MacFarlane1-0/+6
2012-03-15LaTeX template: Added mathfont variable.John MacFarlane1-0/+6
2012-03-15LaTeX: use mainfont instead of romanfont, allow multiple geometry.John MacFarlane1-5/+5
2012-03-14FIxed spacing in latex template.John MacFarlane1-12/+12
2012-03-14LaTeX template: don't use SetupFonts macro.John MacFarlane1-6/+13
2012-03-14Added romanfont, sansfont, monofont variables to latex template.John MacFarlane1-4/+15
Note: These only work with xelatex/lualatex.
2012-03-14Added `geometry` variable.John MacFarlane1-0/+3
2012-03-05LaTeX template: use mainlang variable in \setmainlanguage.John MacFarlane1-1/+1