1

I want to add some logical rules in my paper

just to avoid confusion, I do not want to build rules

I want to display them in my paper

So I used equations terms

\begin{equation}
    $if word = “and” then remove word.$
    \label{Rule1}
\end{equation}

I want to see my paper something like this

if word = “and” then remove word. ................ (1)

How to do it?

Mico
  • 506,678
asmgx
  • 437

1 Answers1

2

A short term hack that will achieve the desired results is to use \text{}:

enter image description here

Note:

Code:

\documentclass{article}
\usepackage{amsmath}

\begin{document} \begin{equation} \text{if word} = \text{``and'' then remove word.} \label{Rule1} \end{equation} \end{document}

Peter Grill
  • 223,288