OSDN Git Service

cleanup
[luatex-ja/luatexja.git] / src / ltjltxdoc.cls
1 %%
2 %% This is file `ltjltxdoc.cls',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ltjltxdoc.dtx  (with options: `class')
8 %% 
9 %% IMPORTANT NOTICE:
10 %% 
11 %% For the copyright see the source file.
12 %% 
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from ltjltxdoc.cls.
15 %% 
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file ltjltxdoc.dtx.
18 %% 
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23 %% File: ltjltxdoc.dtx
24 %% \CharacterTable
25 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
26 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
27 %%   Digits        \0\1\2\3\4\5\6\7\8\9
28 %%   Exclamation   \!     Double quote  \"     Hash (number) \#
29 %%   Dollar        \$     Percent       \%     Ampersand     \&
30 %%   Acute accent  \'     Left paren    \(     Right paren   \)
31 %%   Asterisk      \*     Plus          \+     Comma         \,
32 %%   Minus         \-     Point         \.     Solidus       \/
33 %%   Colon         \:     Semicolon     \;     Less than     \<
34 %%   Equals        \=     Greater than  \>     Question mark \?
35 %%   Commercial at \@     Left bracket  \[     Backslash     \\
36 %%   Right bracket \]     Circumflex    \^     Underscore    \_
37 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
38 %%   Right brace   \}     Tilde         \~}
39 %%
40
41 \NeedsTeXFormat{LaTeX2e}
42 \ProvidesClass{ltjltxdoc}[2011/10/03 v1.0b-ltj Standard LuaLaTeX-ja file]
43 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ltxdoc}}
44 \ProcessOptions
45 \LoadClass{ltxdoc}
46 \RequirePackage{luatexja}
47 \renewcommand{\normalsize}{%
48     \@setfontsize\normalsize\@xpt{15}%
49   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
50   \abovedisplayshortskip \z@ \@plus3\p@
51   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
52    \belowdisplayskip \abovedisplayskip
53    \let\@listi\@listI}
54 \renewcommand{\small}{%
55   \@setfontsize\small\@ixpt{11}%
56   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
57   \abovedisplayshortskip \z@ \@plus2\p@
58   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
59   \def\@listi{\leftmargin\leftmargini
60               \topsep 4\p@ \@plus2\p@ \@minus2\p@
61               \parsep 2\p@ \@plus\p@ \@minus\p@
62               \itemsep \parsep}%
63   \belowdisplayskip \abovedisplayskip}
64 \normalsize
65 \setlength\parindent{1\zw}
66 \providecommand*{\file}[1]{\texttt{#1}}
67 \providecommand*{\pstyle}[1]{\textsl{#1}}
68 \providecommand*{\Lcount}[1]{\textsl{\small#1}}
69 \providecommand*{\Lopt}[1]{\textsf{#1}}
70 \providecommand\dst{{\normalfont\scshape docstrip}}
71 \providecommand\NFSS{\textsf{NFSS}}
72 \newcounter{@clineno}
73 \def\mlineplus#1{\setcounter{@clineno}{\arabic{CodelineNo}}%
74    \addtocounter{@clineno}{#1}\arabic{@clineno}}
75 \def\tsample#1{%
76   \hbox to\linewidth\bgroup\vrule width.1pt\hss
77     \vbox\bgroup\hrule height.1pt
78       \vskip.5\baselineskip
79       \vbox to\linewidth\bgroup\tate\hsize=#1\relax\vss}
80 \def\endtsample{%
81       \vss\egroup
82       \vskip.5\baselineskip
83     \hrule height.1pt\egroup
84   \hss\vrule width.1pt\egroup}
85 \ltjsetparameter{alxspmode={"5C,3}} %% \
86 \ltjsetparameter{alxspmode={"22,3}} %% "
87 \def\mod@math@codes{\mathcode`\|="207C \mathcode`\&="2026
88                     \mathcode`\-="702D \mathcode`\+="702B
89                     \mathcode`\:="703A \mathcode`\=="703D }
90 \endinput
91 %%
92 %% End of file `ltjltxdoc.cls'.