my Latex and Tex4ht cheat sheet
my Latex cheat sheet - 12000.org
my Latex cheat sheet - 12000.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
\documentclass[12pt,notitlepage]{book}<br />
\usepackage{st<strong>and</strong>alone}%<br />
\input{commonlatex}<br />
\begin{document}<br />
\title{This is <strong>my</strong> document home/main.tex title}<br />
\author{me}<br />
\maketitle<br />
\tableofcontents<br />
\begin{deeplevel}{this is first section in main.tex}<br />
once upone a time, <strong>and</strong> now include the other document<br />
\subimport*{folderA/}{a}<br />
\end{deeplevel}<br />
\end{document}<br />
the file a.tex is<br />
\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}{1}<br />
\title{This is <strong>my</strong> document home/folderA/a.tex title}<br />
\author{me}<br />
\maketitle<br />
\tableofcontents<br />
\fi<br />
\begin{deeplevel}{first section in file a.tex}<br />
\includegraphics{a.png}<br />
\subimport*{folderAB/}{b}<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 a.tex}<br />
\lstinputlisting{a.txt}<br />
\end{deeplevel}<br />
\begin{deeplevel}{third section in file a.tex}<br />
you can find <strong>my</strong> report \href{\currentimportpath a.txt}{here}<br />
\end{deeplevel}<br />
\lipsum[1]<br />
\end{document}<br />
<strong>and</strong> the file b.tex is<br />
15