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