Welcome To MY Home Page

John Q. Public
Assistant Professor
High Energy Theory [HEPT]
public@pa.msu.edu
(517) 555-1212
118 Physics-Astronomy Bldg.
Michigan State University
East Lansing, MI 48824-1116

The purpose of this example is to show some of the features of HTML & how they can be used to present information. This information can be generated from:

Formulas and Equations

In presenting your information, you may run into the need to write formulas or equations as you would in other technical documents. There exists a number of options by which one may display this type of information.

Graphs

[DY Spectrum Comparison] Graphs or any GIF file can be placed in various locations throughout the document.
These particular GIF files are of type 89a. This type allows for transparent backgrounds, which allow whatever pattern (if any) has been selected for a page to show through. More programs generate type 87a GIF files, but conversion programs are available.
Different browser programs handle the placement options differently, but the actual display of the graphics file itself should work for just about all of them.

Computer Source Code

Source code can be placed into the document as shown, using the "pre" or the "code" format type ("pre" is used in this example).
class Vector {
private:
    Index dim_; // dimension of vector
    Data *data; // pointer to where data is stored
public: Vector(Dim dim); // allocate only Vector(Index dim, Data val); // allocate&initialize data[i]=val Vector(const Vector& rhs); // copy constructor ~Vector();
// assignment operators const Vector& operator=(const Vector& rhs); const Vector& operator+=(const Vector& rhs); // member data access
const Data& operator[](Index position) const; // read-only Data& operator[](Index position); // write-access Index dim() const;
// arithmetic const Vector operator+(const Vector& rhs) const; Data dot(const Vector& rhs) const; // dot product (++++... metric) Data operator*(const Vector& rhs) const; // Data operator*(const Vector& rhs) const; // // other operations friend ostream& operator<<(ostream& output, const Vector& rhs); friend istream& operator>>(istream& input, Vector& rhs); };

A counter can be placed in the document to show how many times a particular document has been requested. This document, for example, has been requested 3423 times.
Return to the top of the page.
Notes on this demonstration page:
  1. The formulas and graph are from the document titled Backgrounds from Random Pions and Muons from Pion Decay at sqrt-s=200 GeV.
  2. The source code is from David Bowser-Chao's PHY 405/905 C++ for Physicists class. He has arranged a set of Web pages so that his students can view his lecture notes and homework assignments.

Send suggestions for additions to the John Q. Public sample Professor's Home Page to helpdesk@pa.msu.edu.
This file last updated: 1997.06.19 (Thursday) 01:07:31 EDT