summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/swfigure/swfigure.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/swfigure/swfigure.dtx')
-rw-r--r--macros/latex/contrib/swfigure/swfigure.dtx22
1 files changed, 12 insertions, 10 deletions
diff --git a/macros/latex/contrib/swfigure/swfigure.dtx b/macros/latex/contrib/swfigure/swfigure.dtx
index fe53b10e92..7c10e67613 100644
--- a/macros/latex/contrib/swfigure/swfigure.dtx
+++ b/macros/latex/contrib/swfigure/swfigure.dtx
@@ -43,7 +43,7 @@ files swfigure.sty and swfigure.pdf
%</driver>
%<+package>\ProvidesPackage{swfigure}%
%<*package>
- [2022-01-04 v.0.9.19 Managing large and spread wide figures]
+ [2022-04-24 v.0.9.20 Managing large and spread wide figures]
%</package>
%<*driver>
\documentclass[a4paper]{ltxdoc}\errorcontextlines=9
@@ -107,7 +107,7 @@ Managing large and spread wide figures}
%</driver>
% \fi
%
-% \CheckSum{1042}
+% \CheckSum{1046}
%
% \begin{abstract}
% This package defines a single command that with different options can
@@ -295,7 +295,9 @@ Managing large and spread wide figures}
% better to enter a shorter text in that list.
%
%\item[\meta{caption}]
-% is the caption text.
+% is the caption text. Its number prefix is adapted to the main or the
+% current language setting as it happens with any figure in standard
+% \LaTeX.
%
%\item[\meta{label}]
% this optional argument is the string that forms the \cs{label} command
@@ -437,9 +439,9 @@ Managing large and spread wide figures}
% image, besides occupying an A3 page, should have a minimum white
% margin around, so that a caption can be superimposed to the image white
% part if its original bottom margin that, upon rotation, becomes the
-% right one, is large nough. If the original image has no margins, the
-% caption is typeset ove the image, but it may be colored with contrasting
-% color compared to the average background one.
+% right one, is large enough. If the original image has no margins, the
+% caption is typeset ove the image, but it may be coloured with
+% contrasting color compared to the average background one.
%
% \item[\texttt{TH}]
% This mode is suited for tall figures that do not show well when their
@@ -462,7 +464,7 @@ Managing large and spread wide figures}
% and examines the \texttt{.log} file where he finds the explanation
% of the possibly too bad result.
% \item[\texttt{TW}]
-% A another Total Width mode is is defined such that the scaled
+% A another Total Width mode is defined such that the scaled
% image and its (side) caption occupy the upper part of the page/paper.
% The given image is scaled to occupy the internal margin plus 80\%
% of the text block width; the remaining horizontal space is provided
@@ -477,7 +479,7 @@ Managing large and spread wide figures}
% aspect ratio images, from a not so slim tall portrait image to
% a landscape image. A square image, scaled as described above,
% may occupy approximately the upper half of the page.
-% The caption is always well typedset in the adjacent free space,
+% The caption is always well typeset in the adjacent free space,
% and it is possible to slightly modify its measure by using an
% optional argument.
%\end{description}
@@ -680,14 +682,14 @@ Managing large and spread wide figures}
% \begin{macrocode}
\NewDocumentCommand\DFcaption{O{#2} m o}{\refstepcounter{figure}%
\vtop to 0pt{\hsize=\textheight\parindent=0pt\leavevmode
- Figure \thefigure\quad #2\vss}%
+ \figurename\ \thefigure\quad #2\vss}%
\addcontentsline{lof}{figure}{\protect\numberline{\thefigure}#1}
\IfValueT{#3}{\label{#3}}\relax%
}
\NewDocumentCommand\DFcaptionP{O{#2} m o D!!{\color{black}}}%
{\refstepcounter{figure}%
\vbox to 0pt{\vss\hsize=\textheight\parindent=0pt\leavevmode
- #4\relax Figure \thefigure\quad #2}%
+ #4\relax \figurename\ \thefigure\quad #2}%
\addcontentsline{lof}{figure}{\protect\numberline{\thefigure}#1}
\IfValueT{#3}{\label{#3}}\relax%
}