+
+
+# From the esint package:
+# We emulate some symbols if the esint10 font is not available.
+# It is important that they have the same requirements in both cases,
+# otherwise the LaTeX output would depend on the availability of the esint10
+# font in the GUI
+# Note that we do _not_ require the wasysym package for any integral besides
+# \varint and \varoint. The reason is that the integrals of the wasysym
+# package do not match the standard \int and \intop. See
+# http://bugzilla.lyx.org/show_bug.cgi?id=1942 for details.
+# If the wasysym integrals are really wanted then one has to load the package
+# manually and disable automatic loading of amsmath and esint.
+iffont esint
+int esint 001 0 mathop ∫ esint
+intop esint 001 0 mathop ∫ esint
+iint esint 003 0 mathop x esintoramsmath
+iintop esint 003 0 mathop x esint
+iiint esint 005 0 mathop x esintoramsmath
+iiintop esint 005 0 mathop x esint
+iiiint esint 007 0 mathop x esintoramsmath
+iiiintop esint 007 0 mathop x esint
+oint esint 011 0 mathop x esint
+ointop esint 011 0 mathop x esint
+oiint esint 013 0 mathop x esint
+oiintop esint 013 0 mathop x esint
+sqint esint 015 0 mathop x esint
+sqintop esint 015 0 mathop x esint
+sqiint esint 017 0 mathop x esint
+sqiintop esint 017 0 mathop x esint
+dotsint esint 019 0 mathop x esint
+dotsintop esint 019 0 mathop x esint
+ointctrclockwise esint 023 0 mathop x esint
+ointctrclockwiseop esint 023 0 mathop x esint
+ointclockwise esint 025 0 mathop x esint
+ointclockwiseop esint 025 0 mathop x esint
+else
+int cmex 82 242 mathop ∫ esint
+intop cmex 82 242 mathop ∫ esint
+iint wasy 115 0 mathop x esintoramsmath
+iintop wasy 115 0 mathop x esint
+iiint wasy 116 0 mathop x esintoramsmath
+iiintop wasy 116 0 mathop x esint
+\def\iiiint{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} esintoramsmath
+\def\iiiintop{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} esint
+\def\dotsint{\int\kern-3mu\cdots\kern-3mu\int} esint
+\def\dotsintop{\int\kern-3mu\cdots\kern-3mu\int} esint
+oint cmex 72 0 mathop x esint
+ointop cmex 72 0 mathop x esint
+oiint wasy 118 0 mathop x esint
+oiintop wasy 118 0 mathop x esint
+\def\sqint{\square\kern-17mu\int\kern6mu} esint
+\def\sqintop{\square\kern-17mu\int\kern6mu} esint
+\def\sqiint{\square\kern-20mu\iint\kern3mu} esint
+\def\sqiintop{\square\kern-20mu\iint\kern3mu} esint
+\def\ointctrclockwise{\circlearrowleft\kern-21mu\int\kern6mu} esint
+\def\ointctrclockwiseop{\circlearrowleft\kern-21mu\int\kern6mu} esint
+\def\ointclockwise{\circlearrowright\kern-21mu\int\kern6mu} esint
+\def\ointclockwiseop{\circlearrowright\kern-21mu\int\kern6mu} esint
+endif
+
+varointclockwise esint 027 0 mathop x esint
+varointclockwiseop esint 027 0 mathop x esint
+varointctrclockwise esint 029 0 mathop x esint
+varointctrclockwiseop esint 029 0 mathop x esint
+varoiint esint 033 0 mathop x esint
+varoiintop esint 033 0 mathop x esint
+landupint esint 035 0 mathop x esint
+landupintop esint 035 0 mathop x esint
+landdownint esint 037 0 mathop x esint
+landdownintop esint 037 0 mathop x esint
+
+
+# From the amsmath package:
+\def\idotsint{\int\kern-3mu\cdots\kern-3mu\int} amsmath