forked from len0rd/rockbox
- set the default image file extension based on output type
- don't use booktabs on html output - remove some unused packages git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10980 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
726aaadd5b
commit
1d16d4a4eb
1 changed files with 10 additions and 4 deletions
|
|
@ -38,13 +38,13 @@
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{verbatim}
|
\usepackage{verbatim}
|
||||||
\usepackage{makeidx}
|
\usepackage{makeidx}
|
||||||
\usepackage{amsmath}
|
|
||||||
\usepackage{amssymb}
|
|
||||||
\usepackage{fancyvrb}
|
\usepackage{fancyvrb}
|
||||||
\usepackage{enumerate}
|
\usepackage{enumerate}
|
||||||
\usepackage{subfigure}
|
|
||||||
\usepackage{color}
|
\usepackage{color}
|
||||||
\usepackage{booktabs}
|
\ifpdfoutput{\usepackage{booktabs}}%
|
||||||
|
{\newcommand{%
|
||||||
|
\toprule}{}\newcommand{\midrule}{\hline}\newcommand{\bottomrule}{}%
|
||||||
|
}
|
||||||
\usepackage{longtable}
|
\usepackage{longtable}
|
||||||
\usepackage{url}
|
\usepackage{url}
|
||||||
\urlstyle{sf}
|
\urlstyle{sf}
|
||||||
|
|
@ -58,6 +58,12 @@
|
||||||
% \draftangle{45}
|
% \draftangle{45}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% pdf output: try pdf first, then png and jpg as file format
|
||||||
|
% html output: try png first, then jpg. Ignore pdf files
|
||||||
|
% this only applies if no file extension is given!
|
||||||
|
\ifpdfoutput{\DeclareGraphicsExtensions{.pdf,.png,.jpg}}%
|
||||||
|
{\DeclareGraphicsExtensions{.png,.jpg}}
|
||||||
|
|
||||||
% fancy header style adjustments
|
% fancy header style adjustments
|
||||||
\fancyhead{}
|
\fancyhead{}
|
||||||
\fancyfoot{}
|
\fancyfoot{}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue