% Generator: GNU source-highlight, by Lorenzo Bettini, http://www.gnu.org/software/src-highlite
\documentclass{article}
\usepackage[usenames,dvipsnames]{color}

\title{formatted with source-highlight}
\date{}
\begin{document}
\maketitle
\noindent
\mbox{}\texttt{\textcolor{Black}{01:}} \textit{\textcolor{Brown}{/*}} \\
\mbox{}\texttt{\textcolor{Black}{02:}} \textit{\textcolor{Brown}{\ \ This\ is\ a\ classical\ Hello\ program}} \\
\mbox{}\texttt{\textcolor{Black}{03:}} \textit{\textcolor{Brown}{\ \ to\ test\ source-highlight\ with\ Java\ programs.}} \\
\mbox{}\texttt{\textcolor{Black}{04:}} \textit{\textcolor{Brown}{\ \ }} \\
\mbox{}\texttt{\textcolor{Black}{05:}} \textit{\textcolor{Brown}{\ \ to\ have\ an\ html\ translation\ type}} \\
\mbox{}\texttt{\textcolor{Black}{06:}}  \\
\mbox{}\texttt{\textcolor{Black}{07:}} \textit{\textcolor{Brown}{\ \ \ \ \ \ \ \ source-highlight\ -s\ java\ -f\ html\ -\/-input\ Hello.java\ -\/-output\ Hello.html}} \\
\mbox{}\texttt{\textcolor{Black}{08:}} \textit{\textcolor{Brown}{\ \ \ \ \ \ \ \ source-highlight\ -s\ java\ -f\ html\ $<$\ Hello.java\ $>$\ Hello.html}} \\
\mbox{}\texttt{\textcolor{Black}{09:}}  \\
\mbox{}\texttt{\textcolor{Black}{10:}} \textit{\textcolor{Brown}{\ \ or\ type\ source-highlight\ -\/-help\ for\ the\ list\ of\ options}} \\
\mbox{}\texttt{\textcolor{Black}{11:}}  \\
\mbox{}\texttt{\textcolor{Black}{12:}} \textit{\textcolor{Brown}{\ \ written\ by}} \\
\mbox{}\texttt{\textcolor{Black}{13:}} \textit{\textcolor{Brown}{\ \ Lorenzo\ Bettini}} \\
\mbox{}\texttt{\textcolor{Black}{14:}} \textit{\textcolor{Brown}{\ \ }}\underline{\texttt{\textcolor{Blue}{http://www.lorenzobettini.it}}} \\
\mbox{}\texttt{\textcolor{Black}{15:}} \textit{\textcolor{Brown}{\ \ }}\underline{\texttt{\textcolor{Blue}{http://www.gnu.org/software/src-highlite}}} \\
\mbox{}\texttt{\textcolor{Black}{16:}} \textit{\textcolor{Brown}{*/}} \\
\mbox{}\texttt{\textcolor{Black}{17:}}  \\
\mbox{}\texttt{\textcolor{Black}{18:}} \textbf{\textcolor{RoyalBlue}{package}}\ hello\textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{19:}}  \\
\mbox{}\texttt{\textcolor{Black}{20:}} \textbf{\textcolor{RoyalBlue}{import}}\ java\textcolor{BrickRed}{.}io\textcolor{BrickRed}{.*}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{21:}}  \\
\mbox{}\texttt{\textcolor{Black}{22:}} \textit{\textcolor{Brown}{/**}} \\
\mbox{}\texttt{\textcolor{Black}{23:}} \textit{\textcolor{Brown}{\ *\ }}\textbf{\textcolor{Blue}{$<$p$>$}} \\
\mbox{}\texttt{\textcolor{Black}{24:}} \textit{\textcolor{Brown}{\ *\ A\ simple\ Hello\ World\ class,\ used\ to\ demonstrate\ some}} \\
\mbox{}\texttt{\textcolor{Black}{25:}} \textit{\textcolor{Brown}{\ *\ features\ of\ Java\ source\ highlighting.}} \\
\mbox{}\texttt{\textcolor{Black}{26:}} \textit{\textcolor{Brown}{\ *\ }}\textbf{\textcolor{Blue}{$<$/p$>$}} \\
\mbox{}\texttt{\textcolor{Black}{27:}} \textit{\textcolor{Brown}{\ *\ }}\textbf{\colorbox{Cyan}{TODO:}}\textit{\textcolor{Brown}{\ nothing,\ just\ to\ show\ an\ highlighted\ }}\textbf{\colorbox{Cyan}{TODO}}\textit{\textcolor{Brown}{\ or\ }}\textbf{\colorbox{Cyan}{FIXME}} \\
\mbox{}\texttt{\textcolor{Black}{28:}} \textit{\textcolor{Brown}{\ *}} \\
\mbox{}\texttt{\textcolor{Black}{29:}} \textit{\textcolor{Brown}{\ *\ }}\textcolor{ForestGreen}{@author}\textit{\textcolor{Brown}{\ Lorenzo\ Bettini}} \\
\mbox{}\texttt{\textcolor{Black}{30:}} \textit{\textcolor{Brown}{\ *\ }}\textcolor{ForestGreen}{@version}\textit{\textcolor{Brown}{\ 2.0}} \\
\mbox{}\texttt{\textcolor{Black}{31:}} \textit{\textcolor{Brown}{\ */}} \\
\mbox{}\texttt{\textcolor{Black}{32:}} \textbf{\textcolor{Blue}{public}}\ \textbf{\textcolor{Blue}{class}}\ \textcolor{ForestGreen}{Hello}\ \textcolor{Red}{\{} \\
\mbox{}\texttt{\textcolor{Black}{33:}} \ \ \ \ \textcolor{ForestGreen}{int}\ foo\ \textcolor{BrickRed}{=}\ \textcolor{Purple}{1998}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{34:}} \ \ \ \ \textcolor{ForestGreen}{int}\ hex$\_$foo\ \textcolor{BrickRed}{=}\ \textcolor{Purple}{0xCAFEBABE}\textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{35:}} \ \ \ \ \textcolor{ForestGreen}{boolean}\ b\ \textcolor{BrickRed}{=}\ \textbf{\textcolor{Blue}{false}}\textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{36:}} \ \ \ \ Integer\ i\ \textcolor{BrickRed}{=}\ \textbf{\textcolor{Blue}{null}}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{37:}} \ \ \ \ \textcolor{ForestGreen}{char}\ c\ \textcolor{BrickRed}{=}\ \texttt{\textcolor{Red}{'}}\texttt{\textcolor{CarnationPink}{\textbackslash{}'}}\texttt{\textcolor{Red}{'}}\textcolor{BrickRed}{,}\ d\ \textcolor{BrickRed}{=}\ \texttt{\textcolor{Red}{'n'}}\textcolor{BrickRed}{,}\ e\ \textcolor{BrickRed}{=}\ \texttt{\textcolor{Red}{'}}\texttt{\textcolor{CarnationPink}{\textbackslash{}\textbackslash{}}}\texttt{\textcolor{Red}{'}}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{38:}} \ \ \ \ String\ xml\ \textcolor{BrickRed}{=}\ \texttt{\textcolor{Red}{"{}$<$tag\ attr=}}\texttt{\textcolor{CarnationPink}{\textbackslash{}"{}}}\texttt{\textcolor{Red}{value}}\texttt{\textcolor{CarnationPink}{\textbackslash{}"{}}}\texttt{\textcolor{Red}{$>$\&auml;$<$/tag$>$"{}}}\textcolor{BrickRed}{,}\ foo2\ \textcolor{BrickRed}{=}\ \texttt{\textcolor{Red}{"{}}}\texttt{\textcolor{CarnationPink}{\textbackslash{}\textbackslash{}}}\texttt{\textcolor{Red}{"{}}}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{39:}} \ \ \ \  \\
\mbox{}\texttt{\textcolor{Black}{40:}} \ \ \ \ \textbf{\textcolor{Blue}{public}}\ \textbf{\textcolor{Blue}{static}}\ \textcolor{ForestGreen}{void}\ \textbf{\textcolor{Black}{main}}\textcolor{BrickRed}{(}\ String\ args\textcolor{BrickRed}{[]}\ \textcolor{BrickRed}{)}\ \textcolor{Red}{\{} \\
\mbox{}\texttt{\textcolor{Black}{41:}} \ \ \ \ \ \ \ \ \textit{\textcolor{Brown}{//\ just\ some\ greetings\ ;-)\ \ /*}} \\
\mbox{}\texttt{\textcolor{Black}{42:}} \ \ \ \ \ \ \ \ System\textcolor{BrickRed}{.}out\textcolor{BrickRed}{.}\textbf{\textcolor{Black}{println}}\textcolor{BrickRed}{(}\ \texttt{\textcolor{Red}{"{}Hello\ from\ java2html\ :-)"{}}}\ \textcolor{BrickRed}{)}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{43:}} \ \ \ \ \ \ \ \ System\textcolor{BrickRed}{.}out\textcolor{BrickRed}{.}\textbf{\textcolor{Black}{println}}\textcolor{BrickRed}{(}\ \texttt{\textcolor{Red}{"{}}}\texttt{\textcolor{CarnationPink}{\textbackslash{}t}}\texttt{\textcolor{Red}{by\ Lorenzo\ Bettini"{}}}\ \textcolor{BrickRed}{)}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{44:}} \ \ \ \ \ \ \ \ System\textcolor{BrickRed}{.}out\textcolor{BrickRed}{.}\textbf{\textcolor{Black}{println}}\textcolor{BrickRed}{(}\ \texttt{\textcolor{Red}{"{}}}\texttt{\textcolor{CarnationPink}{\textbackslash{}t}}\texttt{\textcolor{Red}{http://www.lorenzobettini.it"{}}}\ \textcolor{BrickRed}{)}\ \textcolor{BrickRed}{;} \\
\mbox{}\texttt{\textcolor{Black}{45:}} \ \ \ \ \ \ \ \ \textbf{\textcolor{Blue}{if}}\ \textcolor{BrickRed}{(}argc\ \textcolor{BrickRed}{$>$}\ \textcolor{Purple}{0}\textcolor{BrickRed}{)} \\
\mbox{}\texttt{\textcolor{Black}{46:}} \ \ \ \ \ \ \ \ \ \ \ \ String\ param\ \textcolor{BrickRed}{=}\ argc\textcolor{BrickRed}{[}\textcolor{Purple}{0}\textcolor{BrickRed}{];} \\
\mbox{}\texttt{\textcolor{Black}{47:}} \ \ \ \ \ \ \ \ \textit{\textcolor{Brown}{//System.out.println(\ "{}bye\ bye...\ :-D"{}\ )\ ;\ //\ see\ you\ soon}} \\
\mbox{}\texttt{\textcolor{Black}{48:}} \ \ \ \ \textcolor{Red}{\}} \\
\mbox{}\texttt{\textcolor{Black}{49:}} \textcolor{Red}{\}} \\


\end{document}
