I'm trying to render maths like this.
Code: Select all
$\text{SPRT}{}_{j=1\sim4}=\sum\limits_{s=i}^{k}\ln\left(\frac{\fint_{j}\left(\chi_{s}\right)}{\fint_{0}\left(\chi_{s}\right)}\right)$
Code: Select all
! Undefined control sequence.

Code: Select all
$\text{SPRT}{}_{j=1\sim4}=\sum\limits_{s=i}^{k}\ln\left(\frac{\fint_{j}\left(\chi_{s}\right)}{\fint_{0}\left(\chi_{s}\right)}\right)$
Code: Select all
! Undefined control sequence.
NEW: TikZ book now 40% off at Amazon.com for a short time.
Without aunknown wrote:Hi, I'm trying to render maths as
$\text{SPRT}{}_{j=1\sim4}=\sum\limits_{s=i}^{k}\ln\left(\frac{\fint_{j}\left(\chi_{s}\right)}{\fint_{0}\left(\chi_{s}\right)}\right)$
and I cannot find the error. Compilation problem is: ! Undefined control sequence. Please help!
\fint
for example... all the other ones are defined if you load amsmath.Code: Select all
\documentclass{article}
\usepackage{amsmath}
% no idea what \fint should be. I'm defining it to be `f':
\newcommand\fint{f}
\begin{document}
\[
\text{SPRT}{}_{j=1\sim4}
=
\sum\limits_{s=i}^{k}\ln\left(
\frac
{\fint_{j}\left(\chi_{s}\right)}
{\fint_{0}\left(\chi_{s}\right)}
\right)
\]
\end{document}
\fint
is the answer. Everything works now. I really do not know where I found that \fint
.Perhaps in »The Comprehensive LaTeX Symbol List«.unknown wrote:[…] I really do not know where I found that\fint
.
NEW: TikZ book now 40% off at Amazon.com for a short time.