diff --git a/owl-rescue-guide.h.tex b/owl-rescue-guide.h.tex index c3837b3..a5f4688 100644 --- a/owl-rescue-guide.h.tex +++ b/owl-rescue-guide.h.tex @@ -1,10 +1,3 @@ -\makeatletter -\@ifpackageloaded{adjustbox}{% - \adjustboxset{max totalsize = {0.90\textwidth}{0.36\textheight}}% -}{} -\makeatother -\renewcommand{\floatpagefraction}{0.72} -\captionsetup{font = it} \let\oldemph\emph \renewcommand{\emph}[1]{\oldemph{\textcolor{red}{#1}}} diff --git a/owl-taxon-guide.h.tex b/owl-taxon-guide.h.tex index 59df6cd..e69de29 100644 --- a/owl-taxon-guide.h.tex +++ b/owl-taxon-guide.h.tex @@ -1,8 +0,0 @@ -\makeatletter -\@ifpackageloaded{adjustbox}{% - \adjustboxset{max totalsize = {0.90\textwidth}{0.36\textheight}}% -}{} -\makeatother -\renewcommand{\floatpagefraction}{0.72} -\captionsetup{font = it} - diff --git a/pandoc-caspervector.tex b/pandoc-caspervector.tex index c874fee..d49a660 100644 --- a/pandoc-caspervector.tex +++ b/pandoc-caspervector.tex @@ -10,7 +10,7 @@ \usepackage{microtype} \usepackage{indentfirst} \usepackage{amssymb, amsmath} -\usepackage[labelformat = empty]{caption} +\usepackage[font = it, labelformat = empty]{caption} \ifXeTeX \usepackage{xltxtra} @@ -32,7 +32,7 @@ $if(graphics)$ \usepackage{graphicx} \usepackage[Export]{adjustbox} -\adjustboxset{max totalsize = {0.75\textwidth}{0.75\textheight}} +\adjustboxset{max totalsize = {0.90\textwidth}{0.36\textheight}} $endif$ $if(tables)$ \usepackage{longtable, booktabs} @@ -67,6 +67,7 @@ $if(ctex)$ \pagestyle{plain} $endif$ +\renewcommand{\floatpagefraction}{0.72} \setlength{\emergencystretch}{3em} \setcounter{tocdepth}{$toc-depth$} \setcounter{secnumdepth}{$if(numbersections)$5$else$0$endif$}