LaTeXML

 view release on metacpan or  search on metacpan

lib/LaTeXML/Package/txfonts.sty.ltxml  view on Meta::CPAN

# -*- mode: Perl -*-
# /=====================================================================\ #
# |  txfonts                                                            | #
# | 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;

RequirePackage('amssymb');

#================================================================================
# See LaTeX Symbol list, Table 27.

DefMath('\circledbar',    "\x{29B6}");
DefMath('\circledbslash', "\x{29B8}");
DefMath('\circledvee',    "\x{2228}\x{20DD}");    # overlay circle?
DefMath('\circledwedge',  "\x{2227}\x{20DD}");    # overlay cirxle?
DefMath('\invamp',        "\x{214B}");
# DefMath('\medbullet',     "\x{}");
# DefMath('\medcirc',       "\x{}");
# DefMath('\sqcapplus',     "\x{}");
# DefMath('\sqcupplus',     "\x{}");

# Not in table, but apparently defined?
DefMath('\boxast',       "\x{29C6}");
DefMath('\boxbar',       "\x{25EB}");    # ?
DefMath('\boxbslash',    "\x{29C4}");
DefMath('\boxslash',     "\x{29C5}");
DefMath('\circleddot',   "\x{2299}");
DefMath('\circledminus', "\x{2296}");
DefMath('\circledplus',  "\x{2295}");
DefMath('\circledslash', "\x{2298}");
DefMath('\circledtimes', "\x{2297}");

#================================================================================
# See LaTeX Symbol list, Table 28.
DefMath('\fint', "\x{2A0F}", meaning => 'integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\fintop', "\x{2A0F}", meaning => 'integral', role => 'INTOP',
  scriptpos => 'mid', mathstyle => \&doVariablesizeOp);
DefMath('\idotsint', "\x{222B}\x{22EF}\x{222B}", meaning => 'multiple-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\idotsintop', "\x{222B}\x{22EF}\x{222B}", meaning => 'multiple-integral', role => 'INTOP',
  scriptpos => 'mid', mathstyle => \&doVariablesizeOp);
DefMath('\iint', "\x{222C}", meaning => 'double-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\iintop', "\x{222C}", meaning => 'double-integral', role => 'INTOP',
  scriptpos => 'mid', mathstyle => \&doVariablesizeOp);
DefMath('\iiint', "\x{222D}", meaning => 'triple-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\iiintop', "\x{222D}", meaning => 'triple-integral', role => 'INTOP',
  scriptpos => 'mid', mathstyle => \&doVariablesizeOp);
DefMath('\iiiint', "\x{2A0C}", meaning => 'quadruple-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\iiiintop', "\x{2A0C}", meaning => 'quadruple-integral', role => 'INTOP',
  scriptpos => 'mid', mathstyle => \&doVariablesizeOp);

# Following made with combining clockwise or counter clockwise overlay
DefMath('\oiiintclockwise', "\x{222D}\x{20D9}",
  meaning   => 'triple-clockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\oiiintclockwiseop', "\x{222D}\x{20D9}",
  meaning   => 'triple-clockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                               mathstyle => \&doVariablesizeOp);
DefMath('\varoiiintclockwise', "\x{222D}\x{20D9}",
  meaning   => 'triple-clockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\varoiiintclockwiseop', "\x{222D}\x{20D9}",
  meaning   => 'triple-clockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                               mathstyle => \&doVariablesizeOp);
DefMath('\oiiintctrclockwise', "\x{222D}\x{20DA}",
  meaning   => 'triple-counterclockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\oiiintctrclockwiseop', "\x{222D}\x{20DA}",
  meaning   => 'triple-counterclockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                                      mathstyle => \&doVariablesizeOp);
DefMath('\varoiiintctrclockwise', "\x{222D}\x{20DA}",
  meaning   => 'triple-counterclockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\varoiiintctrclockwiseop', "\x{222D}\x{20DA}",
  meaning   => 'triple-counterclockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                                      mathstyle => \&doVariablesizeOp);

DefMath('\oiiint', "\x{2230}",
  meaning   => 'triple-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\oiiintop', "\x{2230}",
  meaning   => 'triple-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                     mathstyle => \&doVariablesizeOp);
DefMath('\oiintclockwise', "\x{222C}\x{20D9}",
  meaning   => 'double-clockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\oiintclockwiseop', "\x{222C}\x{20D9}",
  meaning   => 'double-clockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                               mathstyle => \&doVariablesizeOp);
DefMath('\varoiintclockwise', "\x{222C}\x{20D9}",
  meaning   => 'double-clockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\varoiintclockwiseop', "\x{222C}\x{20D9}",
  meaning   => 'double-clockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                               mathstyle => \&doVariablesizeOp);
DefMath('\oiintctrclockwise', "\x{222C}\x{20DA}",
  meaning   => 'double-counterclockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\oiintctrclockwiseop', "\x{222C}\x{20DA}",
  meaning   => 'double-counterclockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                                      mathstyle => \&doVariablesizeOp);
DefMath('\varoiintctrclockwise', "\x{222C}\x{20DA}",
  meaning   => 'double-counterclockwise-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\varoiintctrclockwiseop', "\x{222C}\x{20DA}",
  meaning   => 'double-counterclockwise-contour-integral', role      => 'INTOP',
  scriptpos => 'mid',                                      mathstyle => \&doVariablesizeOp);

DefMath('\oiint', "\x{222F}", meaning => 'double-contour-integral', role => 'INTOP',
  mathstyle => \&doVariablesizeOp);
DefMath('\oiintop', "\x{222F}", meaning => 'double-contour-integral', role => 'INTOP',
  scriptpos => 'mid', mathstyle => \&doVariablesizeOp);



( run in 0.672 second using v1.01-cache-2.11-cpan-f56aa216473 )