summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorMartin Arver <martin.arver@gmail.com>2006-04-26 11:06:45 +0000
committerMartin Arver <martin.arver@gmail.com>2006-04-26 11:06:45 +0000
commitf6db3680ee92baf8d53c7ac4e80bfa81a064662a (patch)
tree52ea9288cd68068d3aebf9b1b1abddb4b4f36c50 /manual
parent69cf4f57ac3ac2b4c7e7d30128ee5d0cd86979a6 (diff)
downloadrockbox-f6db3680ee92baf8d53c7ac4e80bfa81a064662a.tar.gz
rockbox-f6db3680ee92baf8d53c7ac4e80bfa81a064662a.tar.bz2
rockbox-f6db3680ee92baf8d53c7ac4e80bfa81a064662a.zip
Change the float placement to H (as in HERE) for screenshots and in-text-tables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9812 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/preamble.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index a411a94e01..0c8db5ccf7 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -103,10 +103,12 @@
% add screenshot image.
% Usage: \screenshot{filename}{caption}{label}
+% By using the 'H' (HERE) placement, the screenshots are placed where
+% we want them.
% Note: use this only for screenshots!
% Note: leave caption empty to supress it.
\newcommand{\screenshot}[3]{
- \begin{figure}[!ht]
+ \begin{figure}[H]
\begin{center}
\IfFileExists{#1-\genericimg.png}
{\includegraphics[width=4cm]{#1-\genericimg.png}}
@@ -141,8 +143,8 @@
\ifinner#1\else\marginpar{\raisebox{-6pt}{\Huge\Stopsign}}#1\par\fi%
}
-% make table floats use "!htb" as default positioning
-\makeatletter\renewcommand{\fps@table}{!htb}\makeatother
+% make table floats use "H" (as for screenshots) as default positioning
+\makeatletter\renewcommand{\fps@table}{H}\makeatother
% change defaults for floats on a page as we have a lot of small images
\setcounter{topnumber}{3} % default: 2
\setcounter{bottomnumber}{2} % default: 1