LaTeXML
view release on metacpan or search on metacpan
lib/LaTeXML/Package/acmart.cls.ltxml view on Meta::CPAN
beforeDigest => sub { beforeFloat('figure'); },
afterDigest => sub { afterFloat($_[1]); });
DefEnvironment('{margintable}[]',
"<ltx:table xml:id='#id' inlist='#inlist' class='ltx_margintable' ?#1(placement='#1')>"
. "#tags"
. "#body"
. "</ltx:table>",
properties => { layout => 'vertical' },
beforeDigest => sub { beforeFloat('table'); },
afterDigest => sub { afterFloat($_[1]); });
DefMacroI('\sidebarname', undef, 'Sidebar');
DefMacroI('\fnum@sidebar', undef, '\sidebarname\nobreakspace\thesidebar');
DefMacro('\format@title@sidebar{}', '\lx@tag{\fnum@sidebar: }#1');
DefEnvironment('{sidebar}{} Undigested [] {}',
"<ltx:sidebar labels='#label' xml:id='#id'>"
# . "#tags"
# . "<ltx:title font='#titlefont' _force_font='true'>#title</ltx:title>"
# . "<ltx:creator role='author'><ltx:personname href='#bio'>#4</ltx:personname></ltx:creator>"
. "#body"
. "</ltx:sidebar>");
RawTeX(<<'EoTeX');
\def\@acmplainbodyfont{\itshape}
\def\@acmplainindent{\parindent}
\def\@acmplainheadfont{\scshape}
\def\@acmplainnotefont{\@empty}
\newtheoremstyle{acmplain}%
{.5\baselineskip\@plus.2\baselineskip
\@minus.2\baselineskip}% space above
{.5\baselineskip\@plus.2\baselineskip
\@minus.2\baselineskip}% space below
{\@acmplainbodyfont}% body font
{\@acmplainindent}% indent amount
{\@acmplainheadfont}% head font
{.}% punctuation after head
{.5em}% spacing after head
{\thmname{#1}\thmnumber{ #2}\thmnote{ {\@acmplainnotefont(#3)}}}% head spec
\def\@acmdefinitionbodyfont{\normalfont}
\def\@acmdefinitionindent{\parindent}
\def\@acmdefinitionheadfont{\itshape}
\def\@acmdefinitionnotefont{\@empty}
\newtheoremstyle{acmdefinition}%
{.5\baselineskip\@plus.2\baselineskip
\@minus.2\baselineskip}% space above
{.5\baselineskip\@plus.2\baselineskip
\@minus.2\baselineskip}% space below
{\@acmdefinitionbodyfont}% body font
{\@acmdefinitionindent}% indent amount
{\@acmdefinitionheadfont}% head font
{.}% punctuation after head
{.5em}% spacing after head
{\thmname{#1}\thmnumber{ #2}\thmnote{ {\@acmdefinitionnotefont(#3)}}}% head spec
\theoremstyle{acmplain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{acmdefinition}
\newtheorem{example}[theorem]{Example}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{acmplain}
EoTeX
Let('\proof', '\@proof');
Let('\endproof', '\end@proof');
#======================================================================
1;
( run in 1.075 second using v1.01-cache-2.11-cpan-0d23b851a93 )