Previous: symrt Up: ../plot79_s.html Next: symsf


SYMSCR

       SUBROUTINE  SYMSCR (SUBTXT,LENSUB,SUPTXT,LENSUP)
 C$    (Subscript/Superscript Strings)
 C$    Define the strings used to flag the beginning of  subscript
 C$    and  superscript  sequences  in  character  strings  to  be
 C$    subsequently  plotted.   If   the  character  following   a
 C$    subscript  or  superscript  flag  string  is  not  an  open
 C$    parenthesis, open angle  bracket, open  square bracket,  or
 C$    open  brace,   it   represents  a   single   subscript   or
 C$    superscript.  Otherwise,  the  text following  the  opening
 C$    parenthesis (bracket, brace) up to the character  preceding
 C$    the next matching closing  parenthesis (bracket, brace)  is
 C$    the  subscript  or  superscript.   The  open  and   closing
 C$    delimiters must be of the same type, so that an open  angle
 C$    bracket is matched  only by  a close  angle bracket.   This
 C$    flexibility can make complicated subscript and  superscript
 C$    expressions easier to  read, and also  allows an  unmatched
 C$    parenthesis,  bracket,   or   brace  to   appear   in   the
 C$    subscript/superscript text.
 C$
 C$    SUBTXT(*)......1 to 5 (packed) character subscript flag.
 C$    LENSUB.........Number of characters in SUBTXT(*).
 C$    SUPTXT(*)......1 to 5 (packed) character superscript flag.
 C$    LENSUP.........Number of characters in SUPTXT(*).
 C$
 C$    If more than 5 characters are provided for either, only the
 C$    first 5 will be used.  Letter case is ignored.
 C$
 C$    Recommended sequences are "//" or "SUB" for subscripts, and
 C$    "**" or "SUP" for superscripts.  The default established at
 C$    CORE initialization is for both strings to be empty.
 C$
 C$    Nested subscripts/superscripts are allowed up to a  maximum
 C$    depth of 5; strings which exceed this depth will be plotted
 C$    with  the  subscript/superscript  sequences  appearing   as
 C$    ordinary text.
 C$    (29-JUN-82)