Codebase list swi-prolog / upstream/7.6.4+dfsg man / plonline.sty
upstream/7.6.4+dfsg

Tree @upstream/7.6.4+dfsg (Download .tar.gz)

plonline.sty @upstream/7.6.4+dfsgraw · history · blame

\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}