summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex/tex.html
blob: 8dcf329f0f9014904b02c26c4445de586aa80b32 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!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">
<meta name="viewport" content="width=device-width,initial-scale=1">

<style type="text/css">
<!--
a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {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}
span:hover a.copiable-anchor {visibility: visible}
ul.no-bullet {list-style: none}
-->
</style>


</head>

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

<p>Now tex on the same line 
<P>
<DIV CLASS="displaymath">
<!-- 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="height: 7.42ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
 ALT="$\displaystyle \chi^2 = \sum_{i=1}^N
\left(y_i - (a + b x_i)
\over \sigma_i\right)^2 $">
</DIV>

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>Maths with @-sup
</p>
<p><!-- MATH
 $\sum_{i} f(x)@sup{2}$
 -->
<SPAN CLASS="MATH"><IMG
 STYLE="height: 2.66ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
 ALT="$\sum_{i} f(x)@sup{2}$"></SPAN>
</p>
<p>@\ outside of math
</p>
<p>\
</p>
<p>Displaymath
</p><DIV CLASS="displaymath">
<!-- MATH
 \begin{displaymath}
- - f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over \sigma}\right)^2}
\end{displaymath}
 -->

<IMG
 STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
 ALT="$\displaystyle -- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over \sigma}\right)^2}
$">
</DIV>

<hr></div>
<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>