13.11.2015 Views

my Latex and Tex4ht cheat sheet

my Latex cheat sheet - 12000.org

my Latex cheat sheet - 12000.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

\documentclass[12pt,notitlepage]{article}<br />

\usepackage{st<strong>and</strong>alone}<br />

\st<strong>and</strong>alonetrue<br />

\input{commonlatex}<br />

\begin{document}<br />

\ifst<strong>and</strong>alone<br />

\setcounter{level@depth}{2}<br />

\title{This is <strong>my</strong> document home/folderA/folderB/b.tex title}<br />

\author{me}<br />

\maketitle<br />

\tableofcontents<br />

\fi<br />

\begin{deeplevel}{first section in file b.tex}<br />

\lipsum[75]<br />

\begin{deeplevel}{this should show up below the above}<br />

\lipsum[75]<br />

\end{deeplevel}<br />

\end{deeplevel}<br />

\begin{deeplevel}{second section in file b.tex}<br />

\lstinputlisting{b.txt}<br />

\end{deeplevel}<br />

\begin{deeplevel}{third section in file b.tex}<br />

you can find <strong>my</strong> report \href{\currentimportpath b.txt}{here}<br />

\end{deeplevel}<br />

\lipsum[1]<br />

\end{document}<br />

<strong>and</strong> the common include file is<br />

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!