From 562c23a85a90c442a2b6fe5dde23b3a33e8c4acd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 19 Sep 2017 23:23:23 +0000 Subject: hvfloat (18sep17) git-svn-id: svn://tug.org/texlive/trunk@45347 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hvfloat/Changes | 4 ++++ Master/texmf-dist/doc/latex/hvfloat/README | 5 +++++ Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf | Bin 364629 -> 365498 bytes Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex | 21 ++++++++++++++++++++- 4 files changed, 29 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/doc/latex/hvfloat') diff --git a/Master/texmf-dist/doc/latex/hvfloat/Changes b/Master/texmf-dist/doc/latex/hvfloat/Changes index bc82c78999f..9cafb6f03ff 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/Changes +++ b/Master/texmf-dist/doc/latex/hvfloat/Changes @@ -1,4 +1,5 @@ hvfloat.sty: +1.2a 2017-09-16 - new package for global float setting 1.2 2017-04-28 - fix bug with caption (no entry in lof) 1.1 2012-03-04 - added environment hvFloatEnv - don't load package ifthen @@ -7,3 +8,6 @@ hvfloat.sty: hvfloat.tex: the source of the documentation + +hvfloat-fps.sty +0.01 2017-09-16 - first CTAN version diff --git a/Master/texmf-dist/doc/latex/hvfloat/README b/Master/texmf-dist/doc/latex/hvfloat/README index e7110daa55c..afdae48dcd5 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/README +++ b/Master/texmf-dist/doc/latex/hvfloat/README @@ -1,5 +1,10 @@ hvfloat +hv-float-fps Placing figures/tables with various options, like rotating the image/table and/or caption. + +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN archives +%% in directory macros/latex/base/lppl.txt. diff --git a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf index 8203da1d3bb..2da95ba0692 100644 Binary files a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf and b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf differ diff --git a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex index 96be0774592..76556e3f28c 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex +++ b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex @@ -2,7 +2,7 @@ \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage{libertine} -\usepackage[scaled=0.88]{beramono} +\usepackage[scaled=0.85]{beramono} \usepackage[utf8]{inputenc} \usepackage{listings} % @@ -582,6 +582,25 @@ L & C & R \\\hline \end{lstlisting} +\section{Global float setting} +Instead of writing the following sequence into the preamble: + +\begin{verbatim} +\makeatletter +\renewcommand\fps@figure{tb} +\renewcommand\fps@table{t} +\makeatother +\end{verbatim} + +you can change the global setting of floats by loading the package \texttt{hvfloat-fps}. It allows +optional package options to set the global placement: + + +\begin{verbatim} +\usepackage[figure=tb,table=t]{hvfloat-fps} +\end{verbatim} + + %\appendix %\section{Problems} %\begin{itemize} -- cgit v1.2.3