removed `\mathrm{\LaTeX}` code snippets which Sphinx does not
translate correctly, replaced them with LaTeX. Closes debian bug #940843
Index: sympy/doc/src/modules/parsing.rst
===================================================================
--- sympy.orig/doc/src/modules/parsing.rst
+++ sympy/doc/src/modules/parsing.rst
@@ -57,15 +57,15 @@ don't need to be manually added by the u
 
 .. autofunction:: sympy.parsing.sympy_parser.factorial_notation
 
-Experimental `\mathrm{\LaTeX}` Parsing
+Experimental LaTeX Parsing
 --------------------------------------
 
 The current implementations are experimental. The behavior, parser backend(s) and
-API might change in the future. Unlike some of the other parsers, `\mathrm{\LaTeX}` is
+API might change in the future. Unlike some of the other parsers, LaTeX is
 designed as a *type-setting* language, not a *computer algebra system* and so
 can contain typographical conventions that might be interpreted multiple ways.
 
-`\mathrm{\LaTeX}` Parsing Functions Reference
+LaTeX Parsing Functions Reference
 ---------------------------------------------
 
 .. autofunction:: sympy.parsing.latex.parse_latex
@@ -73,14 +73,14 @@ can contain typographical conventions th
 ANTLR Backend
 ^^^^^^^^^^^^^
 
-The ANTLR-based `\mathrm{\LaTeX}` parser was ported from
+The ANTLR-based LaTeX parser was ported from
 `latex2sympy <https://github.com/augustt198/latex2sympy>`_. While functional
 and its API should remain stable, the parsing behavior or backend may change in
 future releases.
 
 .. _ANTLR parser caveats:
 
-ANTLR `\mathrm{\LaTeX}` Parser Caveats
+ANTLR LaTeX Parser Caveats
 """"""""""""""""""""""""""""""""""""""
 
 In its current definition, the parser may fail to fully parse
@@ -98,7 +98,7 @@ The Lark-based LaTeX parser is newer, an
 replace the ANTLR-based parser. It has most of the features that the ANTLR-based
 parser provides, with some extras.
 
-Lark `\mathrm{\LaTeX}` Parser Features
+Lark LaTeX Parser Features
 """"""""""""""""""""""""""""""""""""""
 
 One thing to note is that the Lark backend does not support ill-formed expressions,
@@ -118,15 +118,15 @@ Apart from that, there are a couple of e
 supports that the ANTLR-based parser does not. They are:
 
 1. Detecting ambiguous expressions, and
-2. Allowing user-customization of the `\mathrm{\LaTeX}` grammar at runtime.
+2. Allowing user-customization of the LaTeX grammar at runtime.
 
-Expressions like `f(x)` are technically ambiguous `\mathrm{\LaTeX}` expressions
+Expressions like `f(x)` are technically ambiguous LaTeX expressions
 because the `f` might be a function or a variable name. Lark has the capability to
 point out these ambiguities and notify the user, or even return all possible
 interpretations.
 
 The Lark-based parser exposes a number of internals which allow the user to customize
-the parser's behavior. For example, the user can specify their own `\mathrm{\LaTeX}`
+the parser's behavior. For example, the user can specify their own LaTeX
 grammar by passing the path to the grammar file to the ``LarkLaTeXParser`` while
 instantiating the parser.
 
@@ -137,7 +137,7 @@ The two examples mentioned above can be
 `test_custom_latex.py <https://github.com/sympy/sympy/blob/395e820b114d2b169483354f1f4ee2f439faa292/sympy/parsing/tests/test_custom_latex.py>`_
 file.
 
-Lark `\mathrm{\LaTeX}` Parser Capabilities
+Lark LaTeX Parser Capabilities
 """"""""""""""""""""""""""""""""""""""""""
 
 In order to use the Lark-based LaTeX parser, it is important to know what it can
@@ -207,19 +207,19 @@ may be added in the future:
 * Double and triple integrals.
 
 
