Variable: org-html-equation-reference-format

org-html-equation-reference-format is a customizable variable defined in ox-html.el.gz.

Value

"\\eqref{%s}"

Documentation

The MathJax command to use when referencing equations.

This is a format control string that expects a single string argument specifying the label that is being referenced. The argument is generated automatically on export.

The default is to wrap equations in parentheses (using "\\eqref{%s})".

Most common values are:

  \eqref{%s} Wrap the equation in parentheses
  \ref{%s} Do not wrap the equation in parentheses

This variable was added, or its default value changed, in Org version
9.4.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; LaTeX

(defcustom org-html-equation-reference-format "\\eqref{%s}"
  "The MathJax command to use when referencing equations.

This is a format control string that expects a single string argument
specifying the label that is being referenced.  The argument is
generated automatically on export.

The default is to wrap equations in parentheses (using \"\\eqref{%s}\)\".

Most common values are:

  \\eqref{%s}    Wrap the equation in parentheses
  \\ref{%s}      Do not wrap the equation in parentheses"
  :group 'org-export-html
  :package-version '(Org . "9.4")
  :type 'string
  :safe #'stringp)