[Assorted-commits] SF.net SVN: assorted:[1152] sandbox/trunk/src/tex/tocdepth.tex
Brought to you by:
yangzhang
From: <yan...@us...> - 2009-01-31 08:11:34
|
Revision: 1152 http://assorted.svn.sourceforge.net/assorted/?rev=1152&view=rev Author: yangzhang Date: 2009-01-31 08:11:29 +0000 (Sat, 31 Jan 2009) Log Message: ----------- added tocdepth demo Added Paths: ----------- sandbox/trunk/src/tex/tocdepth.tex Added: sandbox/trunk/src/tex/tocdepth.tex =================================================================== --- sandbox/trunk/src/tex/tocdepth.tex (rev 0) +++ sandbox/trunk/src/tex/tocdepth.tex 2009-01-31 08:11:29 UTC (rev 1152) @@ -0,0 +1,20 @@ +\documentclass{article} +\begin{document} +\tableofcontents +\appendix +\section{alpha} +\section{beta} +\section{gamma} +\subsection{alfa} +\subsection{bravo} +\subsubsection{first} +\subsubsection{second} +\subsubsection{third} +\subsubsection{billionth} +\setcounter{tocdepth}{2} % doesn't matter where you set this; can't be "selective" +\subsection{charlie} +\subsubsection{first} +\subsubsection{second} +\subsubsection{third} +\subsubsection{billionth} +\end{document} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |