I have (well, had) \everymath{\displaystyle}.
I have a long line that I do not want to put on its own line
Given the relation $R$ on $A=\set{1,2,3,4,5,6,7,8}$ defined by $R=\set{(1,1),(1,2),(1,4),(1,8),(2,2),(2,4),(2,8),(3,3),(3,6),(4,4),(4,8),(5,5),(6,6),(7,7),(8,8)}$, determine whether it is
(a) etc....
The relation R is too long to fit on a line and prints right through the margin and on thin air.
I have tried inserting a \\.
I have tried turning off the \everymath command.
I have tried \textstyle{R={...}}.
I've also tried replace \set with \{ and \}.
But nothing seems to make it break.
MWE
\documentclass[fleqn,addpoints,answers]{exam} \usepackage{amsfonts,amsmath,amssymb,amsthm,mathtools,commath} %\everymath{\displaystyle} \setlength{\parindent}{0pt} \setlength{\parskip}{\baselineskip} \begin{document} Given the relation $R$ on $A=\set{1,2,3,4,5,6,7,8}$ defined by $\textstyle{R=\set{(1,1),(1,2),(1,4),(1,8),(2,2),(2,4), \\ (2,8),(3,3),(3,6),(4,4),(4,8),(5,5),(6,6),(7,7),(8,8)}}$, determine whether it is \begin{enumerate} \item Reflexive \item Antisymmetric \item Transitive \item A partial ordering on $A$ \end{enumerate} \end{document}