1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This DocBook file was created by LyX 2.4.0-beta2
3 See https://www.lyx.org/ for more information -->
4 <article xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
5 <title>Ensure that maths are properly converted in theorems</title>
6 <para>Equation outside environments: <inlineequation>
7 <alt role='tex'>\pi\,r^{2}</alt>
8 <m:math display="inline">
11 <m:mrow><m:mi>π</m:mi>
12 <m:mspace width="6px"/>
22 <alt role='tex'>\pi\,\rho^{3}</alt>
23 <m:math display="block">
26 <m:mrow><m:mi>π</m:mi>
27 <m:mspace width="6px"/>
28 <m:msup><m:mi>ρ</m:mi>
36 <figure role='theorem'>
37 <title>Theorem 1.</title>
38 <para>This is a theorem: hypothesis <inlineequation>
39 <alt role='tex'>a=b</alt>
40 <m:math display="inline">
50 </inlineequation>, thesis
52 <alt role='tex'>a\neq b.</alt>
53 <m:math display="block">
57 <m:mi>a</m:mi><m:mo>≠</m:mo>
64 Clear, don’t you think?</para>
66 <para role='proof'>Left as exercise for the reader.</para>
67 <figure role='remark'>
68 <title>Remark 2.</title>
69 <para>This is real math, you know. <inlineequation>
70 <alt role='tex'>a=b=a</alt>
71 <m:math display="inline">
83 </inlineequation>.</para>