-Lark `\mathrm{\LaTeX}` Parser Functions
+Lark LaTeX Parser Functions
 """""""""""""""""""""""""""""""""""""""
 
 .. autofunction:: sympy.parsing.latex.parse_latex_lark
 
-Lark `\mathrm{\LaTeX}` Parser Classes
+Lark LaTeX Parser Classes
 """""""""""""""""""""""""""""""""""""
 
 .. autoclass:: sympy.parsing.latex.lark.LarkLaTeXParser
 
 .. autoclass:: sympy.parsing.latex.lark.TransformToSymPyExpr
 
-`\mathrm{\LaTeX}` Parsing Exceptions Reference
+LaTeX Parsing Exceptions Reference
 ----------------------------------------------
 
 .. autoclass:: sympy.parsing.latex.LaTeXParsingError
Index: sympy/doc/src/modules/solvers/solveset.rst
===================================================================
--- sympy.orig/doc/src/modules/solvers/solveset.rst
+++ sympy/doc/src/modules/solvers/solveset.rst
@@ -241,7 +241,7 @@ Why not use dicts as output?
     represent partial solution of the given equation `fg = 0` using dicts.
     This problem is solved with sets using a ``ConditionSet`` object:
 
-    `sol_f \cup \{x | x ∊ \mathbb{R} ∧ g = 0\}`, where `sol_f` is the solution
+    `sol_f \cup \{x | x \in \mathbb{R} \land g = 0\}`, where `sol_f` is the solution
     of the equation `f = 0`.
 
   * Using a dict may lead to surprising results like:
@@ -507,7 +507,7 @@ How do we deal with cases where only som
 
  We can represent it as:
 
- `\{-2, 2\} ∪ \{x | x \in \mathbb{R} ∧ x + \sin(x) = 0\}`
+ `\{-2, 2\} \cup \{x | x \in \mathbb{R} \land x + \sin(x) = 0\}`
 
 
 How are symbolic parameters handled in solveset?
Index: sympy/doc/src/tutorials/intro-tutorial/intro.rst
===================================================================
--- sympy.orig/doc/src/tutorials/intro-tutorial/intro.rst
+++ sympy/doc/src/tutorials/intro-tutorial/intro.rst
@@ -111,7 +111,7 @@ to do all sorts of computations symbolic
 compute derivatives, integrals, and limits, solve equations, work with
 matrices, and much, much more, and do it all symbolically.  It includes
 modules for plotting, printing (like 2D pretty printed output of math
-formulas, or `\mathrm{\LaTeX}`), code generation, physics, statistics, combinatorics,
+formulas, or LaTeX), code generation, physics, statistics, combinatorics,
 number theory, geometry, logic, and more. Here is a small sampling of the sort
 of symbolic power SymPy is capable of, to whet your appetite.
 
@@ -175,7 +175,7 @@ spherical Bessel function `j_\nu(z)`.
   ────────────────────
            √π
 
-Print `\int_{0}^{\pi} \cos^{2}{\left (x \right )}\, dx` using `\mathrm{\LaTeX}`.
+Print `\int_{0}^{\pi} \cos^{2}{\left (x \right )}\, dx` using LaTeX.
 
   >>> latex(Integral(cos(x)**2, (x, 0, pi)))
   \int\limits_{0}^{\pi} \cos^{2}{\left(x \right)}\, dx
Index: sympy/doc/src/tutorials/intro-tutorial/printing.rst
===================================================================
--- sympy.orig/doc/src/tutorials/intro-tutorial/printing.rst
+++ sympy/doc/src/tutorials/intro-tutorial/printing.rst
@@ -59,17 +59,17 @@ create some common Symbols, setup plotti
 
 In any case, this is what will happen:
 
-- In the IPython QTConsole, if `\mathrm{\LaTeX}` is installed, it will enable a printer
-  that uses `\mathrm{\LaTeX}`.
+- In the IPython QTConsole, if LaTeX is installed, it will enable a printer
+  that uses LaTeX.
 
   .. image:: ../../pics/ipythonqtconsole.png
      :height: 500
 
-  If `\mathrm{\LaTeX}` is not installed, but Matplotlib is installed, it will use the
+  If LaTeX is not installed, but Matplotlib is installed, it will use the
   Matplotlib rendering engine. If Matplotlib is not installed, it uses the
   Unicode pretty printer.
 
-- In the IPython notebook, it will use MathJax to render `\mathrm{\LaTeX}`.
+- In the IPython notebook, it will use MathJax to render LaTeX.
 
   .. image:: ../../pics/ipythonnotebook.png
      :height: 250
@@ -86,7 +86,7 @@ In any case, this is what will happen:
   .. image:: ../../pics/consoleascii.png
      :width: 700
 
-To explicitly not use `\mathrm{\LaTeX}`, pass ``use_latex=False`` to ``init_printing()``
+To explicitly not use LaTeX, pass ``use_latex=False`` to ``init_printing()``
 or ``init_session()``.  To explicitly not use Unicode, pass
 ``use_unicode=False``.
 
@@ -177,10 +177,10 @@ pass ``use_unicode=True`` to force it to
 
 .. _LaTeX:
 
-`\mathrm{\LaTeX}`
+LaTeX
 -----------------
 
-To get the `\mathrm{\LaTeX}` form of an expression, use ``latex()``.
+To get the LaTeX form of an expression, use ``latex()``.
 
     >>> print(latex(Integral(sqrt(1/x), x)))
     \int \sqrt{\frac{1}{x}}\, dx
Index: sympy/doc/src/contributing/dependencies.md
===================================================================
--- sympy.orig/doc/src/contributing/dependencies.md
+++ sympy/doc/src/contributing/dependencies.md
@@ -111,7 +111,7 @@ images rendered with LaTeX. `preview()`
 show it with a viewer.
 
 (dependencies-latex)=
-- **LaTeX**: A $\mathrm{\LaTeX}$ distributions such as [TeXLive](https://tug.org/texlive/) or
+- **LaTeX**: A LaTeX distributions such as [TeXLive](https://tug.org/texlive/) or
 [MiKTeX](https://miktex.org/) is required for {func}`~.preview` to function.
 
 ### Parsing
