Changes

Jump to navigation Jump to search
no edit summary
</texcode>
 
Later, Yue Wang wrote a new implementation of the horizontal table of contents as follows:
 
<texcode>
\newcount\chapcounter \chapcounter=0
\def\tocchap#1#2#3{\hskip0pt plus 0.02\textwidth minus 0pt\advance\chapcounter by 1
\framedtext[height=\textheight,frame=off,width=.48\textwidth,offset=none]%
{\framedtext[height=.7\textheight,frame=off,width=.48\textwidth,offset=none,top=\vss,bottom=]{{\red\BigFont\setupinterlinespace#1\par}{\tfb\setupinterlinespace #2\par}}%
\framedtext[height=.3\textheight,width=.48\textwidth,offset=none,frame=off,top=,bottom=\vss,align=right]%
{\placelist[section][criterium=chapter,number=\chapcounter,alternative=command, command=\tocsec]}}}
\def\tocsec#1#2#3{{\black #2~(#3)}\par}
\def\placecontent{\placelist[chapter][alternative=command,command=\tocchap]}
</texcode>
--[[User:58.35.85.255|58.35.85.255]] 06:37, 2 September 2008 (CEST)yue wang
Anonymous user

Navigation menu