diff options
author | Andrew Dunning <adunning@users.noreply.github.com> | 2019-01-11 14:17:53 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-11 11:17:53 -0800 |
commit | fd222b811b584df31651b3b4657941fc8a44eb62 (patch) | |
tree | 3201b906fb11b9c277ebefc9b56ef37323a67bec /src/Text/Pandoc/Writers/FB2.hs | |
parent | 24a0d613a87245c193f7cc3b4a6bf1391a7eb6a8 (diff) | |
download | pandoc-fd222b811b584df31651b3b4657941fc8a44eb62.tar.gz |
LaTeX template: Render \subtitle (#5213)
Addresses closed issues #4675, #3896, #1327.
This renders `\subtitle` using the `etoolbox` package if `\subtitle` is not already
defined by the documentclass (as it is in beamer, KOMA, memoir classes).
Based on an example from Enrico Gregorio, <https://tex.stackexchange.com/a/50186>.
Update list of LaTeX packages.
Note that `etoolbox` must be loaded outside the command definition.
Putting it inside causes an error if `\title` is placed after `\begin{document}`.
It's already loaded on LuaLaTeX/XeLaTeX in any case.
Diffstat (limited to 'src/Text/Pandoc/Writers/FB2.hs')
0 files changed, 0 insertions, 0 deletions