summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex/tex.html
blob: 46e34c03900c2a88ee04bcfc125a30c9d0564418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tests</title>

<meta name="description" content="Tests">
<meta name="keywords" content="Tests">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2any">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>

<p>Now tex on the same line 
<P>
<BR><P></P>
<DIV CLASS="mathdisplay">
<!-- MATH
 \begin{displaymath}
\chi^2 = \sum_{i=1}^N
          \left(y_i - (a + b x_i)
	  \over \sigma_i\right)^2
\end{displaymath}
 -->

<IMG STYLE=""
 SRC="tex_1.svg"
 ALT="\begin{displaymath}\chi^2 = \sum_{i=1}^N
\left(y_i - (a + b x_i)
\over \sigma_i\right)^2 \end{displaymath}">
</DIV>
<BR CLEAR="ALL">
<P></P>
Some text one the line following @end tex
</p>
<p>Now tex on the following line, valid fot tex (with @end tex on a line).

<P>
tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
</p>
<p>Same that @html (but empty following line not ignored).
</p>
<p>Test of @math
Here some <!-- MATH
 ${x^i}\over{\tan y}$
 -->
<SPAN CLASS="MATH"><IMG STYLE="height: 3.73ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
 ALT="${x^i}\over{\tan y}$"></SPAN>.
</p>
<p>Maths with protected \:
<SPAN CLASS="MATH"><IMG STYLE="height: 1.84ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
 ALT="$a @\ b$"></SPAN>.
</p>
<p>Maths with code @-command:
</p>
<p><!-- MATH
 $@code{math code} a < b$
 -->
<SPAN CLASS="MATH"><IMG STYLE="height: 1.93ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
 ALT="$@code{math code} a &lt; b$"></SPAN>
</p>
<p>Maths with code @-command and braces:
</p>
<p><!-- MATH
 $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$
 -->
<SPAN CLASS="MATH"><IMG STYLE="height: 2.88ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
 ALT="$\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$"></SPAN>
</p>
<p>@\ outside of math
</p>
<p>\
</p>
<hr>
<p><font size="-1">
  This document was generated on <em>a sunny day</em> using <a href="http://www.gnu.org/software/texinfo/"><em>texi2any</em></a>.
</font></p>


</body>
</html>