diff options
author | Karl Berry <karl@freefriends.org> | 2009-03-17 16:27:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-03-17 16:27:26 +0000 |
commit | ce167caf461ccd1057c35fd0477c2ae87a4ba8f9 (patch) | |
tree | fe8423ffe7c8e772e1c7e2f661be9ac537f0573f /Master/texmf-dist/tex/latex | |
parent | 6ab357d33224aa104997ffe656f1774efdc64945 (diff) |
rotating 2.16 (16mar09)
git-svn-id: svn://tug.org/texlive/trunk@12407 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/rotating/rotating.sty | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/rotating/rotating.sty b/Master/texmf-dist/tex/latex/rotating/rotating.sty index 2dc9e3ffe8a..54e60226e10 100644 --- a/Master/texmf-dist/tex/latex/rotating/rotating.sty +++ b/Master/texmf-dist/tex/latex/rotating/rotating.sty @@ -5,17 +5,25 @@ %% The original source files were: %% %% rotating.dtx (with options: `package') -%% Copyright (C) 1994 Sebastian Rahtz and Leonor Barroca. All -%% rights reserved. Permission is granted to to customize the -%% declarations in this file to serve the needs of your installation. -%% However, no permission is granted to distribute a modified version of -%% this file under its original name. +%% +%% Copyright (C) 1994 Sebastian Rahtz and Leonor Barroca. +%% Copyright (C) 2001-2003,2007,2008 Robin Fairbairns. +%% +%% This package is distributed under the terms of the LaTeX Project +%% Public Licence, either version 1.3c or any later version, at your +%% convenience. +%% +%% This package has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Robin Fairbairns. +%% +%% For further details see the file rotating.dtx %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{rotating}% - [2008/10/05 v2.15c + [2009/03/16 v2.16 rotated objects in LaTeX% - ]% $Id: rotating.dtx,v 1.15 2008/10/05 18:31:01 rf10 Exp $ + ]% $Id: rotating.dtx,v 1.18 2009/03/16 13:35:10 rf10 Exp rf10 $ \DeclareOption{clockwise}{% \AtBeginDocument{\setkeys{Grot}{units=360}}% } @@ -63,27 +71,27 @@ \newskip\rotFPbot \rotFPbot=\@fpbot \def\sideways{% \Grot@setangle{90}% - \setbox\z@\hbox\bgroup\ignorespaces} + \setbox\z@\color@hbox\ignorespaces} \def\endsideways{% - \unskip\egroup + \unskip\color@endbox \Grot@x\z@ \Grot@y\z@ \Grot@box } \def\turn#1{% \Grot@setangle{#1}% - \setbox\z@\hbox\bgroup\ignorespaces} + \setbox\z@\color@hbox\ignorespaces} \def\endturn{% - \unskip\egroup + \unskip\color@endbox \Grot@x\z@ \Grot@y\z@ \Grot@box } \def\rotate#1{% \Grot@setangle{#1}% - \setbox\z@\hbox\bgroup\ignorespaces} + \setbox\z@\color@hbox\ignorespaces} \def\endrotate{% - \unskip\egroup + \unskip\color@endbox \Grot@x\z@ \Grot@y\z@ \wd0\z@\dp0\z@\ht0\z@ @@ -253,7 +261,7 @@ \@makerotcaption{\csname fnum@#1\endcsname}{#3}% \endgroup} \long\def\@makerotcaption#1#2{% - \setbox\@tempboxa\hbox{#1: #2}% + \setbox\@tempboxa\color@hbox#1: #2\color@endbox \ifdim \wd\@tempboxa > .8\vsize \rotatebox{90}{% \begin{minipage}{.8\textheight}#1: #2\end{minipage}% |