diff docs/lexer-algpseudocode.rst @ 281:ee512932d603

Make "\T" and "\E" aliases for "\TEXT" and "\EXPRESSION"
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 20 May 2026 17:23:41 +0200
parents 315e94bac8a7
children 1683a10eabb2
line wrap: on
line diff
--- a/docs/lexer-algpseudocode.rst	Wed May 20 12:54:06 2026 +0200
+++ b/docs/lexer-algpseudocode.rst	Wed May 20 17:23:41 2026 +0200
@@ -61,7 +61,7 @@
     triple-double-quote, `Python`_ style)
   - Numbers (also `Python`_ style)
   - (Mathematical) operators and symbols
-  - ``\TEXT{...}``
+  - ``\TEXT{...}`` or ``\T{...}``
 
     Used to switch to a text-mode that prohibits automatic expression
     highlighting.
@@ -69,7 +69,7 @@
     A closing curly brace can be quoted with ``\}`` to not end the
     text mode prematurely.
 
-  - ``\EXPR`` or ``\EXPRESSION`` as nested construct
+  - ``\EXPR``, ``\EXPRESSION`` or ``\E`` as nested construct
 
   - ``\NAME``, ``\CALL`` and ``\GETS``
 
@@ -85,14 +85,14 @@
 
   In `text` context it recognizes:
 
-  - ``\EXPR`` or ``\EXPRESSION``
+  - ``\EXPRESSION``, ``\EXPR`` or ``\E``
 
     Use to switch to expression-mode.
 
     A closing curly brace can be quoted with ``\}`` to not end the expression
     mode prematurely.
 
-  - ``\TEXT`` as nested construct
+  - ``\TEXT`` (aka ``\T``) as nested construct
 
   - ``\REM`` and ``\REMARK`` for remarks (aka comments)