Merge pull request #115 from xoolive/pr-tufte
Deal with conflicts with tufte-handout.cls
This commit is contained in:
commit
cddd99ccb2
1 changed files with 9 additions and 1 deletions
|
@ -53,6 +53,8 @@ $endif$
|
||||||
$if(geometry)$
|
$if(geometry)$
|
||||||
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||||
$endif$
|
$endif$
|
||||||
|
\makeatletter
|
||||||
|
\@ifpackageloaded{hyperref}{}{%
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\usepackage[setpagesize=false, % page size defined by xetex
|
\usepackage[setpagesize=false, % page size defined by xetex
|
||||||
unicode=false, % unicode breaks when used with xetex
|
unicode=false, % unicode breaks when used with xetex
|
||||||
|
@ -60,7 +62,13 @@ $endif$
|
||||||
\else
|
\else
|
||||||
\usepackage[unicode=true]{hyperref}
|
\usepackage[unicode=true]{hyperref}
|
||||||
\fi
|
\fi
|
||||||
|
}
|
||||||
|
\@ifpackageloaded{color}{
|
||||||
|
\PassOptionsToPackage{usenames,dvipsnames}{color}
|
||||||
|
}{%
|
||||||
\usepackage[usenames,dvipsnames]{color}
|
\usepackage[usenames,dvipsnames]{color}
|
||||||
|
}
|
||||||
|
\makeatother
|
||||||
\hypersetup{breaklinks=true,
|
\hypersetup{breaklinks=true,
|
||||||
bookmarks=true,
|
bookmarks=true,
|
||||||
pdfauthor={$author-meta$},
|
pdfauthor={$author-meta$},
|
||||||
|
|
Loading…
Add table
Reference in a new issue