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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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
.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis