Skip to content

Commit

Permalink
将一再出现的设置移入默认设置。
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperVector committed Apr 12, 2014
1 parent fd3da9a commit c171456
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
7 changes: 0 additions & 7 deletions owl-rescue-guide.h.tex
Original file line number Diff line number Diff line change
@@ -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}}}

8 changes: 0 additions & 8 deletions owl-taxon-guide.h.tex
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
\makeatletter
\@ifpackageloaded{adjustbox}{%
\adjustboxset{max totalsize = {0.90\textwidth}{0.36\textheight}}%
}{}
\makeatother
\renewcommand{\floatpagefraction}{0.72}
\captionsetup{font = it}

5 changes: 3 additions & 2 deletions pandoc-caspervector.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
\usepackage{microtype}
\usepackage{indentfirst}
\usepackage{amssymb, amsmath}
\usepackage[labelformat = empty]{caption}
\usepackage[font = it, labelformat = empty]{caption}

\ifXeTeX
\usepackage{xltxtra}
Expand All @@ -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}
Expand Down Expand Up @@ -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$}
Expand Down

0 comments on commit c171456

Please sign in to comment.