[Bug 11508] suboptimal CDATA example

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11508

--- Comment #3 from David Carlisle <davidc@nag.co.uk> 2010-12-20 11:44:01 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > I'd welcome a better example; if you or somebody else can provide a complete
> > one I will replace the current one with that instead
> 
> 
> I'll supply something. I am supposed to know a bit of latex:-)

Surprisingly hard to find a small sensible example that uses both & and <
Perhaps this definition of abs(x) which has 2 & and a < 


\documentclass{article}
\usepackage{amsmath}
\begin{document}
The absolute value of $x$:
\[
\left|x\right|= \begin{cases}-x& \text{if $x<0$}\\
                              x& \text{otherwise}\end{cases}
\]
\end{document}

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 20 December 2010 11:44:04 UTC