summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/dblfloatfix/dblfloatfix.tex
blob: 7e4197fb51f1a8439830f81ec308ea42959823b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
\documentclass[DIV=8, pagesize=auto]{scrartcl}

\usepackage{fixltx2e}
\usepackage{etex}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage[unicode=true]{hyperref}

\newcommand*{\pkg}[1]{\textsf{#1}}
\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
\makeatletter
\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
\makeatother
\newcommand*{\opt}[1]{\texttt{#1}}

\addtokomafont{title}{\rmfamily}

\title{The \pkg{dblfloatfix} package\thanks{This manual corresponds to \pkg{dblfloatfix}~v1.0a, dated~2012/12/31.}}
\author{Morten Høgholm%
  \thanks{Updated by Joseph Wright
    \href{mailto:joseph.wright@morningstar2.co.uk}
    {<joseph.wright@morningstar2.co.uk>}}}
\date{2012/12/31}


\begin{document}

\maketitle

\noindent
This is the \LaTeX\ package \pkg{dblfloatfix} which solves two problems:
%
\renewcommand*{\theenumi}{\alph{enumi}}%
\renewcommand*{\labelenumi}{\theenumi)}%
\begin{enumerate}
\item floats in a \opt{twocolumn} document come out in the right order and
\item allowed float positions are now \texttt{[tbp]}.
\end{enumerate}
%
It may be distributed and/or modified under the
conditions of the \LaTeX\ Project Public License, either version~1.3c
of this license or (at your option) any later version.
The latest version of this license is in\\
\url{http://www.latex-project.org/lppl.txt}


\section*{Usage:}

This package redefines internals of the \LaTeX\ kernel by merging
the code of the packages \pkg{fixltx2e} (the \pkg{fix2col} part) and \pkg{stfloats}.

If either of the packages \pkg{stfloats} or \pkg{fix2col} are loaded you will
get an error message and your document will probably not be able
to compile. So don't load them!

When the new output routine for \LaTeX3 is done, this package will
be obsolete. The sooner the better\ldots

If you're using the \pkg{subfigure} package this package will provide a
fix for \cmd{\end@dblfloat} by Steven Cochran (the author of \pkg{subfigure}).

\end{document}