> if I write
>
> .. math::
>    a = b
>
> and
>
> .. math::
>    b = c
>
> I get this:
>
>                                 a=b
>
> and
>
>                                 b=c
>
> but if I write:
>
> .. math::
>    :nowrap:
>
>    $a = b$
>
> and
>
> .. math::
>    :nowrap:
>
>    $b = c$
>
> I get:
>
> a=b and b=c
>
>
> Thank you for your attention
>
> --
>
> Daniele

It's because the math directive doesn't wrap the text in $.

.. math::
   a = b

is roughly equivalent to

.. math::
   :nowrap:

   \begin{gather}
   \begin{split}a = b\end{split}\notag\\\begin{split}\end{split}\notag
   \end{gather}


-- 
Jonathan Waltman

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to