prefer plain subscript for identifiers;
authorwenzelm
Thu, 08 Aug 2013 17:24:31 +0200
changeset 52919 a2659fbb3b13
parent 52918 038458a4d11b
child 52920 4539e4a06339
prefer plain subscript for identifiers;
src/Doc/Tutorial/Documents/Documents.thy
--- a/src/Doc/Tutorial/Documents/Documents.thy	Thu Aug 08 17:04:02 2013 +0200
+++ b/src/Doc/Tutorial/Documents/Documents.thy	Thu Aug 08 17:24:31 2013 +0200
@@ -121,17 +121,16 @@
   @{text "\<alpha>"} (\verb+\+\verb+<alpha>+), @{text "\<beta>"}
   (\verb+\+\verb+<beta>+), etc. (excluding @{text "\<lambda>"}),
   special letters like @{text "\<A>"} (\verb+\+\verb+<A>+) and @{text
-  "\<AA>"} (\verb+\+\verb+<AA>+), and the control symbols
-  \verb+\+\verb+<^isub>+ and \verb+\+\verb+<^isup>+ for single letter
-  sub and super scripts. This means that the input
+  "\<AA>"} (\verb+\+\verb+<AA>+).  Moreover the control symbol
+  \verb+\+\verb+<^sub>+ may be used to subscript a single letter or digit
+  in the trailing part of an identifier. This means that the input
 
   \medskip
-  {\small\noindent \verb,\,\verb,<forall>\,\verb,<alpha>\<^isub>1.,~\verb,\,\verb,<alpha>\<^isub>1 = \,\verb,<Pi>\<^isup>\<A>,}
+  {\small\noindent \verb,\,\verb,<forall>\,\verb,<alpha>\<^isub>1.,~\verb,\,\verb,<alpha>\<^isub>1 = \,\verb,<Pi>\<^isub>\<A>,}
 
   \medskip
-  \noindent is recognized as the term @{term "\<forall>\<alpha>\<^isub>1. \<alpha>\<^isub>1 = \<Pi>\<^isup>\<A>"} 
-  by Isabelle. Note that @{text "\<Pi>\<^isup>\<A>"} is a single
-  syntactic entity, not an exponentiation.
+  \noindent is recognized as the term @{term "\<forall>\<alpha>\<^isub>1. \<alpha>\<^isub>1 = \<Pi>\<^isub>\<A>"} 
+  by Isabelle.
 
   Replacing our previous definition of @{text xor} by the
   following specifies an Isabelle symbol for the new operator: