LaTeX/Beamer template changes (Thomas Hodgson):
* Added `thanks` variable * Use `parskip.sty` when `indent` isn't set (fall back to using `setlength` as before if `parskip.sty` isn't available). * Use `biblio-style` with biblatex. * Added `biblatexoptions` variable. * Added `section-titles` variable (defaults to true) to enable/suppress section title pages in beamer slide shows. * Moved beamer themes after fonts, so that themes can change fonts. (Previously the fonts set were being clobbered by lmodern.sty.)
This commit is contained in:
parent
9333814254
commit
28b2d86b21
7 changed files with 30 additions and 2 deletions
13
README
13
README
|
@ -1138,6 +1138,10 @@ including all [reveal.js configuration options].
|
|||
(default is `empty` for no navigation symbols; other valid values
|
||||
are `frame`, `vertical`, and `horizontal`).
|
||||
|
||||
`section-titles`
|
||||
: enables on "title pages" for new sections in `beamer`
|
||||
documents (default = true).
|
||||
|
||||
[reveal.js configuration options]: https://github.com/hakimel/reveal.js#configuration
|
||||
|
||||
Variables for LaTeX
|
||||
|
@ -1208,6 +1212,9 @@ LaTeX variables are used when [creating a PDF].
|
|||
: disables default behavior of LaTeX template that redefines (sub)paragraphs
|
||||
as sections, changing the appearance of nested headings in some classes
|
||||
|
||||
`thanks`
|
||||
: specifies contents of acknowledgments footnote after document title.
|
||||
|
||||
`toc`
|
||||
: include table of contents (can also be set using `--toc/--table-of-contents`)
|
||||
|
||||
|
@ -1221,7 +1228,11 @@ LaTeX variables are used when [creating a PDF].
|
|||
: bibliography to use for resolving references
|
||||
|
||||
`biblio-style`
|
||||
: bibliography style, when used with `--natbib`
|
||||
: bibliography style, when used with `--natbib` and
|
||||
`--biblatex`.
|
||||
|
||||
`biblatex-options`
|
||||
: list of options for biblatex.
|
||||
|
||||
[`article`]: https://ctan.org/pkg/article
|
||||
[`report`]: https://ctan.org/pkg/report
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 617e2af70c7d429a44d3b116d49d4b05840059e9
|
||||
Subproject commit 7e91df709abffc08b41e9fc5b437fb049898cc13
|
|
@ -195,6 +195,7 @@ pandocToLaTeX options (Pandoc meta blocks) = do
|
|||
defField "dir" (if (null $ query (extract "dir") blocks)
|
||||
then ""::String
|
||||
else "ltr") $
|
||||
defField "section-titles" True $
|
||||
metadata
|
||||
let toPolyObj lang = object [ "name" .= T.pack name
|
||||
, "options" .= T.pack opts ]
|
||||
|
|
|
@ -64,8 +64,12 @@
|
|||
\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
|
||||
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
|
||||
\newcommand{\NormalTok}[1]{{#1}}
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
|
|
|
@ -28,8 +28,12 @@
|
|||
\urlstyle{same} % don't use monospace font for urls
|
||||
\usepackage{listings}
|
||||
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
|
|
|
@ -42,8 +42,12 @@
|
|||
\usepackage[normalem]{ulem}
|
||||
% avoid problems with \sout in headers with hyperref:
|
||||
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
|
|
|
@ -46,8 +46,12 @@
|
|||
\setotherlanguage[]{spanish}
|
||||
\setotherlanguage[]{french}
|
||||
\fi
|
||||
\IfFileExists{parskip.sty}{%
|
||||
\usepackage{parskip}
|
||||
}{% else
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
}
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
|
|
Loading…
Add table
Reference in a new issue