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.

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.

  • 4
    Please don't suggest to use $$ in conjunction with LaTeX. \[...\] is the correct form for LaTeX, not $$...$$ – user31729 Mar 7 '16 at 13:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.