Author Topic: \erf etc  (Read 13164 times)

Victor Ivrii

  • Administrator
  • Elder Member
  • *****
  • Posts: 2607
  • Karma: 0
    • View Profile
    • Personal website of Victor Ivrii
\erf etc
« on: October 21, 2016, 08:34:58 PM »
Definitely $erf$ should be printed upright, like $\sin$ and so on. Unfortunately LaTeX and standard packages do not know this command (macro) \erf. Neither does MathJax with standard extensions. But there is mechanism: I place* in the preamble of the LaTeX document
Code: [Select]
\newcommand{\erf}{\operatorname{erf}}and now I can use \erf. In Mathjax I place* on the page the same command, surrounded by dollar signs
Code: [Select]
$\newcommand{\erf}{\operatorname{erf}}$and again! $\newcommand{\erf}{\operatorname{erf}}$


$\erf\bigl(\frac{x}{\sqrt{4kt}}\bigr)$

*) Only once
« Last Edit: October 27, 2018, 12:55:28 PM by Victor Ivrii »