namespace rivet::util

rivet::util

Functions

Name
defcheck_python_version(req_version req_version =(2, 6, 0))
defset_process_name(name name)
defimport_ET()
defhtmlify(s s, para para =False)
deftexify(s s)
deftexpand(s s)
defdetex(tex tex)

Functions Documentation

function check_python_version

def check_python_version(
    req_version req_version =(2, 6, 0)
)

function set_process_name

def set_process_name(
    name name
)

function import_ET

def import_ET()

function htmlify

def htmlify(
    s s,
    para para =False
)
Modify LaTeX text strings from analysis metadata for inclusion
in MathJax-enabled web page source code.```


### function texify

```python
def texify(
    s s
)

function texpand

def texpand(
    s s
)

function detex

def detex(
    tex tex
)
Use pandoc (if available) to modify LaTeX text strings from
analysis metadata for use as plain text, e.g. as printed to the terminal.

The argument can either be a string or an iterable of strings.

TODO: Replace \gamma, \mu, \tau, \\Upsilon, \rho, \psi, \pi, \eta, \Delta, \Omega, \omega -> no-\ form?
TODO: Replace e^+- -> e+-?

Updated on 2022-08-07 at 20:46:08 +0100