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.
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.
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.
$$ in conjunction with LaTeX. \[...\] is the correct form for LaTeX, not $$...$$
–
Mar 07 '16 at 13:54
\[ \{x \mid A'x=b'\} \]or similar. – Will Robertson Mar 07 '16 at 13:06$$in LaTeX documents, see the postings Why is\[ … \]preferable to$$ … $$? and What are the differences between$$,\[,align,equationanddisplaymath? – Mico Mar 07 '16 at 14:26