
Update of /project/cl-gsl/cvsroot/cl-gsl/doc In directory common-lisp.net:/tmp/cvs-serv27544 Modified Files: math.tex Log Message: tex4ht fixes. Date: Sun Mar 27 05:47:52 2005 Author: edenny Index: cl-gsl/doc/math.tex diff -u cl-gsl/doc/math.tex:1.1 cl-gsl/doc/math.tex:1.2 --- cl-gsl/doc/math.tex:1.1 Thu Mar 24 02:48:24 2005 +++ cl-gsl/doc/math.tex Sun Mar 27 05:47:52 2005 @@ -1,65 +1,43 @@ -\documentclass{article} -\usepackage[T1]{fontenc} -\usepackage[latin1]{inputenc} -\usepackage{tex4ht} - -\begin{document} - -\Css{.monobold { font-weight: bold; font-family: monospace;}} -\Css{.floatright { float: right;}} -\Css{.floatleft { float: left;}} -\Css{.floatclear { clear: both;}} - -\def\monobf#1{\ifHtml \HCode{<span class="monobold">} #1 - \else \textbf{\texttt{#1}} \fi - \ifHtml \HCode{</span>} \fi} - -\def\func#1#2{\ifHtml \HCode{<span class="floatright">} \fi - {[}Function{]} \ifHtml \HCode{</span><span class="floatleft">} \fi - \monobf{#1} \texttt{#2} - \ifHtml \HCode{</span> <div class="floatclear"> </div>} \fi} -\section*{4 Mathematical Constants} +\section{Mathematical Constants} The library ensures that the standard bsd mathematical constants are defined. For reference here is a list of the constants. \begin{description} -\item [+e+] The base of exponentials, \(e\) +\item [\const{+e+}] The base of exponentials, \(e\) -\item [+log2e+] The base-2 logarithm of e, \(\log_2(e)\) +\item [\const{+log2e+}] The base-2 logarithm of e, \(\log_2(e)\) -\item [+log10e+] The base-10 logarithm of e, \(\log_{10}(e)\) +\item [\const{+log10e+}] The base-10 logarithm of e, \(\log_{10}(e)\) -\item [+sqrt2+] The square root of two, \(\sqrt 2\) +\item [\const{+sqrt2+}] The square root of two, \(\sqrt 2\) -\item [+sqrt1/2+] The square root of one-half, \(\sqrt{1/2}\) +\item [\const{+sqrt1/2+}] The square root of one-half, \(\sqrt{1/2}\) -\item [+sqrt3+] The square root of three, \(\sqrt 3\) +\item [\const{+sqrt3+}] The square root of three, \(\sqrt 3\) -\item [+pi+] The constant pi, \(\pi\) +\item [\const{+pi+}] The constant pi, \(\pi\) -\item [+pi/2+] Pi divided by two, \(\pi/2\) +\item [\const{+pi/2+}] Pi divided by two, \(\pi/2\) -\item [+pi/4+] Pi divided by four, \(\pi/4\) +\item [\const{+pi/4+}] Pi divided by four, \(\pi/4\) -\item [+sqrtpi+] The square root of pi, \(\sqrt\pi\) +\item [\const{+sqrtpi+}] The square root of pi, \(\sqrt\pi\) -\item [+2/sqrtpi+] Two divided by the square root of pi, \(2/\sqrt\pi\) +\item [\const{+2/sqrtpi+}] Two divided by the square root of pi, \(2/\sqrt\pi\) -\item [+1/pi+] The reciprocal of pi, \(1/\pi\) +\item [\const{+1/pi+}] The reciprocal of pi, \(1/\pi\) -\item [+2/pi+] Twice the reciprocal of pi, \(2/\pi\) +\item [\const{+2/pi+}] Twice the reciprocal of pi, \(2/\pi\) -\item [+ln10+] The natural logarithm of ten, \(\ln(10)\) +\item [\const{+ln10+}] The natural logarithm of ten, \(\ln(10)\) -\item [+ln2+] The natural logarithm of two, \(\ln(2)\) +\item [\const{+ln2+}] The natural logarithm of two, \(\ln(2)\) -\item [+lnpi+] The natural logarithm of pi, \(\ln(\pi)\) +\item [\const{+lnpi+}] The natural logarithm of pi, \(\ln(\pi)\) -\item [+euler+] Euler's constant, \(\gamma\) +\item [\const{+euler+}] Euler's constant, \(\gamma\) \end{description} - -\end{document}