# D - FORMATACAO-LATEX

## 1076 days ago by jmarcellopereira

LATEX

f = x*exp(x)/sin(x)

Colocando o codigo Latex :

$\frac{x e^{x}}{\sin\left(x\right)}$

Alterando para o centro:

$\left{\frac{x e^{x}}{\sin\left(x\right)}}$

f = x (f.integrate(x,0,1))
 \newcommand{\Bold}[1]{\mathbf{#1}}\frac{1}{2}
print(latex(f.integrate(x,0,1)))
 \text{\texttt{f.integrate(x,0,1)}} \text{\texttt{f.integrate(x,0,1)}}

Colocando o codigo Latex :

$\frac{x e^{x}}{\sin\left(x\right)}$

Alterando para o centro:

$\left{\frac{x e^{x}}{\sin\left(x\right)}}$

print(latex(integral(x^2)))
 /home/jmarcellopereira/SageMath/local/lib/python2.7/site-packages/sage/s\ ymbolic/integration/integral.py:755: DeprecationWarning: Variable of integration should be specified explicitly. See http://trac.sagemath.org/12438 for details. expression, v, a, b = _normalize_integral_input(expression, v, a, b) \frac{1}{3} \, x^{3} /home/jmarcellopereira/SageMath/local/lib/python2.7/site-packages/sage/symbolic/integration/integral.py:755: DeprecationWarning: Variable of integration should be specified explicitly. See http://trac.sagemath.org/12438 for details. expression, v, a, b = _normalize_integral_input(expression, v, a, b) \frac{1}{3} \, x^{3}
f = integral(x^2) f
 \newcommand{\Bold}[1]{\mathbf{#1}}\frac{1}{3} \, x^{3}