1 % -*- coding: euc-jp; -*-
2 \ProvidesPackage{doxygen-m17n}
6 %% Don't leave the space for marginal notes.
7 \setlength{\textwidth}{\paperwidth}
8 \addtolength{\textwidth}{-2in}
9 \setlength{\textheight}{\paperheight}
10 \addtolength{\textheight}{-2in}
11 \addtolength{\textheight}{-\headheight}
12 \addtolength{\textheight}{-\headsep}
13 \setlength{\headwidth}{\textwidth}
14 \setlength{\topmargin}{0in}
15 \setlength{\oddsidemargin}{0in}
16 \setlength{\evensidemargin}{0in}
17 \setlength{\marginparsep}{0pt}
18 \setlength{\marginparwidth}{0pt}
19 \setlength{\footskip}{0pt}
21 %\def\sectionmark#1{\markboth
22 %{\MakeUppercase{\ifnum \c@secnumdepth>\z@
23 % \thesection\hskip 1em\relax \fi #1}}{}}
24 %\def\sectionmark#1{\markboth{\MakeUppercase{#1}}{}}
26 %% Don't write footers.
31 %% Fixing incorrest indentation of the original `CompactItemize'
33 %% \renewenvironment{CompactItemize}
36 %% \def\@listi{\leftmargin\leftmargini
37 %% \parsep 0\p@ \@plus2.5\p@ \@minus\p@
38 %% \topsep 10\p@ \@plus4\p@ \@minus6\p@
39 %% \itemsep0\p@ \@plus2.5\p@ \@minus\p@}
40 %% \def\@listii {\leftmargin\leftmarginii
41 %% \labelwidth\leftmarginii
42 %% \advance\labelwidth-\labelsep
43 %% \topsep 5\p@ \@plus2.5\p@ \@minus\p@
44 %% \parsep 0\p@ \@plus\p@ \@minus\p@
47 %% \setlength{\leftskip}{-1.5em}
49 %% {\end{itemize}\egroup}
51 %% \renewenvironment{Desc}
54 %% \settowidth{\labelwidth}{40pt}
55 %% \setlength{\leftmargin}{\labelwidth}
56 %% % \setlength{\parsep}{0pt}
57 %% \setlength{\itemsep}{-4pt}
58 %% \renewcommand{\makelabel}{\entrylabel}
64 %% Use arabic numbers in the second level `enumerate' environment.
65 \renewcommand\theenumii{\@arabic\c@enumii}
67 %% Treat `_' as a normal letter.
68 %% \catcode`\_11\relax
70 %% Make each section start with a new page.
71 \let\origsection\section
72 \def\newsection{\cleardoublepage\origsection}
73 \def\sectionOnNewpage{\let\section\newsection}
76 %% Cross reference for IPA document.
77 \def\IPAlabel#1{\label{IPA:#1}}
78 \def\IPAref#1{\texttt{#1} (P.\pageref{IPA:#1})}
79 \def\IPApage#1{(P.\pageref{IPA:#1})}
84 %% \def\tt{\tttrue\origtt}
85 %% \def\bf{\iftt\else\origbf\fi}
86 %% \def\em{\ttfamily\bfseries}
87 %{\catcode`"=\active\gdef"{{\catcode`"=12\verb+"+}}}
89 %\def\includegraphics[#1]#2{}
91 \let\origtableofcontents\tableofcontents
92 \def\tableofcontents{\setcounter{tocdepth}{2}\origtableofcontents\clearpage}