diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/caption/ltcaption.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/caption/ltcaption.dtx | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/caption/ltcaption.dtx b/Master/texmf-dist/source/latex/caption/ltcaption.dtx index be81d9e3917..299c7e6f8f2 100644 --- a/Master/texmf-dist/source/latex/caption/ltcaption.dtx +++ b/Master/texmf-dist/source/latex/caption/ltcaption.dtx @@ -30,7 +30,7 @@ %<*driver> \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesFile{ltcaption.drv}% - [2007/09/01 v1.1 This package fixes caption problems with + [2007/10/03 v1.1 This package fixes caption problems with other-than-centered aligned longtables] \hbadness=9999 \newcount\hbadness \hfuzz=48pt % Make TeX shut up. % @@ -97,12 +97,20 @@ % \clearpage % \section{The user interface} % -% Just include this package \emph{after} the \package{longtable} package\cite{longtable}, e.g.: +% The content of \cs{caption} in longtables is usually centered to the content of the +% longtable itself. +% This is sufficient for centered longtables, but for left or right aligned longtables +% this results in captions moved into the left or right page margin. +% +% To solve this problem just include this package \emph{after} the \package{longtable} +% package\cite{longtable}, e.g.: % \begin{quote} % |\usepackage{longtable,ltcaption}| % \end{quote} +% Afterwards the captions of all longtables should be aligned as expected, +% even for not-centered longtables. % -% \bigskip +% \subsection{Further justification} % % \DescribeMacro{\LTcapleft} % \DescribeMacro{\LTcapright} @@ -122,13 +130,13 @@ % captions as well. % % \emph{Note:} -% These adaptions do not work when used with one of the \KOMAScript\ +% These commands do not work when used with one of the \KOMAScript\ % classes\cite{KOMAScript} |scrartcl|, |scrreprt| or |scrbook|, % the \KOMAScript\ settings for captions are used instead. % Same with the \package{caption} package which also uses its own options % and settings. % -% \bigskip +% \subsection{Bonus features} % % \DescribeMacro{\LTcaptype} % As a bonus feature this package patches the \package{longtable} package @@ -139,7 +147,6 @@ % |\begin{longtable}{ll}|\\ % |\caption{An example longtable}\\|\\ % | A & B \\|\\ -% | C & D \\|\\ % |\end{longtable}| % \end{quote} % will result in a longtable like this: @@ -149,12 +156,9 @@ % \begin{longtable}{ll} % \caption{An example longtable}\\ % A & B \\ -% C & D \\ % \end{longtable} % \endgroup % -% \bigskip -% % \DescribeEnv{longtable*} % Another bonus feature is the addition of the environment |longtable*| which % does not increment the |table| counter. (As a consequence, |\caption| is not @@ -341,27 +345,27 @@ % \begin{thebibliography}{9} % \bibitem{longtable} % David Carlisle: -% \href{ftp://ctan.tug.org/tex-archive/macros/latex/required/tools/longtable.pdf}% +% \href{http://tug.ctan.org/tex-archive/macros/latex/required/tools/}% % {\emph{The longtable package}}, % 2004/02/01 % % \bibitem{NTGclasses} % Victor Eijkhout: -% \href{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/ntgclass/classdoc.pdf}% +% \href{http://tug.ctan.org/tex-archive/macros/latex/contrib/ntgclass/}% % {\emph{An introduction to the Dutch \LaTeX\ document classes}},\\ % \mbox{3~September~1989} % % \bibitem{KOMAScript} % Markus Kohm \& Jens-Uwe-Morawski: -% \href{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf}% +% \href{http://tug.ctan.org/tex-archive/macros/latex/contrib/koma-script/}% % {\emph{KOMA-Script -- a versatile \LaTeXe\ bundle}},\\ % 2007-01-09 % % \bibitem{floatrow} % Olga Lapko: -% \href{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/floatrow/floatrow.pdf}% -% {\emph{The floatrow package documentation}}, -% 2006/07/24 +% \href{http://tug.ctan.org/tex-archive/macros/latex/contrib/floatrow/}% +% {\emph{The floatrow package documentation}},\\ +% 2007/08/24 % \end{thebibliography} % } % |