Skip to main content

Show latex formula of calclation

Project description

  .oooooo.             oooo            ooooooooooooo           ooooooo  ooooo 
 d8P'  `Y8b            `888            8'   888   `8            `8888    d8'  
888           .oooo.    888   .ooooo.       888       .ooooo.     Y888..8P    
888          `P  )88b   888  d88' `"Y8      888      d88' `88b     `8888'     
888           .oP"888   888  888            888      888ooo888    .8PY888.    
`88b    ooo  d8(  888   888  888   .o8      888      888    .o   d8'  `888b   
 `Y8bood8P'  `Y888""8o o888o `Y8bod8P'     o888o     `Y8bod8P' o888o  o88888o 


lambda_ = Calc([Value(300, m), Value(400, m)])
# [300, 400]*m
300 * m
f = Calc([Value(170, Hz), Value(340, Hz)])

v = f * lambda_  # Calc
print(v.tex(['v_1', 'v_2'])[0])  # 'v_1 = ...'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for calctex, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size calctex-0.0.5-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page