topsub_sup_idl
Text, String
Return value
Either '!U' or !E' for superscripts, or '!D' or '!I' for subscripts.
Parameters
token
Keywords
FORCE_UD
Examples
Version history
Version
$Id: translate_sub_super.pro 327 2007-12-13 16:22:35Z pinsard $
History
$Log: translate_sub_super.pro,v $
Revision 1.5 2000/06/14 19:09:22 mcraig
Changed name of strtok str_token to avoid conflict in IDL 5.3.
Revision 1.4 1996/06/14 20:00:27 mcraig
Updated Copyright info.
Revision 1.3 1996/05/09 00:22:17 mcraig
Changed some function calls to reflect changes in those functions, moved
some code out of the main loop that didn't need to be there, added
documentation.
Revision 1.1 1996/01/31 18:47:37 mcraig
Initial revision
Copyright (C) 1996 The Regents of the University of California, All
Rights Reserved. Written by Matthew W. Craig.
See the file COPYRIGHT for restrictions on distrubting this code.
This code comes with absolutely NO warranty; see DISCLAIMER for details.
Known issues
Restrictions
Make sure sub_sup_idl stays before translate_sub_super. At least
for now, when IDL encounters a function and automatically compiles
it, it only compiles the functions in the file up to the named
function. So even if sub_sup_idl was declared with
FORWARD_FUNCTION in translate_sub_super, it would not properly
compile.
The file translate_sub_super.pro contains two functions,
translate_sub_super, and sub_sup_idl. The former is the
generic routine for processing TeX sub/superscripts, the
latter is used only by translate_sub_super and has no general
utility. Hence it lives here. You will see documentation for
translate_sub_super second if you use DOC_LIBRARY.
Used only by translate_sub_super. Should be kept in same
file.
Other attributes
Uses routines
Statistics
McCabe cyclic | 7 |
McCabe essential | 1 |
McCabe modular design | 1 |