summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-07 20:40:07 +0000
committerKarl Berry <karl@freefriends.org>2022-05-07 20:40:07 +0000
commitaacfefbccda2049e11a279b80eb2fe004dc55a0d (patch)
tree47aab68d25bb3ccd3c99875d107f6dbb8dec5833 /Master/texmf-dist
parent66cf44c488603214d7931e3d90f74717a8a36d2c (diff)
swfigure (7may22)
git-svn-id: svn://tug.org/texlive/trunk@63253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/swfigure/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/swfigure/swfigure-examples.pdfbin547458 -> 1903378 bytes
-rw-r--r--Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex13
-rw-r--r--Master/texmf-dist/doc/latex/swfigure/swfigure.pdfbin1178086 -> 1178100 bytes
-rw-r--r--Master/texmf-dist/source/latex/swfigure/swfigure.dtx22
-rw-r--r--Master/texmf-dist/tex/latex/swfigure/swfigure.sty6
6 files changed, 26 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/swfigure/README.txt b/Master/texmf-dist/doc/latex/swfigure/README.txt
index 5852a0aa98d..dc03f255748 100644
--- a/Master/texmf-dist/doc/latex/swfigure/README.txt
+++ b/Master/texmf-dist/doc/latex/swfigure/README.txt
@@ -6,7 +6,7 @@
%%
File README.txt for package swfigure
- [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]
This bundle contains the swfigure.dtx, swfigure-examples.tex,
and README.txt files plus eight fake figures with extension .jpg
or .pdf and a screenshot with extension .pdf.
diff --git a/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.pdf b/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.pdf
index be47bf44e93..89092c2a878 100644
--- a/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.pdf
+++ b/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex b/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex
index ebc8d3fd7fd..e0dd722ba44 100644
--- a/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex
+++ b/Master/texmf-dist/doc/latex/swfigure/swfigure-examples.tex
@@ -1,9 +1,10 @@
% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = pdflatex
\documentclass[a4paper]{book}\errorcontextlines=100
-\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}
-\usepackage{lmodern,textcomp,multicol,enumitem,mflogo,xcolor,fancyvrb}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern,multicol,enumitem,mflogo,xcolor,fancyvrb}
\usepackage{swfigure}
+\usepackage[german,italian,english]{babel}
\usepackage{hyperref}\hypersetup{pdfpagelayout=TwoColumnRight}
\providecommand*\diff{\mathop{}\!\mathrm{d}}
@@ -82,6 +83,11 @@
\date{Version \fileversion~---~ Last revised \filedate}
\maketitle
+% Uncomment one of these lines just to test the correct prefix to the
+% figure number
+%\selectlanguage{italian}
+%\selectlanguage{german}
+
\begin{abstract}
Managing large images is not that straightforward to do. Package \pack{swfigure} was initially created to handle such large figures that required a whole spread to display them; the package initial letters SW are the acronym of Spread Wide. While developing this package, other display modes were introduced, so that with a single user command it is possible to display a large image in five different modes, that are to be chosen according to the figure aspect ratio, and the page design of the document.
This package works pretty well with two side printed documents with a symmetrical page design, i.e. with the same dimension for the inner margins and, respectively, the outer margins. The documented \TeX\ file that describes the software does not have a symmetrical design, therefore this second file is necessary in order to show some examples.
@@ -330,7 +336,8 @@ them the objects in space and time. Because of our necessary ignorance
of the conditions, it must not be supposed that, then, formal logic
(and what we have alone been able to show is that this is true) is a
representation of the never-ending regress in the
-\begin{DFimage}[HS]{HSfakeimage}{A Horizontal Slim fake image}[fig:HSfake]
+%\begin{DFimage}[HS]{HSfakeimage}{A Horizontal Slim fake image}[fig:HSfake]
+\begin{DFimage}[HS]{felsen-wasser-small}{A Horizontal Slim fake image}[fig:HSfake]
series of empirical
conditions, but the discipline of pure reason, in so far as this
expounds the contradictory rules of metaphysics, depends on the
diff --git a/Master/texmf-dist/doc/latex/swfigure/swfigure.pdf b/Master/texmf-dist/doc/latex/swfigure/swfigure.pdf
index 85bd2b11e1e..c4007ea2d29 100644
--- a/Master/texmf-dist/doc/latex/swfigure/swfigure.pdf
+++ b/Master/texmf-dist/doc/latex/swfigure/swfigure.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/swfigure/swfigure.dtx b/Master/texmf-dist/source/latex/swfigure/swfigure.dtx
index fe53b10e92e..7c10e67613d 100644
--- a/Master/texmf-dist/source/latex/swfigure/swfigure.dtx
+++ b/Master/texmf-dist/source/latex/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%
}
diff --git a/Master/texmf-dist/tex/latex/swfigure/swfigure.sty b/Master/texmf-dist/tex/latex/swfigure/swfigure.sty
index e0fda2484b8..3036e253877 100644
--- a/Master/texmf-dist/tex/latex/swfigure/swfigure.sty
+++ b/Master/texmf-dist/tex/latex/swfigure/swfigure.sty
@@ -11,7 +11,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020/01/01]
\ProvidesPackage{swfigure}%
- [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]
\RequirePackage{etoolbox}
\RequirePackage{xfp}
@@ -61,14 +61,14 @@
\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%
}