\label{Authoring_HTML_vs_Tex} LON-CAPA renders resources in several formats, including on the web in HTML and in LaTeX for renderings designed to be printed. When creating problems, it is possible to use LaTeX directly by using the tag\index{m tag}\index{tag, } (see \ref{Authoring_M_Tag}). Anything between the tag in a resource will be interpreted as .tex. However, this should be used as a last resort for when you wish to do something that is impossible to do in HTML. LON-CAPA will convert to and from LaTeX and HTML whenever necessary, and it is much easier (and therefore more likely to work) to convert HTML to LaTeX then to go the other direction, because HTML is so much simpler then LaTeX. Thus, given the choice of \texttt{H2O} or \texttt{H\textbackslash{}subscript\{2\}O} it is better to use the HMTL version. A necessarily-incomplete list of capabilities: LON-CAPA can convert HTML tables in LaTeX tables, images into LaTeX images, LaTeX symbols into HTML, and LaTeX math into HTML (though it does not usually look as good as LaTeX). If you really wish to have the web rendering and the LaTeX rendering do something different, perhaps because the automatically generated LaTeX->HTML conversion did not do what you wanted, you can surround your LaTeX with \index{tex tag}\index{tag, } tags, and your HTML version with \index{web tag}\index{tag, } tags. The stuff placed between the tags will only show on the LaTeX rendering of the resource, and the stuff placed between the tags will only show on the HTML web rendering of the resource.