author | Daniel James <djames@orcadian.net> | 2016年04月02日 19:24:07 -0400 |
---|---|---|
committer | Daniel James <djames@orcadian.net> | 2016年04月02日 19:24:07 -0400 |
commit | e3666abff186832fd9c467ceda3958058f30bac2 (patch) | |
tree | 92cd0597611d4d175ef5870c4f9e4d9925e8c4e7 /teximpatient/macros.tex | |
parent | 8cfb90869865d23b5b637fb0b1c9e1e0205cb0b3 (diff) | |
download | teximpatient-master.tar.gz |
-rw-r--r-- | teximpatient/macros.tex | 14 |
diff --git a/teximpatient/macros.tex b/teximpatient/macros.tex index e3a84ad..f7b37c7 100644 --- a/teximpatient/macros.tex +++ b/teximpatient/macros.tex @@ -1145,8 +1145,8 @@ \backfalse \shorttocfonts \let\tocchapterentry = \shorttocchapter - \let\tocsectionentry = \gobblethree - \let\tocsubsectionentry = \gobblethree + \let\tocsectionentry = \gobbletwo + \let\tocsubsectionentry = \gobbletwo \halign{\hfil\strut##&\strut ##\hfil\cr \readtocfile \crcr}}% @@ -1192,13 +1192,13 @@ \noalign{\nobreak\vskip2pt}% } -\def\tocsectionentry#1#2#3{% +\def\tocsectionentry#1#2{% \noalign{\penalty-500 \vskip\medsmallskipamount}% - &\it #1\quad \openbox$,円,円$\rm #3\cr + &\it #1\quad \openbox$,円,円$\rm #2\cr } -\def\tocsubsectionentry#1#2#3{% - &\qquad #1\quad $\cdot,円$#3\cr +\def\tocsubsectionentry#1#2{% + &\qquad #1\quad $\cdot,円$#2\cr } \def\openbox{\ht0 = 1.75pt \dp0 = 1.75pt \wd0 = 3.5pt @@ -1331,7 +1331,7 @@ \xdef\examplepage{\number\count255}% \markinfo{Example #1: #2} \ifrewritetocfile - \write\tocfile{\string\tocsectionentry{#2}{}{\examplepage}}% + \write\tocfile{\string\tocsectionentry{#2}{\examplepage}}% \fi } % Let's number examples automatically; it makes it easier to move them |