######################  TABULAR SYMBOLS ##############################################
\settexsymbol \btable1 {\begin{tabular}{|l|}$envtabular={true}}
\sethtmlsymbol \btable1 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable1 {<table1>}
\settexsymbol \btable2 {\begin{tabular}{|l|l|}$envtabular={true}}
\sethtmlsymbol \btable2 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable2 {<table2>}
\settexsymbol \btable3 {\begin{tabular}{|l|l|l|}$envtabular={true}}
\sethtmlsymbol \btable3 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable3 {<table3>}
\settexsymbol \btable4 {\begin{tabular}{|l|l|l|l|}$envtabular={true}}
\sethtmlsymbol \btable4 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable4 {<table4>}
\settexsymbol \btable5 {\begin{tabular}{|l|l|l|l|l|}$envtabular={true}}
\sethtmlsymbol \btable5 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable5 {<table5>}
\settexsymbol \btable6 {\begin{tabular}{|l|l|l|l|l|l|}$envtabular={true}}
\sethtmlsymbol \btable6 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable6 {<table6>}
\settexsymbol \btable7 {\begin{tabular}{|l|l|l|l|l|l|l|}$envtabular={true}}
\sethtmlsymbol \btable7 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable7 {<table7>}
\settexsymbol \btable8 {\begin{tabular}{|l|l|l|l|l|l|l|l|}$envtabular={true}}
\sethtmlsymbol \btable8 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable8 {<table8>}
\settexsymbol \btable9 {\begin{tabular}{|l|l|l|l|l|l|l|l|l|}$envtabular={true}}
\sethtmlsymbol \btable9 {<TABLE BORDER=1>$envtabular={true}}
\symbolalias \btable9 {<table9>}
\settexsymbol \btab1 {\begin{tabular}{l}$envtabular={true}}
\sethtmlsymbol \btab1 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab1 {<tab1>}
\settexsymbol \btab2 {\begin{tabular}{ll}$envtabular={true}}
\sethtmlsymbol \btab2 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab2 {<tab2>}
\settexsymbol \btab3 {\begin{tabular}{lll}$envtabular={true}}
\sethtmlsymbol \btab3 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab3 {<tab3>}
\settexsymbol \btab4 {\begin{tabular}{llll}$envtabular={true}}
\sethtmlsymbol \btab4 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab4 {<tab4>}
\settexsymbol \btab5 {\begin{tabular}{lllll}$envtabular={true}}
\sethtmlsymbol \btab5 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab5 {<tab5>}
\settexsymbol \btab6 {\begin{tabular}{llllll}$envtabular={true}}
\sethtmlsymbol \btab6 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab6 {<tab6>}
\settexsymbol \btab7 {\begin{tabular}{lllllll}$envtabular={true}}
\sethtmlsymbol \btab7 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab7 {<tab7>}
\settexsymbol \btab8 {\begin{tabular}{llllllll}$envtabular={true}}
\sethtmlsymbol \btab8 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab8 {<tab8>}
\settexsymbol \btab9 {\begin{tabular}{lllllllll}$envtabular={true}}
\sethtmlsymbol \btab9 {<TABLE BORDER=0>$envtabular={true}}
\symbolalias \btab9 {<tab9>}
\symbolalias \btable1 \bt1
\symbolalias \btable2 \bt2
\symbolalias \btable3 \bt3
\symbolalias \btable4 \bt4
\symbolalias \btable5 \bt5
\symbolalias \btable6 \bt6
\symbolalias \btable7 \bt7
\symbolalias \btable8 \bt8
\symbolalias \btable9 \bt9
\settexsymbol \etable {\end{tabular}$envtabular={false}}
\sethtmlsymbol \etable {</TABLE>$envtabular={false}}
\settexsymbol </table> {\end{tabular}}
\symbolalias \etable \et
\symbolalias \etable \etab
\settexsymbol --- \hline
\sethtmlsymbol --- {[NONE]}
\setsymbolenv --- tabularline
\settexsymbol === \hline\hline
\sethtmlsymbol === {[NONE]}
\setsymbolenv === tabularline
\settexsymbol { | } { & }
\sethtmlsymbol { | } {</font></TD><TD VALIGN=top $htmlcelloptions><font face=$htmlfontface size=$htmlfontsize color=$htmlfontcolor>}
\setsymbolenv { | } tabularcolumn
#####################  SECTIONING SYMBOLS  ###############################################
\settexsymbol \bdocument {\begin{document}}
\sethtmlsymbol \bdocument {<BODY><FONT FACE=$htmlfontface SIZE=$htmlfontsize COLOR=$htmlfontcolor>}
\symbolalias \bdocument {<document>}
\symbolalias \bdocument \bd
\symbolalias \bdocument \bdoc
\settexsymbol \edocument {\end{document}}
\sethtmlsymbol \edocument {</FONT></BODY>}
\symbolalias \edocument {</document>}
\symbolalias \edocument \ed
\symbolalias \edocument \edoc
\settexsymbol \:: \par\noindent
\sethtmlsymbol \:: {<P>}
\settexsymbol \: \noindent
\sethtmlsymbol \: {[NONE]}
\settexsymbol \p \par
\settexsymbol <p> \medskip\par\noindent
\sethtmlsymbol \p {<P>}
\settexsymbol \+ \smallskip
\sethtmlsymbol \+ {<BR>}
\settexsymbol \++ \medskip
\sethtmlsymbol \++ {<BR><BR>}
\settexsymbol \+++ \bigskip
\sethtmlsymbol \+++ {<BR><BR><BR>}
#####################  SECTIONING CONFIGURATION SYMBOLS #############################333
\settexsymbol \noparspacing {\setlength{\parskip}{0pt}}
\settexsymbol \parspacing+ {\setlength{\parskip}{5pt}}
\settexsymbol \parspacing++ {\setlength{\parskip}{10pt}}
\settexsymbol \parspacing+++ {\setlength{\parskip}{15pt}}
\settexsymbol \noindentpar {\setlength{\parindent}{0pt}}
\settexsymbol \indentpar+ {\setlength{\parindent}{5pt}}
\settexsymbol \indentpar++ {\setlength{\parindent}{10pt}}
\settexsymbol \indentpar+++ {\setlength{\parindent}{15pt}}
#####################  LIST SYMBOLS  ###############################################
\settexsymbol \bitemize {\begin{itemize}$envitemize={true}}
\sethtmlsymbol \bitemize {<ul>}
\symbolalias \bitemize \bitems
\symbolalias \bitemize \blist
\symbolalias \bitemize \bl
\symbolalias \bitemize \bi
\settexsymbol \eitemize {\end{itemize}$envitemize={false}}
\sethtmlsymbol \eitemize {</ul>}
\symbolalias \eitemize \eitems
\symbolalias \eitemize \elist
\symbolalias \eitemize \el
\symbolalias \eitemize \ei
\settexsymbol {-- } {\item }
\sethtmlsymbol {-- } {<li>}
\setsymbolenv {-- } itemize
\settexsymbol {+- } {\item }
\sethtmlsymbol {+- } {<li>}
\setsymbolenv {+- } enumerate
#####################  FONT SYMBOLS  ###############################################
\settexsymbol \< \small
\sethtmlsymbol \< {</font><font face=$htmlfontface color=$htmlfontcolor size=2>$htmlfontsize={2}}
\settexsymbol \<< \footnotesize
\sethtmlsymbol \<< {</font><font face=$htmlfontface color=$htmlfontcolor size=1>$htmlfontsize={1}}
\settexsymbol \<<< \scriptsize
\sethtmlsymbol \<<< {</font><font face=$htmlfontface color=$htmlfontcolor size=1>$htmlfontsize={1}}
\settexsymbol \<<<< \tiny
\sethtmlsymbol \<<<< {</font><font face=$htmlfontface color=$htmlfontcolor size=1>$htmlfontsize={1}}
\settexsymbol \<<<<< \tiny
\sethtmlsymbol \<<<<< {</font><font face=$htmlfontface  color=$htmlfontcolor size=1>$htmlfontsize={1}}
\settexsymbol \= \normalsize
\sethtmlsymbol \= {</font><font face=$htmlfontface color=$htmlfontcolor size=3>$htmlfontsize={3}}
\settexsymbol \> \large
\sethtmlsymbol \> {</font><font face=$htmlfontface color=$htmlfontcolor size=4>$htmlfontsize={4}}
\settexsymbol \>> \Large
\sethtmlsymbol \>> {</font><font face=$htmlfontface color=$htmlfontcolor size=5>$htmlfontsize={5}}
\settexsymbol \>>> \LARGE
\sethtmlsymbol \>>> {</font><font face=$htmlfontface color=$htmlfontcolor size=5>$htmlfontsize={5}}
\settexsymbol \>>>> \huge
\sethtmlsymbol \>>>> {</font><font face=$htmlfontface color=$htmlfontcolor size=7>$htmlfontsize={7}}
\settexsymbol \>>>>> \Huge
\sethtmlsymbol \>>>>> {</font><font face=$htmlfontface color=$htmlfontcolor size=8>$htmlfontsize={8}}
#######################  ALIGNMENT SYMBOLS  #############################################
\settexsymbol \b= {\begin{center}}
\sethtmlsymbol \b= {<p align=center><center>}
\settexsymbol <center> {\begin{center}}
\settexsymbol \e= {\end{center}}
\sethtmlsymbol \e= {</center></p>}
\settexsymbol </center> {\end{center}}
\settexsymbol \b< {\begin{flushleft}}
\sethtmlsymbol \b< {<p align=left><div align=left>}
\symbolalias \b< {<left>}
\settexsymbol \e< \end{flushleft}
\sethtmlsymbol \e< {</div></p>}
\symbolalias \e< {</left>}
\settexsymbol \b> {\begin{flushright}}
\sethtmlsymbol \b> {<p align=right><div align=right>}
\symbolalias \b> {<right>}
\settexsymbol \e> {\end{flushright}}
\sethtmlsymbol \e> {</div></p>}
\symbolalias \e> {</right>}
#######################  MATH SYMBOLS  #############################################
\settexsymbol -> \rightarrow
\sethtmlsymbol -> &rarr;
\setsymbolenv -> math
\settexsymbol <- \leftarrow
\sethtmlsymbol <- &larr;
\setsymbolenv <- math
\settexsymbol >= \geq
\sethtmlsymbol >= &ge;
\setsymbolenv >= math
\settexsymbol <= \leq
\sethtmlsymbol <= &le;
\setsymbolenv <= math
\settexsymbol << \ll
\sethtmlsymbol << <
\setsymbolenv << math
\symbolalias << { < }
\settexsymbol >> \gg
\sethtmlsymbol >> >
\setsymbolenv >> math
\symbolalias >> { > }
\settexsymbol == \equiv
\sethtmlsymbol == =
\symbolalias == { = } 
\setsymbolenv == math
\settexsymbol != \neq
\sethtmlsymbol != &ne;
\setsymbolenv != math
\symbolalias != <>
\symbolalias != /=
\settexsymbol --> \Rightarrow
\sethtmlsymbol --> &rArr;
\setsymbolenv --> math
\settexsymbol <-- \Leftarrow
\sethtmlsymbol <-- &lArr;
\setsymbolenv <-- math
\settexsymbol ==> \Rightarrow
\sethtmlsymbol ==> &rArr;
\setsymbolenv ==> math
\settexsymbol <== \Leftarrow
\sethtmlsymbol <== &lArr;
\setsymbolenv <== math
\settexsymbol |-> \mapsto
\sethtmlsymbol |-> &rArrl
\setsymbolenv |-> math
\settexsymbol {  .  } \cdot
\sethtmlsymbol {  .  } &times;
\setsymbolenv {  .  } math
\settexsymbol /\ \land
\sethtmlsymbol /\ &and;
\setsymbolenv /\ math
\settexsymbol \/ \lor
\sethtmlsymbol \/ &lor;
\setsymbolenv \/ math
\settexsymbol ... \dots
\sethtmlsymbol ... ...
#########################  HTML COMPLIANCE SYMBOLS   #####################################
\sethtmlsymbol \{ &123;
\sethtmlsymbol \} &125;
\sethtmlsymbol \[ &91;
\sethtmlsymbol \] &93;
\sethtmlsymbol \# &35;
\sethtmlsymbol \$ &36;
\sethtmlsymbol \% &37;
\sethtmlsymbol \& &38;
\sethtmlsymbol \TeX\ TeX
\sethtmlsymbol \TeX TeX
\sethtmlsymbol \LaTeX\ LaTeX
\sethtmlsymbol \LaTeX LaTeX
\sethtmlsymbol \backslash &92;
#########################  HEADER SYMBOLS  ###########################################
\sethtmlsymbol \beginhead <HEAD>
\settexsymbol \beginhead [NONE]
\symbolalias \beginhead \beginheader
\symbolalias \beginhead \bhead
\symbolalias \beginhead \bh
\sethtmlsymbol \endhead </HEAD>
\settexsymbol \endhead [NONE]
\symbolalias \endhead \endheader
\symbolalias \endhead \ehead
\symbolalias \endhead \eh
#########################  HTML->LATEX ###########################################
\settexsymbol <b> \textbf{
\settexsymbol </b> }
\settexsymbol <i> \emph{
\settexsymbol </i> }
#########################  COLOUR ###########################################
\settexsymbol \beginred \{\color{red}
\sethtmlsymbol \beginred {<font face="$htmlfontface" size=$htmlfontsize color=red>$htmlfontcolor={red}}
\symbolalias \beginred {<red>}
\settexsymbol \beginblue \{\color{blue}
\sethtmlsymbol \beginblue {<font face="$htmlfontface" size=$htmlfontsize color=blue>$htmlfontcolor={blue}}
\symbolalias \beginblue  {<blue>} 
\settexsymbol \begingreen \{\color{green}
\sethtmlsymbol \begingreen {<font face="$htmlfontface" size=$htmlfontsize color=green>$htmlfontcolor={green}}
\symbolalias \begingreen {<green>}
\settexsymbol \beginyellow \{\color{yellow}
\sethtmlsymbol \beginyellow {<font face="$htmlfontface" size=$htmlfontsize color=yellow>$htmlfontcolor={yellow}}
\symbolalias \beginyellow {<yellow>} 
\sethtmlsymbol \endcolor {</font><font face="$htmlfontface" size=$htmlfontsize style="$colorcss">$htmlfontcolor={black}}
\settexsymbol \endcolor \}
\symbolalias \endcolor \endcolour
\symbolalias \endcolor {</color>}
\symbolalias \endcolor {</colour>}
\symbolalias \endcolor {</red>}
\symbolalias \endcolor {</green>}
\symbolalias \endcolor {</blue>}
\symbolalias \endcolor {</yellow>}
\sethtmlsymbol \endrgb {</font><font face="$htmlfontface" size=$htmlfontsize style="$colorcss">$htmlfontcolor={black}}
\settexsymbol \endrgb \}
\symbolalias \endrgb {</rgb>}
\sethtmlsymbol \endhighlight {</font></span>}
\settexsymbol \endhighlight \}
\symbolalias \endhighlight {</highlight>}
##########################  DOCUMENT TYPES  #####################################
\settexsymbol \article {\documentclass[12pt]{article}}
\sethtmlsymbol \article {$htmlcolumns={1}}
\settexsymbol \twocolumnarticle {\documentclass[12pt,twocolumn]{article}}
\sethtmlsymbol \twocolumnarticle {$htmlcolumns={2}}
\settexsymbol \report {\documentclass[12pt]{report}}
\sethtmlsymbol \report {$htmlcolumns={1}}
\settexsymbol \twocolumnreport {\documentclass[12pt,twocolumn]{report}}
\sethtmlsymbol \twocolumnreport {$htmlcolumns={2}}
\settexsymbol \book {\documentclass[12pt]{book}}
\sethtmlsymbol \book {$htmlcolumns={1}}
\settexsymbol \twocolumnbook {\documentclass[12pt,twocolumn]{book}}
\sethtmlsymbol \twocolumnbook {$htmlcolumns={2}}
\settexsymbol \letter {\documentclass[12pt]{book}}
\sethtmlsymbol \letter {$htmlcolumns={1}}
########################## FONT SELECTION ####################################
\settexsymbol \sansserif {\sffamily}
\sethtmlsymbol \sansserif {$htmlfontface={helvetica}</font><font face="$htmlfontface" size=$htmlfontsize color=$htmlfontcolor style="$sansserifcss">}
\settexsymbol \serif {\rmfamily}
\sethtmlsymbol \serif {$htmlfontface={times}</font><font face="$htmlfontface" size=$htmlfontsize color=$htmlfontcolor style="$serifcss">}
\settexsymbol \fixed {\ttfamily}
\sethtmlsymbol \fixed {$htmlfontface={courier}</font><font face="$htmlfontface" size=$htmlfontsize color=$htmlfontcolor style="$fixedcss">}
\symbolalias \sansserif \arial
\symbolalias \sansserif \helvetica
\symbolalias \serif \roman
\symbolalias \serif \times
\symbolalias \fixed \courier
\symbolalias \fixed \monospace
\symbolalias \fixed \monospaced
########################## VERBATIM ####################################
\settexsymbol \beginverbatim {\begin{verbatim}}
\sethtmlsymbol \beginverbatim {<pre>}
\symbolalias \beginverbatim {<verbatim>}
\settexsymbol \endverbatim {\end{verbatim}}
\sethtmlsymbol \endverbatim {</pre>}
\symbolalias \endverbatim {</verbatim>}
########################## QUOTES ####################################
\settexsymbol \beginquote {\begin{quote}}
\sethtmlsymbol \beginquote {<CENTER><TABLE WIDTH="60%"><TR><TD style="$quotecss"><font face="$htmlfontface" size=$htmlfontsize color=$htmlfontcolor style="$quotecss">}
\symbolalias \beginquote {<quote>}
\settexsymbol \endquote {\end{quote}}
\sethtmlsymbol \endquote {</font></TD></TR></TABLE></CENTER>}
\symbolalias \endquote {</quote>}
\settexsymbol \beginquotation {\begin{quotation}}
\sethtmlsymbol \beginquotation {<CENTER><TABLE WIDTH="60%"><TR><TD style="$quotationcss"><font face="$htmlfontface" size=$htmlfontsize color=$htmlfontcolor style="$quotationcss">}
\symbolalias \beginquotation {<quotation>}
\settexsymbol \endquotation {\end{quotation}}
\sethtmlsymbol \endquotation {</font></TD></TR></TABLE></CENTER>}
\symbolalias \endquotation {</quotation>}
\settexsymbol \beginverse {\begin{verse}}
\sethtmlsymbol \beginverse {<CENTER><TABLE WIDTH="60%"><TR><TD style="$versecss"><font face="$htmlfontface" size=$htmlfontsize color=$htmlfontcolor style="$versecss">}
\symbolalias \beginverse {<verse>}
\settexsymbol \endverse {\end{verse}}
\sethtmlsymbol \endverse {</font></TD></TR></TABLE></CENTER>}
\symbolalias \endverse {</verse>}
