I am trying to write a logic equation with symbols and when I use \equiv everything afterwards is italics and does not allow spacing, even if I go to a new line.
Example:
p \to q \equiv \lnot q \to \lnot p
Output:
p → q ≡ ¬q→¬p
I have attempted to put the \equiv between $ but that also didn't work.
Also if I try to type on the next line it doesn't go to the next line, the only way I can go to the next line is by using \\ and even when I do that the next line is still italicized and there are no spaces.
I am new to LaTeX and stackexchange but can someone please help me out?
Thanks
$p \to q \equiv \lnot q \to \lnot p$. – Werner Jan 17 '19 at 06:08