mirror of
https://github.com/eddelbuettel/binb
synced 2024-12-22 12:39:58 +01:00
Check for availability of pgfpages before requiring it
This commit is contained in:
parent
42bacb0647
commit
d8bf485c69
@ -1,7 +1,7 @@
|
|||||||
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
|
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
|
||||||
\PassOptionsToPackage{hyphens}{url}
|
\PassOptionsToPackage{hyphens}{url}
|
||||||
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
\usepackage{pgfpages}
|
\IfFileExists{pgfpages.sty}{\usepackage{pgfpages}}{}
|
||||||
\setbeamertemplate{caption}[numbered]
|
\setbeamertemplate{caption}[numbered]
|
||||||
\setbeamertemplate{caption label separator}{: }
|
\setbeamertemplate{caption label separator}{: }
|
||||||
\setbeamercolor{caption name}{fg=normal text.fg}
|
\setbeamercolor{caption name}{fg=normal text.fg}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
|
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
|
||||||
\PassOptionsToPackage{hyphens}{url}
|
\PassOptionsToPackage{hyphens}{url}
|
||||||
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
\usepackage{pgfpages}
|
\IfFileExists{pgfpages.sty}{\usepackage{pgfpages}}{}
|
||||||
\setbeamertemplate{caption}[numbered]
|
\setbeamertemplate{caption}[numbered]
|
||||||
\setbeamertemplate{caption label separator}{: }
|
\setbeamertemplate{caption label separator}{: }
|
||||||
\setbeamercolor{caption name}{fg=normal text.fg}
|
\setbeamercolor{caption name}{fg=normal text.fg}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
|
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
|
||||||
\PassOptionsToPackage{hyphens}{url}
|
\PassOptionsToPackage{hyphens}{url}
|
||||||
\documentclass[$if(fontsize)$$fontsize$,$else$14pt,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
\documentclass[$if(fontsize)$$fontsize$,$else$14pt,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
\usepackage{pgfpages}
|
\IfFileExists{pgfpages.sty}{\usepackage{pgfpages}}{}
|
||||||
\setbeamertemplate{caption}[numbered]
|
\setbeamertemplate{caption}[numbered]
|
||||||
\setbeamertemplate{caption label separator}{: }
|
\setbeamertemplate{caption label separator}{: }
|
||||||
\setbeamercolor{caption name}{fg=normal text.fg}
|
\setbeamercolor{caption name}{fg=normal text.fg}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user