File: latex.plt

package info (click to toggle)
tralics 2.14.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 17,152 kB
  • ctags: 8,260
  • sloc: cpp: 49,403; xml: 18,145; sh: 140; makefile: 118
file content (190 lines) | stat: -rw-r--r-- 5,005 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
%%% -*- latex -*-
\ProvidesPackage{latex}[2007/12/22 v1.0 Implements some basic latex cmmands]
%% $Id: latex.plt,v 2.1 2008/02/19 16:21:17 grimm Exp $
%% TRALICS, copyright (C) INRIA/apics (Jose' Grimm) 2006, 2007
%% Licensed under the CeCILL free software license 
%% (See the file COPYING in the main directory for details)

\defaulthyphenchar=`\-
\interfootnotelinepenalty=100

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\newhelp#1#2{\newtoks#1#1\expandafter{\csname#2\endcsname}}
\def\newinsert#1{...}

\def\magstephalf{1095 }
\def\magstep#1{\ifcase#1 \@m\or 1200\or 1440\or 1728\or 2074\or 2488\fi\relax}
\def\mathhexbox#1#2#3{\mbox{$\m@th \mathchar"#1#2#3$}}
\def\underbar#1{\underline{\sbox\tw@{#1}\dp\tw@\z@\box\tw@}}
\def\hidewidth{\hskip\hideskip}
\def\narrower{%
  \advance\leftskip\parindent
  \advance\rightskip\parindent}
\def\ialign{\everycr{}\tabskip\z@skip\halign} % initialized \halign
\def\oalign#1{\leavevmode\vtop{\baselineskip\z@skip \lineskip.25ex%
  \ialign{##\crcr#1\crcr}}}
\def\ooalign{\lineskiplimit-\maxdimen \oalign}

\def\CheckCommand{\@star@or@long\check@command} %% TODO

\edef\@backslashchar{\expandafter\@gobble\string\\}
\def\protected@edef{} %% todo
\def\protected@xdef{} % todo
\def\unrestored@protected@xdef{}% todo

\gdef\PackageError#1#2#3{}
\gdef\ClassError#1#2#3{}
\def\PackageWarning#1#2{}
\def\PackageWarningNoLine#1#2{}
\def\PackageInfo#1#2{}
\def\ClassWarning#1#2{}
\def\ClassWarningNoLine#1#2{}
\def\ClassInfo#1#2{}
\gdef\@latex@error#1#2{}
\def\@latex@warning#1{}
\def\@latex@warning@no@line#1{}
\def\@latex@info#1{}
\def\@latex@info@no@line#1{}
\let\@warning\@latex@warning
\let\@@warning\@latex@warning@no@line
\let\@latexerr\@latex@error

\DeclareRobustCommand{\GenericInfo}[2]{}%  BOF 
\DeclareRobustCommand{\GenericWarning}[2]{}% BOF
\DeclareRobustCommand{\GenericError}[4]{}% BOF 

\def\@setpar#1{\def\par{#1}\def\@par{#1}}
\def\@par{\let\par\@@par\par}
\def\@restorepar{\def\par{\@par}}

\def\@bsphack{%
  \ifhmode
    \@savsk\lastskip
  \fi}
\def\@esphack{%
  \ifhmode
    \ifdim\@savsk>\z@
      \ignorespaces
    \fi
  \fi}
\def\@Esphack{%
  \ifhmode
    \ifdim\@savsk>\z@

      \@ignoretrue
      \ignorespaces
    \fi
   \fi}

\def\addvspace#1{ ... }%
\def\addpenalty#1{ ... }%


%\nobreakdashes-- is  the same as \setbox0\hbox{--\nobreak}\unhbox0
\DeclareRobustCommand{\nobreakdashes}{...}
\def\enskip{\hskip.5em\relax}
\def\negthinspace{\kern-.16667em }
\long\def \protected@write#1#2#3{%
      \begingroup
       \let\thepage\relax
       #2%
       \let\protect\@unexpandable@protect
       \edef\reserved@a{\write#1{#3}}%
       \reserved@a
      \endgroup
      \if@nobreak\ifvmode\nobreak\fi\fi
}

\def\settoheight{\@settodim\ht}
\def\settodepth {\@settodim\dp}
\def\settowidth {\@settodim\wd}


\def\@uclclist{\oe\OE\o\O\ae\AE \dh\DH\dj\DJ\l\L\ng\NG\ss\SS\th\TH}
\def\LastDeclaredEncoding{}
\DeclareRobustCommand\linespread[1]{}

\let\@@hyph=\-        % Save original primitive definition
\let\@@italiccorr=\/
\def\@unexpandable@protect{\noexpand\protect\noexpand}
\def\set@display@protect{\let\protect\string}
\def\set@typeset@protect{\let\protect\@typeset@protect}
\def\nfss@text#1{{\mbox{#1}}}

\def \nocorrlist {,.}
\let \nocorr \relax
%  \def \nfss@text {\leavevmode\hbox}  BOF

\def\newlabel#1#2{} % may have 5 args
\let\ignorespacesafterend\@ignoretrue

\def\buildrel#1\over#2{\mathrel{\mathop{\kern\z@#2}\limits^{#1}}}

\def\openup{\afterassignment\@penup\dimen@}
\def\@penup{\advance\lineskip\dimen@
  \advance\baselineskip\dimen@
  \advance\lineskiplimit\dimen@}
\def\lefteqn#1{\rlap{$\displaystyle #1$}}
\def\makelabel#1{%
  \@latex@error{Lonely \string\item--perhaps a missing
        list environment}\@ehc}

\def\lrbox#1{%
  \edef\reserved@a{%
    \endgroup
    \setbox#1\hbox{%
      \begingroup\aftergroup}%
        \def\noexpand\@currenvir{\@currenvir}%
        \def\noexpand\@currenvline{\on@line}}%
  \reserved@a
    \@endpefalse
    \color@setgroup
      \ignorespaces}
\def\endlrbox{\unskip\color@endgroup}


%Tabulations not yet done
\def\kill{}
\def\tabbing#1{}
\def\extracolsep#1{\tabskip #1\relax}
\def\vline{\vrule \@width \arrayrulewidth}
\gdef\shortstack{\@ifnextchar[\@shortstack{\@shortstack[c]}}
\def\title#1{\gdef\@title{#1}}
\def\author#1{\gdef\@author{#1}}
\def\date#1{\gdef\@date{#1}}
\def\thanks#1{...}
\def\and{} % Titlepage

\def\addcontentsline#1#2#3{...}%
\long\def\addtocontents#1#2{...}%
\def\contentsline#1{\csname l@#1\endcsname}
\def\@dottedtocline#1#2#3#4#5{...}%
\def\numberline#1{\hb@xt@\@tempdima{#1\hfil}}
\def\footnoterule{}

\def\footnotemark{}% optarg
\def\footnotetext{}%  optatg + mandatory arg

\newbox\@begindvibox
\def \AtBeginDvi #1{%
  \global \setbox \@begindvibox
    \vbox{\unvbox \@begindvibox #1}}


\def\@thehead{\@oddhead} % initialization
\def\@thefoot{\@oddfoot}

\gdef \enlargethispage {
   \@ifstar{\@enlargepage}{\@enlargepage}}
\gdef\@enlargepage#1{}

\newcommand\suppressfloats[1][]{}

\endinput
size=400
size=385
size=365
size=344
size=323
size=307
size=207