xbdev - software development
Friday September 22, 2023
home | about | contact | Donations



Beautiful, Powerful and Fun Document Tools (but requires a little extra work)


Adding images to the main TOC

There may be occasions when you want to customize the table of contents - in this minimum working example, it shows how easy it is to add an image to the 'main' table of contents while leaving the short table of contents intact.



% bit extra is added - so the sexy image is only added to the 
% main toc not the short toc

	  \ifnum\value{chapter}>0 \bigskip\noindent\fi%

\shorttableofcontents{Short Contents}{0}

\chapter{Title 1 }
\section{Section for title 1}
\chapter{Title 2 }
\section{Section for title 2}


Copyright (c) 2002-2023 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.