LaTeX/helloworld.tex

The barebone document

\documentclass[12pt]{article}
\begin{document}
Hello world!
$Hello world!$ %math mode 
\end{document}

The barebone document using W:amstex

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\begin{document}

$\mathfrak{H}$ello world!
\end{document}

See also

edit