Talk:PlanetPhysics/Harmonic Series Diagram Html Rendering Test

Original TeX Content from PlanetPhysics Archive
%%% This file is part of PlanetPhysics snapshot of 2011-09-01 %%% Primary Title: harmonic series diagram %%% Primary Category Code: 00. %%% Filename: HarmonicSeriesDiagramHtmlRenderingTest.tex %%% Version: 9 %%% Owner: bci1 %%% Author(s): bci1 %%% PlanetPhysics is released under the GNU Free Documentation License. %%% You should have received a file called fdl.txt along with this file. %%% If not, please write to gnu@gnu.org. \documentclass[12pt]{article} \pagestyle{empty} \setlength{\paperwidth}{8.5in} \setlength{\paperheight}{11in}

\setlength{\topmargin}{0.00in} \setlength{\headsep}{0.00in} \setlength{\headheight}{0.00in} \setlength{\evensidemargin}{0.00in} \setlength{\oddsidemargin}{0.00in} \setlength{\textwidth}{6.5in} \setlength{\textheight}{9.00in} \setlength{\voffset}{0.00in} \setlength{\hoffset}{0.00in} \setlength{\marginparwidth}{0.00in} \setlength{\marginparsep}{0.00in} \setlength{\parindent}{0.00in} \setlength{\parskip}{0.15in}

\usepackage{html}

% this is the default PlanetPhysics preamble. % it should be fine as is for beginners.

% almost certainly you want these \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsfonts}

% used for TeXing text within eps files %\usepackage{psfrag} %need this for including graphics (\includegraphics) %\usepackage{graphicx}

\usepackage{amsthm} %%making logically defined graphics with eps?

\usepackage{pstricks} \usepackage{pst-plot}

% define commands here

\begin{document}

The following is the missing graphics for the \htmladdnormallink{harmonic series}{http://planetphysics.us/encyclopedia/EulerConstant.html} \htmladdnormallink{diagram}{http://planetphysics.us/encyclopedia/HarmonicSeries.html}--as well as the limit of the harmonic series-- currently visible only in the page images mode only.

\begin{center} \begin{pspicture}(-0.5,-0.5)(6,6) \psaxes[Dx=1,Dy=1]{->}(0,0)(-0.5,-0.5)(5.5,5.5) \rput(5.5,-0.2){$x$} \rput(-0.2,5.5){$y$} \rput(-0.3,-0.3){$0$} \psplot[linecolor=red]{0.22}{5.2}{1 x div} \psline(1,0)(1,1) \psline[linecolor=blue](1,1)(2,1)(2,0.5)(3,0.5)(3,0.333)(4,0.333)(4,0.25)(5,0.25)(5,0.2) \psline(2,0)(2,0.5) \psline(3,0)(3,0.333) \psline(4,0)(4,0.25) \rput(1,3.5){$y = \frac{1}{x}$} \end{pspicture} \end{center}

$$\lim_{n\to\infty}\left(\sum_{k=1}^{n-1}\frac{1}{k}-\ln{n}\right)\;=\;\gamma$$

\end{document}