[Tugindia] equation- how to
CV Radhakrishnan
cvr at river-valley.com
Thu Oct 20 07:11:38 CEST 2005
On Thu, October 20, 2005 2:37 am, Sreejith Pulloor said:
> seems to be simple but didnt have any success
>
> i want to have two equations aligned (without numbes) inside a left
> bracket "{ "
> i tried like following (please understand i dont have much experience
> using latex... so might be wierd way--)
>
> \left\{
> \begin{array}{l}
[...]
> \right.
> it didnt work..
The best way would be to try the following:
$$\left\{
\begin{array}{lcl}
\mu (\nabla u , \nabla v) &=& (f,v)\\
(\nabla \cdot{u},q) &=& 0
\end{array}
\right.$$
Alternatively, insert '\usepackage{amsmath}' in the preamble and then:
$$
\begin{cases}
\mu (\nabla u , \nabla v)& = (f,v)\\
(\nabla \cdot{u},q)&= 0
\end{cases}
$$
In cases environment, you need not enter any braces, it will be
automatically added.
> and i also have some questions on how to interpret some of the error
> messages.
> for example when i tried the above tex thrown some error message like
> following:
>
> ! Missing $ inserted.
Since \left, \right, \mu etc will work only math mode, math shift
character '$' is needed before you use these commands. So, TeX says that
a '$' (in other words math shift character) is missing.
--
Radhakrishnan
More information about the tugindia
mailing list