teximpatient.git -

summary refs log tree commit diff
path: root/teximpatient/macros.tex
diff options
context:
space:
mode:
Diffstat (limited to 'teximpatient/macros.tex')
-rw-r--r--teximpatient/macros.tex 14
1 files changed, 7 insertions, 7 deletions
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
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月01日 15:24:06 +0000

AltStyle によって変換されたページ (->オリジナル) /