OSDN Git Service

default value of ascender/descender
[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}[2018/01/01 v1.0d-ltj-3 Standard LuaLaTeX-ja file]
43 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ltxdoc}}
44 \ProcessOptions
45 \LoadClass{ltxdoc}
46 \RequirePackage{luatexja}
47 \def\Cjascale{0.962216}
48 \renewcommand{\normalsize}{%
49     \@setfontsize\normalsize\@xpt{15}%
50   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
51   \abovedisplayshortskip \z@ \@plus3\p@
52   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
53    \belowdisplayskip \abovedisplayskip
54    \let\@listi\@listI}
55 \renewcommand{\small}{%
56   \@setfontsize\small\@ixpt{11}%
57   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
58   \abovedisplayshortskip \z@ \@plus2\p@
59   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
60   \def\@listi{\leftmargin\leftmargini
61               \topsep 4\p@ \@plus2\p@ \@minus2\p@
62               \parsep 2\p@ \@plus\p@ \@minus\p@
63               \itemsep \parsep}%
64   \belowdisplayskip \abovedisplayskip}
65 \normalsize
66 \setlength\parindent{1\zw}
67 \providecommand*{\file}[1]{\texttt{#1}}
68 \providecommand*{\pstyle}[1]{\textsl{#1}}
69 \providecommand*{\Lcount}[1]{\textsl{\small#1}}
70 \providecommand*{\Lopt}[1]{\textsf{#1}}
71 \providecommand\dst{{\normalfont\scshape docstrip}}
72 \providecommand\NFSS{\textsf{NFSS}}
73 \newcounter{@clineno}
74 \def\mlineplus#1{\setcounter{@clineno}{\arabic{CodelineNo}}%
75    \addtocounter{@clineno}{#1}\arabic{@clineno}}
76 \def\tsample#1{%
77   \hbox to\linewidth\bgroup\vrule width.1pt\hss
78     \vbox\bgroup\hrule height.1pt
79       \vskip.5\baselineskip
80       \vbox to\linewidth\bgroup\tate\hsize=#1\relax\vss}
81 \def\endtsample{%
82       \vss\egroup
83       \vskip.5\baselineskip
84     \hrule height.1pt\egroup
85   \hss\vrule width.1pt\egroup}
86 \def\verb{\relax\ifmmode\hbox\else\leavevmode\vadjust{}\fi
87   \bgroup \let\do\do@noligs \verbatim@nolig@list
88     \ttfamily \verb@eol@error \let\do\@makeother \dospecials
89     \@ifstar{\@sverb}{\@vobeyspaces \frenchspacing \@sverb}}
90 \ltjsetparameter{alxspmode={"5C,3}} %% \
91 \ltjsetparameter{alxspmode={"22,3}} %% "
92 \def\mod@math@codes{\mathcode`\|="207C \mathcode`\&="2026
93                     \mathcode`\-="702D \mathcode`\+="702B
94                     \mathcode`\:="703A \mathcode`\=="703D }
95 \endinput
96 %%
97 %% End of file `ltjltxdoc.cls'.