Skip to content

Commit

Permalink
Merge pull request #313 from desmosinc/tim/document-speech-alternative
Browse files Browse the repository at this point in the history
Add documentation for speech alternatives
  • Loading branch information
timstallmann authored Nov 12, 2024
2 parents 40f5efc + 256a154 commit c508d3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Config.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ This defaults to the LaTeX built-in operator names ([Section 3.17 of the Short M

Just like [`autoCommands`](#autocommands) above, this takes a string formatted as a space-delimited list of LaTeX commands.

autoOperatorNames can also accept a speech-friendly alternative for each operator name. This will get read out by screenreaders in place of the raw command. To specify a speech-friendly-alternative, add a `|` character after the command, and then add the speech-friendly-alternative as a string, with spaces replaced by `-`. E.g. `stdev|standard-deviation`.

## infixOperatorNames

`infixOperatorNames` specifies a set of operator names that should be treated as infix operators, for example for determining when to stop scanning left before a fraction.
Expand Down

0 comments on commit c508d3b

Please sign in to comment.