Ignore:
Timestamp:
08/29/06 14:59:46 (18 years ago)
Author:
navarro
Message:

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Textoidl/textoidl.pro

    r134 r163  
     1;+ 
     2; @file_comments 
     3; Convert a valid TeX string to a valid IDL string for plot labels. 
    14; 
    2 ;+ 
    3 ; NAME: 
    4 ;       TEXTOIDL 
    5 ; PURPOSE: 
    6 ;       Convert a valid TeX string to a valid IDL string for plot labels. 
    7 ; CATEGORY: 
    8 ;       text/strings 
    9 ; CALLING SEQUENCE: 
    10 ;       new = textoidl(old) 
    11 ; INPUTS: 
    12 ;       old            -- TeX string to be converted.  Will not be     in 
    13 ;                         modified.  old may be a string array. 
    14 ; KEYWORD PARAMETERS: 
    15 ;       FONT           -- Set to 0 to use hardware font, -1 to use  
    16 ;                         vector.  Note that the only hardware font  
    17 ;                         supported is PostScript. 
    18 ;       /TEX_SEQUENCES -- return the available TeX sequences 
    19 ;       /HELP          -- print out info on use of the function 
    20 ;                         and exit. 
    21 ; OUTPUTS: 
    22 ;       new            -- IDL string corresponding to old.             out 
    23 ; COMMON BLOCKS: 
    24 ; SIDE EFFECTS: 
    25 ; NOTES: 
     5; @categories 
     6; Text, String 
     7; 
     8; @param INPUTSTRING {in}{required} 
     9; TeX string to be converted.  Will not be modified.  old may be a string array. 
     10; 
     11; @keyword FONT 
     12; Set to 0 to use hardware font, -1 to use  
     13; vector.  Note that the only hardware font  
     14; supported is PostScript. 
     15; 
     16; @keyword TEX_SEQUENCES 
     17; return the available TeX sequences 
     18; 
     19; @keyword HELP 
     20; print out info on use of the function and exit. 
     21; 
     22; @restrictions 
    2623;       - Use the procedure SHOWTEX to get a list of the available TeX 
    2724;         control sequences.   
     
    3229;       - The FONT keyword overrides the font selected' 
    3330;         by !p.font' 
    34 ; EXAMPLE: 
     31; 
     32; @examples 
    3533;       out = TeXtoIDL('\Gamma^2 + 5N_{ed}') 
    3634;       The string out may be used in XYOUTS or other IDL text 
     
    3836;       exponent of 2, then a plus sign, then an N with the subscript 
    3937;       ed. 
    40 ; MODIFICATION HISTORY: 
    41 ;       $Id$ 
     38; 
     39; @history 
    4240;       $Log: textoidl.pro,v $ 
    4341;       Revision 1.7  2004/06/15 17:25:54  mcraig 
     
    6260;       Initial revision 
    6361; 
    64 ; RELEASE: 
    65 ;       $Name: Rel_2_1_2 $ 
    66 ; 
    67 ; COPYRIGHT: 
    6862;  Copyright (C) 1996 The Regents of the University of California, All 
    6963;  Rights Reserved.  Written by Matthew W. Craig. 
    7064;  See the file COPYRIGHT for restrictions on distrubting this code. 
    7165;  This code comes with absolutely NO warranty; see DISCLAIMER for details. 
     66; 
     67; @version 
     68; $Id$ 
    7269;- 
    7370; 
    74 FUNCTION Textoidl, InputString, $ 
     71FUNCTION textoidl, InputString, $ 
    7572                   FONT=fnt, $ 
    7673                   HELP=hlp, $ 
Note: See TracChangeset for help on using the changeset viewer.