Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • Just in case the text and math fonts employed in the document have distinct looks, might it be preferable to use \textup instead of \mathrm to render "if", "then", and "else"? Commented May 12 at 14:27
  • Thank you for clarifying the use of minimal. Even if I understand that there is a difference between mathrm and operatorname, would you care to explain why mathrm is preferable here? Commented May 12 at 15:15
  • Regarding your rsep solution, I do not like to introduce additional commands if it's not absolutely necessary. wipet's solution solves the problem without additional commands, so I went with that. Commented May 12 at 15:19
  • @Mico, thanks for your suggestion, but in all document classes I use, I do not see any difference between \textup and \mathrm. Commented May 12 at 15:21
  • 1
    @MichaelF I think that you should type x=(\ite{a}{b}{c}) or the formula would be very ambiguous. If you want to adopt wipet's solution, remember that \rm has been deprecated in LaTeX for 30 years. Commented May 12 at 16:01