*** empty log message ***
[m17n/m17n-docs.git] / data-usr / m17n-lib.sty
1 %       -*- coding: euc-jp; -*-
2 \ProvidesPackage{m17n-lib}
3
4 %% Don't leave the space for marginal notes.
5 \setlength{\textwidth}{\paperwidth}
6 \addtolength{\textwidth}{-2in}
7 \setlength{\textheight}{\paperheight}
8 \addtolength{\textheight}{-2in}
9 \addtolength{\textheight}{-\headheight}
10 \addtolength{\textheight}{-\headsep}
11 \setlength{\headwidth}{\textwidth}
12 \setlength{\topmargin}{0in}
13 \setlength{\oddsidemargin}{0in}
14 \setlength{\evensidemargin}{0in}
15 \setlength{\marginparsep}{0pt}
16 \setlength{\marginparwidth}{0pt}
17 \setlength{\footskip}{0pt}
18
19 %% Don't write footers.
20 \rfoot[]{}
21 \lfoot[]{}
22 \cfoot[]{}
23 \def\footrule{}
24
25 %% Use arabic numbers in the second level `enumerate' environment.
26 \renewcommand\theenumii{\@arabic\c@enumii}
27
28 %% Add subsections to TOC.
29 \let\origtableofcontents\tableofcontents
30 \def\tableofcontents{\setcounter{tocdepth}{2}\origtableofcontents\clearpage}
31
32 %% Make each section start with a new page.
33 \let\origsection\section
34 \def\section{\cleardoublepage\origsection}