"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/examples/lis2.tex" (16 Jan 2021, 325 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TeX and LaTeX source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \documentclass{article}
    2 \usepackage{listings}
    3 \lstavoidwhitepre
    4 \lstset{language=Caml}
    5 \lstset{keywordstyle=\textbf,commentstyle=\emph}
    6 \begin{document}
    7 \section*{Code that should copy-paste properly}
    8 \begin{lstlisting}
    9   let x = 1 in
   10   x+x (* Two lines *)
   11 \end{lstlisting}
   12 There should be indentation above!
   13 
   14 \end{document}