(num)
| 28 | return label |
| 29 | |
| 30 | def _latex_ENG(num): |
| 31 | if ini.scalefactors or ini.eng_notation: |
| 32 | num, exp = ENG(num, scaleFactors=ini.scalefactors) |
| 33 | num = roundN(num) |
| 34 | if exp != None: |
| 35 | if ini.scalefactors: |
| 36 | num = str(num) + '\\, \\mathrm{' + str(exp) + '}' |
| 37 | else: |
| 38 | num = str(num) + '\\cdot 10^{' + str(exp) + '}' |
| 39 | else: |
| 40 | num = sp.latex(num) |
| 41 | else: |
| 42 | num = sp.latex(roundN(num)) |
| 43 | return num |
| 44 | |
| 45 | def printHTMLinfo(): |
| 46 | """ |
no test coverage detected