skued.indices_to_text
- skued.indices_to_text(h, k, l)
Returns a Matplotlib-compatible string representation of Miller indices, in LaTeX/Mathjax format.
New in version 2.0.2.
- Parameters:
- Returns:
s – Matplotlib-compatible representation
- Return type:
string
Examples
>>> from skued import indices_to_text >>> indices_to_text(1,0,0) '(100)' >>> indices_to_text(2,-1,1) '(2$\bar{1}$1)'