diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/caption/caption-eng.tex')
-rw-r--r-- | Master/texmf-dist/source/latex/caption/caption-eng.tex | 69 |
1 files changed, 44 insertions, 25 deletions
diff --git a/Master/texmf-dist/source/latex/caption/caption-eng.tex b/Master/texmf-dist/source/latex/caption/caption-eng.tex index a26aa0ca3b3..21a61546bef 100644 --- a/Master/texmf-dist/source/latex/caption/caption-eng.tex +++ b/Master/texmf-dist/source/latex/caption/caption-eng.tex @@ -31,7 +31,7 @@ % caption-deu.tex, caption-eng.tex, caption-rus.tex. % \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesFile{caption-eng.tex}[2020/09/12 v3.5 The caption package] +\ProvidesFile{caption-eng.tex}[2020/09/21 v3.5 The caption package] \hbadness=9999 \newcount\hbadness \hfuzz=20pt % Make TeX shut up. %\errorcontextlines=3 @@ -115,7 +115,7 @@ \newcommand*\csmarg[1]{\texttt{\char`\{#1\char`\}}} \newcommand*\csoarg[1]{\texttt{\char`\[#1\char`\]}} -\newcommand*\version[2][]{$v#2$} +\newcommand*\version[2][]{v$#2$} \newcommand*\x{\discretionary{}{}{}} \newenvironment{Annotation}% @@ -253,7 +253,7 @@ It documents the options and commands available in version \version{3.1} of the What now? \begin{itemize} \item - I will start revising this documentation in the next weeks, finally bringing it up-to-date. + I will update this documentation in the next weeks, finally bringing it up-to-date. \item Until the revised documentation is ready the most recent version could be found at \url{https://gitlab.com/axelsommerfeldt/caption/-/blob/master/doc/caption-eng.pdf} @@ -447,10 +447,14 @@ you specify how the caption label will be typeset. There are five standard caption label formats: \begin{Options}{\OptionLabel} - \item[default] + \item[original] The caption label will be typeset as specified by the document class, usually this means the name and the number (like \texttt{simple}). - (This is the default behaviour.) + + Until \version{3.4} of \thispackage\ this label format was called `default'. + Since \version{3.5} it is called `original' and usually is the default label + format, so |label|\-|format=|\-|default| will still select this label format, + unless the default was changed by either a document class or babel language package. \item[empty] The caption label will be empty. @@ -4147,36 +4151,51 @@ could be used to adapt the \package{caption} package default values: \DescribeMacro{\SetCaptionDefault} The command -\begin{quote}|\SetCaptionDefault*|\marg{option}\marg{default value}\end{quote} +\begin{quote} + |\SetCaptionDefault*|\marg{option}\marg{default value} +\end{quote} changes the default value for the option \meta{option}, for example: \begin{quote} -|\SetCaptionDefault{format}{hang}|\\ -|\SetCaptionDefault{justification}{raggedright}|\\ -|\DeclareCaptionLabelSeparator{silly}{ +++ }|\\ -|\SetCaptionDefault{labelseparator}{silly}| + |\SetCaptionDefault{format}{hang}|\\ + |\SetCaptionDefault{justification}{raggedright}|\\ + |\DeclareCaptionLabelSeparator{silly}{ +++ }|\\ + |\SetCaptionDefault{labelseparator}{silly}| \end{quote} This command is available for the options -|box|, -|font|, -|format|, -|justification|, -|label|\-|font|, -|label|\-|format|, -|label|\-|separator|, -|list|\-|format|, -|margin|, -|parbox|, -|position|, -|single|\-|line|\-|check|, -|text|\-|font|, -|text|\-|format|, and -|width|. + |box|, + |font|, + |format|, + |justification|, + |label|\-|font|, + |label|\-|format|, + |label|\-|separator|, + |list|\-|format|, + |margin|, + |parbox|, + |position|, + |single|\-|line|\-|check|, + |text|\-|font|, + |text|\-|format|, and + |width|. The starred variant only makes a difference when setting the default length of either |margin| or |width|, in this case it will use |\def| internally instead of |\edef| to store the value so the actual margin will be calculated when used (and not when set). +\DescribeMacro{\SetCaptionFallback} +The command +\begin{quote} + |\SetCaptionFallback|\marg{option}\marg{fallback value} +\end{quote} +changes the fallback value for the option \meta{option}, for example: +\begin{quote} + |\SetCaptionFallback{labelformat}{simple}| +\end{quote} +Currently only the pre-defined label format `original' uses a fallback +value when |\fnum@|\meta{environment} is not defined for the current (floating) +environment. + \DescribeMacro{\AtCaptionPackage} The adaption file will be loaded when the \package{caption} kernel |caption3.sty| will be loaded so the given adaptions will be done for the \package{floatrow} |