OSDN Git Service

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