File: plonline.sty

package info (click to toggle)
swi-prolog 8.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 78,084 kB
  • sloc: ansic: 362,656; perl: 322,276; java: 5,451; cpp: 4,625; sh: 3,047; ruby: 1,594; javascript: 1,509; yacc: 845; xml: 317; makefile: 156; sed: 12; sql: 6
file content (68 lines) | stat: -rw-r--r-- 1,961 bytes parent folder | download | duplicates (5)
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
\textheight 200in

\setlength{\tabcolsep}{1em}
\setlength{\doublerulesep}{0pt}

\renewcommand{\tableofcontents}{\pagestyle{empty}}

\renewcommand{\ldots}{...}
\renewcommand{\sqrt}[1]{\mbox{square root of #1}}
\renewcommand{\sin}[1]{\mbox{sine of #1}}
\renewcommand{\cos}[1]{\mbox{cosine of #1}}
\renewcommand{\tan}[1]{\mbox{tangus of #1}}
\renewcommand{\arcsin}[1]{\mbox{inverse sine of #1}}
\renewcommand{\arccos}[1]{\mbox{inverse cosine of #1}}
\renewcommand{\arctan}[1]{\mbox{inverse tangus of #1}}
\renewcommand{\ln}[1]{\mbox{natural logarithm of #1}}
\renewcommand{\lg}[1]{\mbox{10 base logarithm of #1}}
\renewcommand{\log}[1]{\mbox{log(#1)}}
\renewcommand{\pow}[2]{\mbox{#1 to the power #2}}
\renewcommand{\pi}{\mbox{pi}}
\renewcommand{\times}[2]{#1 * #2}
\renewcommand{\frac}[2]{#1 / #2}
\renewcommand{\le}{{\tt\string<=}}
\renewcommand{\leq}{{\tt\string=<}}
\renewcommand{\geq}{{\tt\string>=}}
\renewcommand{\sum}{SUM }
\def\@scaledpostscriptfig[#1]#2#3{}
\def\@postscriptfig#1#2{}

\renewcommand{\appendix}{}
\renewcommand{\footnote}[1]{}
%\renewcommand{\cite}[1]{}

\parskip 12pt
\parindent 0pt

\renewcommand{\defentry}[1]{\newpage\definition{#1}}

\def\@makechapterhead#1{
    \newpage
    \vspace*{0pt}
    {\bfseries Chapter \thechapter. \MakeUppercase{#1}}
    \vskip 12pt
    \nobreak\thispagestyle{empty}}

\renewcommand{\section}{%
	\newpage
	\@startsection{section}{1}{0pt}{24pt}{12pt}{\bfseries}}
\renewcommand{\subsection}{%
	\newpage
	\@startsection{subsection}{2}{0pt}{24pt}{12pt}{\bfseries}}
\renewcommand{\subsubsection}{%
	\newpage
	\@startsection{subsubsection}{3}{0pt}{24pt}{12pt}{\bfseries}}

%       FLOATS

\setcounter{topnumber}{100}
\renewcommand{\topfraction}{0.9}
\setcounter{totalnumber}{100}
\renewcommand{\bottomfraction}{0.9}
\renewcommand{\textfraction}{0.1}
\renewcommand{\dbltopfraction}{0.9}
\renewcommand{\dblfloatpagefraction}{0.8}
\renewcommand{\floatpagefraction}{0.8}

\def\fps@figure{htbp}
\def\fps@table{htbp}