/usr/share/perl5/LaTeXML/Package/subfigure.sty.ltxml is in latexml 0.8.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | # -*- mode: Perl -*-
# /=====================================================================\ #
# | subfigure.sty | #
# | Implementation for LaTeXML | #
# |=====================================================================| #
# | Part of LaTeXML: | #
# | Public domain software, produced as part of work done by the | #
# | United States Government & not subject to copyright in the US. | #
# |---------------------------------------------------------------------| #
# | Bruce Miller <bruce.miller@nist.gov> #_# | #
# | http://dlmf.nist.gov/LaTeXML/ (o o) | #
# \=========================================================ooo==U==ooo=/ #
package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;
NewCounter('subfigure', 'figure', idprefix => 'sf', idwithin => 'figure');
NewCounter('subtable', 'table', idprefix => 'st', idwithin => 'table');
DefMacro('\thesubfigure', '\alph{subfigure}');
DefMacro('\thesubtable', '\alph{subtable}');
DefMacro('\fnum@subfigure', '(\thesubfigure)');
DefMacro('\subfigure[]{}',
'\begin{@subfigure}#2\ifx.#1.\else\caption{#1}\fi\end{@subfigure}');
DefEnvironment('{@subfigure}',
"<ltx:figure refnum='#refnum' frefnum='#frefnum' rrefnum='#rrefnum' xml:id='#id'>"
. "#body"
. "</ltx:figure>",
beforeDigest => sub { DefMacroI('\@captype', undef, 'subfigure'); },
afterDigest => sub { RescueCaptionCounters('subfigure', $_[1]); });
DefMacro('\fnum@subtable', '(\thesubtable)');
DefMacro('\subtable[]{}',
'\begin{@subtable}#2\ifx.#1.\else\caption{#1}\fi\end{@subtable}');
DefEnvironment('{@subtable}',
"<ltx:table refnum='#refnum' frefnum='#frefnum' rrefnum='#rrefnum' xml:id='#id'>"
. "#body"
. "</ltx:table>",
beforeDigest => sub { DefMacroI('\@captype', undef, 'subtable'); },
afterDigest => sub { RescueCaptionCounters('subtable', $_[1]); });
RawTeX(<<'EOTeX');
\newif\ifsubcapcenter
\newif\ifsubcapcenterlast
\newif\ifsubcaphang
\newif\ifsubcapnooneline
EOTeX
DefMacro('\subcapsize', Tokens());
DefMacro('\subcaplabelfont', Tokens());
DefMacro('\subfigtopskip', '10pt');
DefMacro('\subfigbottomskip', '10pt');
DefMacro('\subfigcapskip', '10pt');
DefMacro('\subfigcapmargin', '10pt');
1;
|