mirror of https://github.com/CGAL/cgal
Replace non-standard compliant <MATH> by <span class="math">.
This commit is contained in:
parent
a582086299
commit
1d5010386d
|
|
@ -92,10 +92,10 @@ therefore do not appear in the constructors.
|
|||
\ccTexHtml{$3 \times 3$ matrix form \usebox{\arrtwo}.}%
|
||||
{3x3 matrix <IMG ALIGN=CENTER SRC="fig/arrtwo.gif"> .}
|
||||
The sub-matrix \ccTexHtml{$1\over hw$\usebox{\arrlintwo}}%
|
||||
{<MATH><i>hw</i><SUP>-1</SUP></MATH> <IMG ALIGN=CENTER
|
||||
{<span class="math">hw<SUP>-1</SUP></span> <IMG ALIGN=CENTER
|
||||
SRC="fig/arrlintwo.gif">} contains the scaling and rotation
|
||||
information, the vector \ccTexHtml{$1\over hw$
|
||||
\usebox{\transvectwo}}{<MATH><i>hw</i><SUP>-1</SUP></MATH>
|
||||
\usebox{\transvectwo}}{<span class="math">hw<SUP>-1</SUP></span>
|
||||
<IMG ALIGN=CENTER SRC="fig/transvectwo.gif">}
|
||||
contains the translational part of the transformation.}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,11 +73,11 @@ constructors.
|
|||
{introduces a general affine transformation of the matrix
|
||||
form \ccTexHtml{\usebox{\arrthree}.}{<IMG ALIGN=CENTER
|
||||
SRC="fig/arrthree.gif"> .} The part \ccTexHtml{$1\over hw$
|
||||
\usebox{\arrlinthree}}{<MATH><i>hw</i><SUP>-1</SUP></MATH>
|
||||
\usebox{\arrlinthree}}{<span class="math">hw<SUP>-1</SUP></span>
|
||||
<IMG ALIGN=CENTER SRC="fig/arrlinthree.gif">}
|
||||
defines the scaling and rotational part of the transformation,
|
||||
while the vector \ccTexHtml{$1\over hw$\usebox{\transvecthree}}%
|
||||
{<MATH><i>hw</i><SUP>-1</SUP></MATH> <IMG ALIGN=CENTER
|
||||
{<span class="math">hw<SUP>-1</SUP></span> <IMG ALIGN=CENTER
|
||||
SRC="fig/transvecthree.gif">} contains the translational part.}
|
||||
|
||||
\savebox{\arrthree}{\small $\left(\begin{array}{cccc}
|
||||
|
|
|
|||
|
|
@ -1444,8 +1444,8 @@
|
|||
% declare TeX compatible \ifmmode (can be used in the ifthen.sty)
|
||||
\newcommand{\ifmmode}{\lciMathMode}
|
||||
|
||||
\newcommand{\(}{\newcommand{\lciMathMode}{\lcTrue}\lcRawHtml{<MATH>}}
|
||||
\newcommand{\)}{\newcommand{\lciMathMode}{\lcFalse}\lcRawHtml{</MATH>}}
|
||||
\newcommand{\(}{\newcommand{\lciMathMode}{\lcTrue}\lcRawHtml{<span class="math">}}
|
||||
\newcommand{\)}{\newcommand{\lciMathMode}{\lcFalse}\lcRawHtml{</span>}}
|
||||
\newenvironment{math}{\(}{\)}
|
||||
\newcommand{\lciToggleMathMode}{\lciIf{\lciMathMode}{\)}{\(}}
|
||||
|
||||
|
|
@ -1467,9 +1467,9 @@
|
|||
\newcommand{\sqrt@om}{\lcRawHtml{root<SUB>}#1\lcRawHtml{</SUB>}(#2)}
|
||||
|
||||
\newcommand{\frac}[2]{\lciIf{\lciMathModeDisplay}
|
||||
{\lcRawHtml{</MATH><TD NOWRAP><TABLE><TR><TD ALIGN=CENTER NOWRAP><TABLE><TR><TD NOWRAP><MATH>}#1%
|
||||
\lcRawHtml{</MATH></TABLE><TR class="frac"><TD ALIGN=CENTER><hr style="color:black" noshade><TR><TD ALIGN=CENTER NOWRAP><TABLE><TR><TD NOWRAP><MATH>}#2%
|
||||
\lcRawHtml{</MATH></TABLE></TABLE><TD NOWRAP><MATH>}}%
|
||||
{\lcRawHtml{</span><TD NOWRAP><TABLE><TR><TD ALIGN=CENTER NOWRAP><TABLE><TR><TD NOWRAP><span class="math">}#1%
|
||||
\lcRawHtml{</span></TABLE><TR class="frac"><TD ALIGN=CENTER><hr style="color:black" noshade><TR><TD ALIGN=CENTER NOWRAP><TABLE><TR><TD NOWRAP><span class="math">}#2%
|
||||
\lcRawHtml{</span></TABLE></TABLE><TD NOWRAP><span class="math">}}%
|
||||
{\lcRawHtml{<span class="sym">(</span>}#1\lcRawHtml{<span class="sym">)</span>/<span class="sym">(</span>}#2\lcRawHtml{<span class="sym">)</span>}}}
|
||||
|
||||
\newcommand{\over}{<span class="sym">/</span>} %% TeX style fraction
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ pre.ExampleCode { background-color: #e8e8e8; }
|
|||
/* ----------------------------------------------------------------------- */
|
||||
/* math environment */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
math {
|
||||
span.math {
|
||||
font-family: serif;
|
||||
font-style: italic;
|
||||
font-size: 120%;
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ const char* html_font_opening[ end_font_array] = {
|
|||
"<TT>",
|
||||
"<TT>",
|
||||
"<VAR>",
|
||||
"<MATH>"
|
||||
"<span class=\"math\">"
|
||||
};
|
||||
const char* html_font_closing[ end_font_array] = {
|
||||
"",
|
||||
|
|
@ -81,7 +81,7 @@ const char* html_font_closing[ end_font_array] = {
|
|||
"</TT>",
|
||||
"</TT>",
|
||||
"</VAR>",
|
||||
"</MATH>"
|
||||
"</span>"
|
||||
};
|
||||
|
||||
const int max_tag_size = 20;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Figure~\ref{User:fig:range.eps} shows a two-dimensional range tree,
|
|||
Figure~\ref{User:fig:d-range.eps} a $d$-dimensional one.
|
||||
\end{ccTexOnly}
|
||||
\begin{ccHtmlOnly}
|
||||
The pictures below show a two-dimensional and a <MATH>d</MATH>-dimensional
|
||||
The pictures below show a two-dimensional and a <span class="math">d</span>-dimensional
|
||||
range tree.
|
||||
\end{ccHtmlOnly}
|
||||
\begin{ccTexOnly}
|
||||
|
|
@ -58,10 +58,10 @@ range tree.
|
|||
<TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=45% COLSPAN=2>
|
||||
A two-dimensional range tree. The
|
||||
tree is a binary search tree on the first dimension. Each
|
||||
sublayer tree of a vertex <MATH>v</MATH> is a binary search tree on the
|
||||
sublayer tree of a vertex <span class="math">v</span> is a binary search tree on the
|
||||
second
|
||||
dimension. The data items in a sublayer tree of <MATH>v</MATH> are
|
||||
all data items of the subtree of <MATH>v</MATH>
|
||||
dimension. The data items in a sublayer tree of <span class="math">v</span> are
|
||||
all data items of the subtree of <span class="math">v</span>
|
||||
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=50%>
|
||||
A d-dimensional range tree. For
|
||||
each layer of the tree, one
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ Figure~\ref{User:fig:range.eps} shows a two-dimensional range tree,
|
|||
Figure~\ref{User:fig:d-range.eps} a $d$-dimensional one.
|
||||
\end{ccTexOnly}
|
||||
\begin{ccHtmlOnly}
|
||||
The pictures below show a two-dimensional and a <MATH>d</MATH>-dimensional
|
||||
The pictures below show a two-dimensional and a <span class="math">d</span>-dimensional
|
||||
range tree.
|
||||
\end{ccHtmlOnly}
|
||||
\begin{ccTexOnly}
|
||||
|
|
@ -176,10 +176,10 @@ alt="A
|
|||
<TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=45% COLSPAN=2>
|
||||
A two-dimensional range tree. The
|
||||
tree is a binary search tree on the first dimension. Each
|
||||
sublayer tree of a vertex <MATH>v</MATH> is a binary search tree on the
|
||||
sublayer tree of a vertex <span class="math">v</span> is a binary search tree on the
|
||||
second
|
||||
dimension. The data items in a sublayer tree of <MATH>v</MATH> are
|
||||
all data items of the subtree of <MATH>v</MATH>
|
||||
dimension. The data items in a sublayer tree of <span class="math">v</span> are
|
||||
all data items of the subtree of <span class="math">v</span>
|
||||
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=50%>
|
||||
A d-dimensional range tree. For
|
||||
each layer of the tree, one
|
||||
|
|
@ -289,8 +289,8 @@ A one-dimensional segment
|
|||
A two-dimensional segment
|
||||
tree. The first layer of the tree is built according to the
|
||||
elementary intervals of the first dimension. Each
|
||||
sublayer tree of a vertex <MATH>v</MATH> is a segment tree according to
|
||||
the second dimension of all data items of <MATH>v</MATH>.
|
||||
sublayer tree of a vertex <span class="math">v</span> is a segment tree according to
|
||||
the second dimension of all data items of <span class="math">v</span>.
|
||||
</TD></TR>
|
||||
</TABLE><!2>
|
||||
|
||||
|
|
|
|||
|
|
@ -85,8 +85,8 @@ A one-dimensional segment
|
|||
A two-dimensional segment
|
||||
tree. The first layer of the tree is built according to the
|
||||
elementary intervals of the first dimension. Each
|
||||
sublayer tree of a vertex <MATH>v</MATH> is a segment tree according to
|
||||
the second dimension of all data items of <MATH>v</MATH>.
|
||||
sublayer tree of a vertex <span class="math">v</span> is a segment tree according to
|
||||
the second dimension of all data items of <span class="math">v</span>.
|
||||
</TD></TR>
|
||||
</TABLE><!2>
|
||||
\end{ccHtmlOnly}
|
||||
|
|
|
|||
Loading…
Reference in New Issue