Trevixal API
    Preparing search index...

    Function insertAtCaret

    • Put LaTeX in at the textarea's caret, over what is selected, and leave the caret in the first empty {} it brought, or after it.

      Parameters

      • area: HTMLTextAreaElement
      • latex: string

      Returns void