Commit graph

35 commits

Author SHA1 Message Date
mb21
e3cfba2926 LaTeX and beamer templates: add babel-otherlangs and babel-newcommands 2015-10-18 16:48:55 +02:00
Andrew Dunning
4698c2f5cb Add fontenc, indent, subparagraph variables to LaTeX.
`fontenc` allows for a different encoding: closes #112.

`indent` and `subparagraph` allow the default Pandoc overrides for
these features to be disabled.
2015-10-11 02:03:42 -04:00
Andrew Dunning
92e66456ec Realign LaTeX and beamer templates.
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.
2015-10-11 01:39:56 -04:00
John MacFarlane
159a15c96c Added space after colon in figure captions.
Closes #128.
2015-10-07 09:48:10 -07:00
Guilhem Bonnefille
9787605ff6 Addd support for inner/outer theme 2015-09-29 11:51:59 +02:00
John MacFarlane
4e72f2bff9 LaTeX, beamer: add setotherlanguages to polyglossia. 2015-05-27 12:14:54 -07:00
John MacFarlane
ab55684bc1 Use polyglossia with xelatex in beamer. Closes #85. 2015-05-27 10:34:21 -07:00
Anders Persson
1166ed79f1 Provide the \tightlist command
Just as it is provided the default.latex template.
Pandoc-1.14 expexts this command.
2015-05-27 10:46:31 +02:00
John MacFarlane
da35eb3c4a Beamer, LaTeX templates: Use bibliography instead of biblio-files.
Also use `\addbibresource` instead of `\bibliography` for biblatex.

See jgm/pandoc#1661.
2015-05-11 21:13:25 -07:00
John MacFarlane
9f1636367e LaTeX/Beamer templates: Remove conditionalization around date.
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 fc5229df16.
See #61.
2014-06-01 15:26:23 -07:00
John MacFarlane
5de411030b Load upquote after fontenc in latex template. 2014-05-06 09:05:46 -07:00
Yihui Xie
032af5ecee upquote must be used after fontenc
otherwise single quotes in verbatim environments will be in trouble; see an example at http://stackoverflow.com/a/12852815/559676
2014-05-06 00:21:02 -07:00
Yihui Xie
a3cce8d359 Use \setkeys{Gin}{} to set appropriate defaults for \includegraphics, 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-11 17:22:45 -05:00
John MacFarlane
7c977fe097 Merge pull request #44 from aaronwolen/beamer-captions
Beamer template: Consistent styles for figure and table captions
2014-04-11 11:02:12 -07:00
Garrick Aden-Buie
b8ae07eb09 Fix issue #52: set max width and height of images in default.beamer 2014-04-11 10:52:09 -07:00
John MacFarlane
7de81bf0a5 Added caption package to beamer template.
Closes #1200.
2014-04-04 13:13:09 -07:00
KarolS
088fccaeda Backported changes from default.latex to default.beamer in order to improve Unicode support 2014-02-26 21:51:29 +01:00
Kevin
c1f20a285a Fixing default.beamer includegraphics redefinition to allow custom options 2013-12-13 11:06:31 +00:00
Kevin
ccdf08caea Beamer template: add booktabs package 2013-12-09 18:40:44 +00:00
aaronwolen
6db8eff46a Beamer template: Consistent styles for figure and table captions 2013-10-23 20:50:33 -04:00
John MacFarlane
4bdebc73b0 Beamer template: put slide around bibliography with natbib or biblatex. 2013-10-21 14:29:08 -07:00
Luis Osa
3eeb82fa9c default.beamer: Add font theme option
Add font theme option to choose one of the sets of structural fonts
that come predefined with Beamer.
2013-08-05 22:23:49 +02:00
John MacFarlane
24dab8e06e LaTeX/Beamer templates: Add classoption variable.
This is intended for class options like `oneside`; it may
be repeated with different options.
2013-07-17 15:05:45 -07:00
John MacFarlane
64544dea58 Added subtitle to html and latex formats. 2013-06-21 22:48:49 -07:00
John MacFarlane
6252cbc786 default.beamer: Added comment to graphics section. 2013-05-07 17:31:14 -07:00
Benjamin Bannier
25f999ad52 Provide \Oldincludegraphics in beamer like in LaTeX
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.
2013-03-03 22:46:49 +01:00
John MacFarlane
bc561191b2 beamer: added lines to fix table captions with longtable.
Thanks to Joost Kremers.
2013-02-03 10:41:02 -08:00
John MacFarlane
3bbb793e41 LaTeX, beamer templates: Don't require 'float' package.
AS far as I can see, it isn't needed by anything pandoc does.
2012-09-16 22:26:16 -07:00
John MacFarlane
6d4f0a78a0 Beamer, LaTeX templates: removed enumerate package. 2012-09-16 22:23:02 -07:00
John MacFarlane
22628ea9aa LaTeX, beamer: Use longtable instead of ctable. 2012-09-15 17:40:49 -04:00
John MacFarlane
150f3ce9c6 Beamer template: In section pages, don't print "Section" and number.
Similarly for parts and subsections.
Reason:  this is not properly internationalized, and for consistency
with other slide formats.

Closes #566.
2012-08-25 21:52:34 -07:00
chrisersen
fbe8354599 Resize pictures that are wider than \linewidth solution from: http://tex.stackexchange.com/a/6077 2012-07-22 10:56:50 -07:00
John MacFarlane
c819cf2149 LaTeX and Beamer: Use fixltx2e package for \textsubscript. 2012-04-21 09:59:21 -07:00
John MacFarlane
d709b6709b Fix list labels in beamer.
This code (from the latex template) was causing bullets
and list numbers to extend beyond the left edge of the slide
in beamer.

Removing it seems to fix things.
2012-03-07 09:58:44 -08:00
John MacFarlane
f26a6351b2 Split off default.beamer from default.latex. 2012-01-30 11:25:39 -08:00