IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4022


Ignore:
Timestamp:
May 24, 2005, 1:56:16 PM (21 years ago)
Author:
jhoblitt
Message:

change a code example from datatype -> verbatim

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r4021 r4022  
    1 %%% $Id: psLibSDRS.tex,v 1.232 2005-05-24 23:44:45 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.233 2005-05-24 23:56:16 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    14251425Here is an example of how \code{psVectorExtend} is used to
    14261426automatically increment the vector length.
    1427 \begin{datatype}
     1427\begin{verbatim}
    14281428  // create data vector
    14291429  psVector *y = psVectorAlloc (100);
     
    14361436    // increments n by 1, extends length if needed by 100
    14371437  }
    1438 \end{datatype}
     1438\end{verbatim}
    14391439Note that the specification that the allocation always be greater than
    14401440the number of elements by twice the number of new elements implies
Note: See TracChangeset for help on using the changeset viewer.