Math & Sciencebabel and amsmath

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Hamed
Posts: 4
Joined: Sat May 24, 2008 1:27 pm

babel and amsmath

Post by Hamed »

Hi,
When I latexed the example below I did not get "X" in the outcome of the file. Is there a solution for this?
Thanks a lot for the help.

Code: Select all

\documentclass{article}
\usepackage{amsmath,bm}
\usepackage[cp1256]{inputenc}
\usepackage[arabic,english]{babel} 
\begin{document} 

$\frac{d}{dt}[\bm{r}(t)\times\bm{s}(t)]=\bm{r}'(t)\times\bm{s}(t)+\bm{r}(t)\times\bm{s}'(t)$

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

babel and amsmath

Post by Stefan Kottwitz »

Hi Hamed,

you could store \times in your own macro and restore it after loading babel:

Code: Select all

\let\oldtimes\times
\usepackage[arabic,english]{babel}
\let\times\oldtimes
Stefan
LaTeX.org admin
Hamed
Posts: 4
Joined: Sat May 24, 2008 1:27 pm

Re: babel and amsmath

Post by Hamed »

Hi Stefan_K,
Thanks a lot, it did the job.
Post Reply