summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/rotating
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-25 11:29:25 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-25 11:29:25 +0000
commit7f6c139bbdbbbcee9140892f8fad3584d63cf446 (patch)
tree758e44ba372ce41c88c327aaa5fa7f469bea018b /Master/texmf-dist/source/latex/rotating
parentf52cc33b4a7d60c6a06d3e46fb47442317a3952d (diff)
rotating v1.13 2008/06/06
git-svn-id: svn://tug.org/texlive/trunk@9039 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/rotating')
-rw-r--r--Master/texmf-dist/source/latex/rotating/rotating.dtx47
1 files changed, 25 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/latex/rotating/rotating.dtx b/Master/texmf-dist/source/latex/rotating/rotating.dtx
index db998b720e3..800cde11e08 100644
--- a/Master/texmf-dist/source/latex/rotating/rotating.dtx
+++ b/Master/texmf-dist/source/latex/rotating/rotating.dtx
@@ -1,7 +1,7 @@
%
% \iffalse
%
-% $Id: rotating.dtx,v 1.13 2008/06/06 19:25:30 rf10 Exp rf10 $
+% $Id: rotating.dtx,v 1.11 2008/06/06 19:22:17 rf10 Exp rf10 $
%
%% File: rotating.dtx
%% Copyright 1995--1999 Sebastian Rahtz and Leonor Barroca
@@ -30,12 +30,12 @@
\ProvidesFile{rotating.dtx}%
%</dtx>
%<package>\ProvidesPackage{rotating}%
- [2008/06/06 v2.15a
+ [2008/06/06 v2.15b
%<package> rotated objects in LaTeX%
%<*dtx>
rotating package source file%
%</dtx>
- ]% $Id: rotating.dtx,v 1.13 2008/06/06 19:25:30 rf10 Exp rf10 $
+ ]% $Id: rotating.dtx,v 1.11 2008/06/06 19:22:17 rf10 Exp rf10 $
%<*dtx>
\documentclass{ltxdoc}
\GetFileInfo{rotating.dtx}
@@ -53,7 +53,7 @@
\end{document}
%</dtx>
% \fi
-% \CheckSum{470}
+% \CheckSum{478}
% \begin{abstract}
% This article documents a \LaTeX\ package, `rotating.sty',
% which performs most sorts of
@@ -367,7 +367,8 @@
\stepcounter{r@tfl@t}%
\rot@label{RF\ther@tfl@t}%
\rot@pageref{RF\ther@tfl@t}{\R@@page}%
- \rot@mess@toks{Adding sideways \@captype\space on page \R@@page\space}
+ \edef\@tempa{Adding sideways \@captype\space on page \R@@page\space}
+ \rot@mess@toks\expandafter{\@tempa}
\wd\rot@float@box\z@
\ht\rot@float@box\z@
\dp\rot@float@box\z@
@@ -383,7 +384,7 @@
\fi
\ifthenelse{\isodd{\R@@page}}{%
\if@rot@twoside
- \rot@mess@toks\expandafter{\the\rot@mess@toks right hand page}%
+ \rot@mess@toks\expandafter{\the\rot@mess@toks (right hand page)}%
\fi
\vfill
\@@line{%
@@ -393,7 +394,7 @@
}%
}{%
\if@rot@twoside
- \rot@mess@toks\expandafter{\the\rot@mess@toks left hand page}%
+ \rot@mess@toks\expandafter{\the\rot@mess@toks (left hand page)}%
\fi
\@@line{%
\hskip\rotFPbot
@@ -456,7 +457,8 @@
\stepcounter{r@tfl@t}%
\rot@label{RF\ther@tfl@t}%
\rot@pageref{RF\ther@tfl@t}{\R@@page}%
- \rot@mess@toks{Adding sideways \@captype\space on page \R@@page\space}
+ \edef\@tempa{Adding sideways \@captype\space on page \R@@page\space}
+ \rot@mess@toks\expandafter{\@tempa}
\@tempdima\ht\rot@float@box
\advance\@tempdima by \dp\rot@float@box
% \ifrot@messages
@@ -480,7 +482,7 @@
\ifthenelse{\isodd{\R@@page}}{%
\ifrot@messages
\if@rot@twoside
- \rot@mess@toks\expandafter{\the\rot@mess@toks right hand page}%
+ \rot@mess@toks\expandafter{\the\rot@mess@toks (right hand page)}%
\fi
\fi
\vfill
@@ -492,7 +494,7 @@
}{%
\ifrot@messages
\if@rot@twoside
- \rot@mess@toks\expandafter{\the\rot@mess@toks left hand page}%
+ \rot@mess@toks\expandafter{\the\rot@mess@toks (left hand page)}%
\fi
\fi%
\@@line{%
@@ -594,24 +596,25 @@
% \begin{macrocode}
\def\rotcaption{\refstepcounter\@captype\@dblarg{\@rotcaption\@captype}}
\long\def\@rotcaption#1[#2]#3{%
-\addcontentsline{\csname ext@#1\endcsname}{#1}{%
- \protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
+ \addcontentsline{\csname ext@#1\endcsname}{#1}{%
+ \protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
\par
\begingroup
\@parboxrestore
\normalsize
\@makerotcaption{\csname fnum@#1\endcsname}{#3}%
\endgroup}
-\long\def\@makerotcaption#1#2{%
- \setbox\@tempboxa\hbox{#1: #2}%
- \ifdim \wd\@tempboxa > .8\vsize
- \rotatebox{90}{%
- \begin{minipage}{.8\textheight}#1: #2\end{minipage}%
- }\par
- \else%
- \rotatebox{90}{\box\@tempboxa}%
- \fi
- \hspace{12pt}%
+ \long\def\@makerotcaption#1#2{%
+ \setbox\@tempboxa\hbox{#1: #2}%
+ \ifdim \wd\@tempboxa > .8\vsize
+ \rotatebox{90}{%
+ \begin{minipage}{.8\textheight}#1: #2\end{minipage}%
+ }%
+ \else%
+ \rotatebox{90}{\box\@tempboxa}%
+ \fi
+ \nobreak
+ \hspace{12pt}%
}
%</package>
% \end{macrocode}