KTUGFaq
KTUG FAQ
You like to form new friendships and make new acquaintances.
FrontPage › SymPy
SymPy´Â Mathematic³ª Maple¿¡¼ ÇϵíÀÌ ½Éº¼ °è»êÀ» Áö¿øÇÏ´Â Python ¸ðµâÀÌ´Ù.
ÀÌ ¸ðµâÀÇ Printing ±â´ÉÀ» ÀÌ¿ëÇϸé LaTeX ¾ç½ÄÀÇ ¼öÇÐ½Ä Ãâ·Â¹°À» ¾òÀ» ¼ö ÀÖ´Ù.
SymPy ȨÆäÀÌÁö
SymPy ¹®¼
SymPy À§Å°ÆäÀÌÁö
Python ¿¹Á¦: latexdemo.py
from sympy import Integral, latex from sympy.abc import x print( latex(x**2) ) print( latex(1/x) ) print( latex(Integral(x**2, x)) )
½ÇÇà °á°ú:
${x}^{2}$ $\frac{1}{x}$ $\int {x}^{2}\,dx$