1 % http://sip.clarku.edu/tutorials/TeX/intro.html
2 \documentclass[12pt
]{article
}
4 \usepackage{amsmath
} % need for subequations
6 \include{chapter1-intro.inc
}
7 \section{section1 text
}
8 It is desirable to print program code exactly as it is typed in a
9 monospaced font. Use
\verb \begin{verbatim
} and
10 \section{Introduction
}
12 It is desirable to print program code exactly as it is typed in a
13 monospaced font. Use
\verb \begin{verbatim
} and
14 \subsection{subsection2
}
15 It is desirable to print program code exactly as it is typed in a
16 monospaced font. Use
\verb \begin{verbatim
} and
17 \subsubsection{subsubsection3 with extra text
}
18 It is desirable to print program code exactly as it is typed in a
19 monospaced font. Use
\verb \begin{verbatim
} and
20 \section[short section4
]{section4 text
}
21 \paragraph[short para1
]{long paragraph1
}
22 \paragraph{long paragraph2
}
23 It is desirable to print program code exactly as it is typed in a
24 monospaced font. Use
\verb \begin{verbatim
} and
26 \section[shorter intro2
]*
{Introduction2longtitle
}
27 It is desirable to print program code exactly as it is typed in a
28 monospaced font. Use
\verb \begin{verbatim
} and
29 \subsection[subsec5 text
]*
{subsection5
}
30 \subparagraph[short subpara1
]{long subparagraph1
}
31 \subparagraph{long subparagraph2
}
32 It is desirable to print program code exactly as it is typed in a
33 monospaced font. Use
\verb \begin{verbatim
} and
34 \subsubsection{subsubsection6 with extra text
}
35 It is desirable to print program code exactly as it is typed in a
36 monospaced font. Use
\verb \begin{verbatim
} and
38 \include{chapter2-intro.inc
}