1

How do I write the equation

{x|A'x=b'}

in LaTeX and make it italic? I have tried following code:

 \textit{{$$x|$$A'x=b$'}}

but it did not work. The dollar signs are in wrong places.

Karlo
  • 3,257

1 Answers1

2

Don't try to manually create a math environment, by using \textit. For inline math use $ and use $$ or an environment for interline math. $\{x'\mid A'x=b'\}$

The curly braces have to be set by \{, since a single brace is a grouping token in LaTeX, so it will be ignored in the output.

Karlo
  • 3,257
manthano
  • 1,040
  • 6
  • 19
  • 4
    Please don't suggest to use $$ in conjunction with LaTeX. \[...\] is the correct form for LaTeX, not $$...$$ –  Mar 07 '16 at 13:54